home / mcp / rpg maker mz mcp server
MCP server for RPG Maker MZ - Create complete RPG games using MCP tools only
Configuration
View docs{
"mcpServers": {
"shunsukehayashi-rpgmaker-mz-mcp": {
"command": "node",
"args": [
"/path/to/rpgmaker-mz-mcp/dist/index.js"
],
"env": {
"GEMINI_API_KEY": "your-gemini-api-key-here"
}
}
}
}You can build complete RPG Maker MZ games entirely with MCP tools, using code and AI agents to generate worlds, scenes, and assets without manual GUI work. This server provides end-to-end automation for project creation, map and event design, database editing, AI-generated art, and fully scripted scenarios, enabling rapid prototyping and production-ready RPGs.
You interact with the MCP server through a client that connects to the MCP endpoint you configure. Your workflow centers on sending commands that create projects, design maps and events, edit data, generate assets, and assemble complete RPG experiences. You can start from a concept, trigger autonomous creation, and then refine or re-run variations as needed. Use the available tools to script your game pipeline and integrate AI-generated content directly into your RPG Maker MZ project.
Key usage patterns include creating a new game project, building maps, adding events and NPCs, injecting dialogue, generating actors and items, producing AI-assisted art, and automating scenario generation. You can also analyze project structure, extract design patterns, and generate context documentation to keep your workflow organized. All steps are designed to work programmatically, allowing you to drive development from scripts or MCP-enabled clients.
Prerequisites you need before running the MCP server are Node.js version 18 or higher and a package manager such as npm or yarn. If you plan to generate AI images, you also need a Gemini API key.
Install and build the MCP server with these commands in sequence.
# Clone the project repository
git clone https://github.com/ShunsukeHayashi/rpgmaker-mz-mcp.git
cd rpgmaker-mz-mcp
# Install dependencies
npm install
# Build the project
npm run buildConfigure your MCP client to connect to the server using a local stdio setup. The following configuration runs the server locally via Node and points to the built entry script. If you plan to use AI image generation, include your Gemini API key in the environment.
{
"mcpServers": {
"rpgmaker-mz": {
"command": "node",
"args": ["/path/to/rpgmaker-mz-mcp/dist/index.js"],
"env": {
"GEMINI_API_KEY": "your-gemini-api-key-here"
}
}
}
}If you enable AI image generation, you must provide the Gemini API key as an environment variable. This key is used to generate character sprites, face graphics, tiles, and other assets.
export GEMINI_API_KEY="your-api-key"Create a new RPG Maker MZ project at a specified path with a given title.
List all MCP-managed projects.
Read detailed information about a specific project.
Create a contextual document describing a project, including maps, events, and plugins.
Analyze the project layout to aid planning and refactoring.
Extract common design patterns from the project for reuse.
Create a new map within a project with specified dimensions and name.
List all maps in a project.
Read data for a specific map.
Update a tile on a map.
Add a new event to a map.
Add a command to an existing event.
Add a new actor to the database.
Add a new class for actors.
Add a skill to the game database.
Add an item to the game database.
Update all data in the game database.
Generate a single AI-based asset using Gemini 2.5 Flash.
Generate multiple assets in a batch process.
Analyze an existing asset and describe its features.
Automatically generate a complete RPG from a concept (8 steps end-to-end).
Generate a full RPG scenario using Gemini AI.
Implement a generated scenario into the project.
Generate a scenario and implement it in one step.
Create multiple scenario variations for comparison.
List available plugins for the project.