Set up RPGM MCP Pro with Claude Code or Cursor

Updated 2026-11-28 · RPGM MCP Pro 1.1.0

RPGM MCP Pro is a Node.js MCP server. Your AI client starts it, and it reads and writes your RPG Maker MV or MZ project. An optional debug plugin lets the AI drive the game during test play. This guide connects Claude Code, Cursor or Claude Desktop and takes about five minutes.

Requirements

1. Unzip the download

Unzip rpgmaker-mcp-pro-v1.1.0.zip to a permanent place, for example C:\tools\rpgmaker-mcp-pro. The AI client runs the server from there, so do not leave it in Downloads.

rpgmaker-mcp-pro/
  dist/            the MCP server (dist/index.js)
  node_modules/    dependencies, already installed
  CLAUDE.md        RPG Maker reference for the AI
  README.md  CHANGELOG.md  LICENSE  package.json

Dependencies are included, so there is no npm install step. To check that Node.js can start it:

node C:/tools/rpgmaker-mcp-pro/dist/index.js

It prints RPG Maker MCP Pro started (165 tools, 13 categories) and waits for a client. Stop it with Ctrl+C; from now on your AI client starts it.

2a. Connect Claude Code

Use the absolute path of dist/index.js. Forward slashes work on Windows too.

claude mcp add rpgmaker -- node C:/tools/rpgmaker-mcp-pro/dist/index.js

Start a new Claude Code session and run /mcp; rpgmaker should be listed as connected.

2b. Connect Cursor, Claude Desktop and others

Claude Desktop (claude_desktop_config.json), Cursor (~/.cursor/mcp.json or .cursor/mcp.json in a project), Windsurf, Cline and other clients with the same format:

{
  "mcpServers": {
    "rpgmaker": {
      "command": "node",
      "args": ["C:/tools/rpgmaker-mcp-pro/dist/index.js"]
    }
  }
}

Restart the client after editing its config.

3. Load your project

Every session starts with project_load. Give it the folder that contains data/ and js/:

Load my RPG Maker project at D:/games/MyRPG with project_load, then call project_info.

You get the engine (MV or MZ), the game title and counts of maps, events and database entries. Before larger changes, ask for project_backup, which copies the data folder. Every write is also journaled, so journal_undo can revert recent AI edits.

If the RPG Maker editor is open, it will ask to reload when the AI changes data files. Save your own edits in the editor first, and reload when asked, so neither side overwrites the other.

4. Give the AI the RPG Maker reference

The download includes CLAUDE.md: tile ID ranges, layer rules, event command codes, MV/MZ differences and tool tips. Claude Code reads the CLAUDE.md of the folder it starts in, so copy the file into the folder where you run Claude Code (for example your game project) or merge it into the CLAUDE.md you already have there. With other clients, add it to the project rules or attach it when you start.

5. Set up AI test play

Editing needs nothing more. For screenshots, input, teleport, battles and save files, the AI talks to the running game through the MCP_Debug plugin:

  1. Ask the AI to run testplay_inject_debug_plugin. It writes js/plugins/MCP_Debug.js and adds it to the plugin list.
  2. In RPG Maker, open the Plugin Manager and make sure MCP_Debug is ON (first time only). Do this before starting test play; the editor can rewrite plugins.js when it has focus.
  3. Start test play. MZ: Ctrl+R in the editor. MV: Ctrl+R or F5, or ask the AI to run testplay_start, which launches Game.exe in test mode.
  4. Ask: "Call game_get_state and take a game_screenshot."

The plugin only starts its server in test mode and listens on 127.0.0.1 port 8090 (set RPGMAKER_DEBUG_PORT in the server's environment to change it), so a deployed game is not affected. testplay_remove_debug_plugin removes it completely.

6. First prompts

Show me map_connections for the whole project and explain the world structure.
Show the layout of Map 3 with map_get_layout and render it with map_render.
Run logic_check and tell me which findings look like real bugs.

Next: make maps and events from a prompt.

Updating and uninstalling

To update, replace the rpgmaker-mcp-pro folder with the new version at the same path and restart your AI client. If the debug plugin changed (see the changelog), run testplay_inject_debug_plugin again.

To uninstall, run testplay_remove_debug_plugin on each project that has it, remove the server from your client (claude mcp remove rpgmaker), and delete the folder. The .mcp-journal folder in a project can be deleted once you no longer need undo.

Troubleshooting

SymptomFix
The client shows the server as failedCheck the path to dist/index.js and that node --version is 18 or later. Run the node .../dist/index.js command by hand to see the error.
Tools say no project is loadedCall project_load first in every new session, with the folder that contains data/.
game_* tools cannot connectThe game is not running in test mode, or MCP_Debug is OFF in the Plugin Manager. Enable it, save the project, and start test play again.
Port 8090 is already in useSet RPGMAKER_DEBUG_PORT for the server and inject the plugin again with the same port.
testplay_start fails on an MZ projectExpected: MZ projects have no Game.exe. Start test play in the editor (Ctrl+R); the AI connects to it.
The editor shows old dataReload the project when the editor asks, or close and reopen it.
The AI's change is gone after saving in the editorThe editor saved its older copy over it. Use journal_list / journal_undo to see and restore, and reload before saving next time.

Questions: Discord.

Get RPGM MCP Pro
$5 once on itch.io, free updates.

itch.io · $5

More guides