SuperAPI AI Directory

RpgMakerMVUltimate-MCP

Offline RPG Maker MV assistant: generate maps, edit the database and events, validate broken references, debug events and search a project semantically.

Open website

About this tool

RPG Maker MV Copilot MCP is a Model Context Protocol server that enables AI agents to inspect and edit real RPG Maker MV projects on disk, completing map generation, database and event editing, broken-reference lookup, and repeatable playtesting through 18 integrated tools. It mainly solves three things that are usually missing: offline intelligent project analysis, semantic map generation, and real-time bridge debugging linked to the actual engine.

Purpose: For RPG Maker MV developers, it helps AI agents locate why events do not trigger, verify the effect of fixes, build event logic, and playtest in the real engine. It is suitable for Claude Desktop, Claude Code, opencode, and any MCP-compatible client.

Main capabilities:

  • Map generation: Provides two paths through generate_map. The knowledge-driven path clones real maps for themes with matching templates such as town, village, dungeon, interior, castle, world, etc.; themes without templates (beach, swamp, desert, etc.) fall back to Perlin terrain, BSP dungeons, and cellular caves; combat themes automatically assemble random encounters from existing enemy troops, and towns and villages automatically create enterable house interiors and two-way transfers. It also supports modes such as blank, themed, template, batch, and duplicate. The semantic path, which is independent of tilesets, first mines the semantic layout and tileset configuration of existing maps, then generates according to a graph structure of "entrance -> key -> locked door -> treasure -> Boss -> exit," guaranteeing solvability by construction.
  • Real-time bridge: Provides Telemetry (exception stacks, console.error/warn, scene transitions, player position, currently executing event commands, FPS, and heap memory), Hot reload (reload_map rereads the current map and rebuilds the scene without losing party state; reload_database rereads a single data file, while System.json and Tilesets.json require a new playtest and are rejected), Screenshots (take_screenshot saves timestamped PNGs to .mcp-cache/screenshots/), Video evidence (record_video records the game canvassilent WebM).
  • Project intelligence: analyze_project is read-only and fully offline, and can discover broken transfer links, missing map files, dangling common event/item/enemy troop references, duplicate IDs, named but unused switches and variables, incorrect starting positions, unreachable maps, and \N[id] writes in dialogue that do not resolve. It also provides reachability flood fill, dead space, shape skeleton graph analysis, diversity (Shannon entropy of 5×5 tile windows), tension analysis, and balance off-by-one comparisons for skills, weapons, armor, and enemies (damage formulas are parsed but not executed).
  • Offline map inspection: query_map supports an ascii view that renders a character grid with event markers, and a validate view that checks for invalid tile IDs, broken transfer links, and missing event terminators.

Usage: Node.js 20.19.0 or newer is required, close the MV editor before editing project files, and work on a copy of the project first. No cloning is needed; an executable is included in the package, so add it to your MCP client; point RPGMAKER_PROJECT_PATH at the folder containing data/, js/, and index.html, or call set_project_path at runtime. After adding or upgrading the server, restart the client, because MCP clients only load tool definitions at startup. For the Codex CLI, you can use codex mcp add rpgmaker --env RPGMAKER_PROJECT_PATH=C:/path/to/project -- npx -y rpgmaker-mv-mcp; Windows clients that cannot start npx can use cmd with the arguments ["/c", "npx", "-y", "rpgmaker-mv-mcp"].

Use cases: debugging events that do not trigger, verifying map solvability, batch-generating levels with quests, checking project reference integrity, reviewing numerical balance, semantically searching project content, and QA playtesting that needs reproducible evidence.

Limitations: the bridge only supports Windows/NW.js playtesting, and requires installing a plugin in the project; semantic mode currently generates dungeon shape quests, while town and open-world quest syntax is still planned; decorative semantics are best-effort under RTP template paths, and rare multi-tile objects may fall back to a single tile; town and dungeon layouts are still being improved; balance compares within the same category, and Bosses will appear asoutliers relative to random encounters, so read the flags rather than the conclusions; visual AI requires your own OpenAI-compatible endpoint, and nothing is uploaded if it is not configured; the server binds only to 127.0.0.1, rejects upgrade requests with a browser Origin, and requires a session token within 5 seconds; the command surface is a fixed allowlist, with no arbitrary script or eval commands; writes are atomic, with timestamped backups in .mcp-backups/ (10 kept by default, controlled by RPGMV_BACKUP_KEEP), and support dryRun previews; the editor does not respect MCP locks, and multi-file operations are not transactions. Deployed player double-click builds do not reach the socket code. MIT licensed, built specifically for RPG Maker MV.