Skip to main content
Glama

RPG Maker XP MCP Server

Build RPG Maker XP games by describing what you want.

"Make a healing potion that restores 200 HP and costs 150 gold." "Create a 40×30 forest map with a pond in the north-east, then show it to me." "Find every NPC on map 3 whose dialogue mentions the king."

This is an MCP server that reads and writes an RPG Maker XP project's .rxdata files directly — actors, skills, items, maps, events, scripts and system data — and renders map previews to PNG so you can see what was built without opening the editor.

It talks to XP's native Ruby 1.8 Marshal format. Nothing is exported, converted, or kept in a side file: it edits your real project, and the editor opens the result normally.


⚠️ Read this before your first run

1. Close the RPG Maker XP editor while the server is running. The editor holds all data files in memory and rewrites every one of them when you save. If it is open, it will overwrite anything this server changed. This is the single most common way to lose work.

2. Back up your project first. Copy the whole Data/ folder somewhere safe. Do this even though the server takes its own backups, because:

3. The automatic backup is not version history. Before its first write to a file in a session, the server copies the original to Data/.mcp-backup/. That is one .bak per file per session — the next session overwrites it. It protects you from the last thing you did, not from something you broke a week ago. If your project matters, put it in git.

4. Test your game after changes. A file can be structurally valid and still be wrong for your game.


Related MCP server: DMCP

What is MCP?

The Model Context Protocol is a standard way for AI assistants to use external tools. This server is not a chat program and has no interface of its own — it is a backend that an MCP client connects to.

You need one of those clients. Common choices:

  • Claude Code — terminal-based

  • Claude Desktop — desktop app

  • Open WebUI, Cursor, Windsurf, or any other MCP-capable client — including local models through Ollama (see below)

If you have never used an MCP client, start with Claude Desktop; the Configuration section has a copy-paste config.


Requirements

Node.js

18 or newer

An MCP client

Claude Desktop, Claude Code, or any MCP-capable app

An RPG Maker XP project

a folder containing Game.rxproj and Data/

RPG Maker XP itself

required if your project uses RTP assets

The RTP (the default tiles, autotiles, character sprites and audio) is read from your own installation at runtime. This project does not bundle or redistribute any Enterbrain assets.

Does it work with Pokémon Essentials?

Structurally, yes — Essentials games are RPG Maker XP projects, and every tool here operates on standard .rxdata. Two honest caveats: Essentials layers its own conventions on top of the engine (its own data files, a very large Scripts.rxdata, PBS text files) which this server knows nothing about, and its projects are big enough that you should be especially sure about backup point 2 above. Reading, map work and database edits behave normally.


Installation

The published package ships prebuilt, so there is no build step. Most clients can launch it on demand with npx.

npm install -g rpgmaker-xp-mcp
git clone https://github.com/SerifeusStudio/rpgmaker-xp-mcp.git
cd rpgmaker-xp-mcp
npm install
npm run build

Then use node with the path to dist/index.js as the command in the configs below.


Configuration

Point the server at your project with RPGMAKER_PROJECT_PATH — the folder containing Game.rxproj and Data/. If your RTP lives somewhere unusual, also set RPGMAKER_RTP_PATH; it defaults to the Steam RPG Maker XP install.

Claude Code

claude mcp add --scope user rpgmaker-xp \
  --env "RPGMAKER_PROJECT_PATH=C:\path\to\your\project" \
  -- npx -y rpgmaker-xp-mcp

Claude Desktop

%APPDATA%\Claude\claude_desktop_config.json:

{
  "mcpServers": {
    "rpgmaker-xp": {
      "command": "npx",
      "args": ["-y", "rpgmaker-xp-mcp"],
      "env": {
        "RPGMAKER_PROJECT_PATH": "C:/path/to/your/xp/project"
      }
    }
  }
}

Restart the client, then check it connected by asking for something read-only:

"List the actors in my project."

If you get names back, you are set up. See SETUP.md for troubleshooting.

Using a local model via Ollama

The server speaks standard MCP over stdio, so it works with any MCP client, not only Claude. Ollama has no MCP client of its own yet, so a local model reaches it through a bridge.

Open WebUI has native MCP support via mcpo, an OpenAPI proxy. Save the same mcpServers block as mcpo.json, then:

uvx mcpo --port 8000 --config mcpo.json

Register http://localhost:8000/rpgmaker-xp in Open WebUI as a tool server.

Terminal: ollmcp connects MCP servers straight to a local Ollama model.

Pick a model with solid tool calling (a recent Qwen or Llama instruct model). Smaller models struggle to chain several calls reliably, which matters here — map authoring is inherently multi-step.


What it will not do

Worth knowing before you install:

  • XP only. It does not read VX, VX Ace, MV or MZ projects. Their data formats are different (.rvdata, .rvdata2, JSON).

  • It does not generate art or audio. It can import, classify and validate graphics you already have; it cannot draw them.

  • It does not write RGSS scripts for you beyond storing what it is given — it manages Scripts.rxdata as data, and correctness is on you and your model.

  • It cannot run your game or test it. render_map shows a static layout preview, not gameplay.

  • It does not know about Pokémon Essentials' own systems (PBS files, its plugin conventions, its data classes).


Available tools (65)

get_actors · get_actor · update_actor · create_actor · search_actors

XP actors use a parameters Table (6×100 — MaxHP, MaxSP, STR, DEX, AGI, INT per level) rather than MZ-style traits. create_actor generates linear growth curves by default. Equipment slots are weapon_id and armor1_id–armor4_id (shield / helmet / body / accessory).

get_items · get_weapons · get_armors · get_skills · update_item · search_items · create_weapon · create_armor

create_weapon/create_armor append to Weapons.rxdata/Armors.rxdata with editor-default fields (override any). Armor kind: 0=shield, 1=helmet, 2=body, 3=accessory.

get_skill · create_skill · create_damage_skill · create_healing_skill · create_state_skill · update_skill · search_skills

XP has no damage formulas. Damage is power scaled by stat-influence rates (atk_f/str_f physical, int_f magical) and reduced by the target's pdef_f/mdef_f. Negative power = healing. There is no create_buff_skill — XP has no buff system, use states.

Scope: 0=none, 1=one enemy, 2=all enemies, 3=one ally, 4=all allies, 5=one ally (HP 0), 6=all allies (HP 0), 7=user.

get_map · get_map_infos · get_map_events · get_map_event · update_map_event · create_map_event · create_transfer_event · search_map_events · add_event_command · add_show_text

Maps live in Data/MapXXX.rxdata. get_map summarises the tile Table unless includeTiles: true. Events are a hash keyed by event ID.

add_show_text handles XP's message structure (first line = code 101, continuations = 401, 4 lines per box). XP specifics: code 101 carries text directly (unlike VX+); choice text is stored redundantly in both the 102 array and the 402 branches and must stay in sync; move routes are 209/509.

create_transfer_event wires two maps together and validates both endpoints exist and are in bounds before writing. Run validate_connectivity afterwards. The full 110-code table is in research/event-commands.md.

get_map_design_guide · get_map_size_advisory · create_map · get_map_tiles · set_map_tiles · fill_region · apply_autotile · scatter_tiles

apply_autotile paints an autotile and computes seamless edge variants per cell from 8-neighbour connectivity — give it an organic blob (ponds, lakes, forest), a cells list (rivers, curved paths), or a region rect (rectangular floors only). scatter_tiles distributes clutter at a target density with an optional focal gradient. Together these avoid the blocky ponds and corner-clustered detail that make maps look programmer-generated. See MAP-DESIGN.md §5b.

Layers (Map.data z, drawn z0→z1→z2 = editor Layer 1/2/3) are assigned by role: z0 terrain (autotiles), z1 ground clutter (priority 0), z2 overhead (priority > 0 — canopies and roofs the player walks behind).

Tile ids: 0 = empty; 48–383 = autotiles (slot=id/48-1, variant=id%48); ≥384 = regular tiles (col=(id-384)%8, row=(id-384)/8).

Load get_map_design_guide before authoring — create_map also returns its core rules inline. get_map_size_advisory reports screen count, target focal points, recommended scatter density and oversize warnings for an existing map.

validate_assets · validate_connectivity

validate_assets scans every data file for referenced graphic and audio filenames — tilesets, autotiles, panoramas, fogs, battlebacks, character, battler and icon graphics, animations, windowskin, title, gameover, transition, BGM/BGS/ME and map event sprites — and reports any with no file on disk. Broken references are otherwise silent until runtime. Checks the project's Graphics/ and Audio/ first, then the RTP, matching base name regardless of extension.

validate_connectivity builds the world transfer graph and reports maps unreachable from the start map, transfers pointing at a missing map or an out-of-bounds tile, and dead ends.

create_tileset_identification_harness · get_tileset_catalog · save_tileset_catalog · validate_tileset_catalog · render_tileset_atlas · render_map

create_tileset_identification_harness builds an evidence-first review bundle: the source sheet, a labelled copy with burned-in tile IDs, isolated transparent tile images, source rows, autotile sources, engine metadata, a catalog template and an interactive browser page. Reviewed labels, intended uses, object grids, layers and confidence live in a separate catalog, so passability or visual resemblance cannot silently become a semantic claim. See TILESET-CATALOG.md.

render_tileset_atlas renders a tileset to a labelled PNG — scaled with a grid, each tile's id burned in, passability dots (red = blocked, orange = partial) and a legend of the 7 autotile slots.

render_map renders a map's tile layers to a flat top-down PNG preview outside the editor, so you can see what you built. Composites all three layers using the tileset graphic (ids ≥ 384) and its autotiles (ids 48–383, via a cross-verified 48-variant quadrant table). Options: layers, scale, region, drawGrid, drawEvents, passability. Writes to Data/.mcp-preview/map<NNN>.png and returns the path.

Layout preview only — no priority/overhead draw order, no fog, panorama or weather, and autotile animation uses frame 0.

classify_asset · verify_tileset · register_tileset

Sorting a sheet by canvas dimensions alone silently mis-imports assets authored for other engines, so these detect the true content tile size (edge-periodicity, where a candidate must evenly divide the canvas, biased toward native 32px) and fingerprint the filename: a $/! prefix means a single-object sprite belonging in Characters, not a tileset; A1–A5 means an MV/MZ autotile sheet only when content is not 32px, otherwise it is a battler variant.

verify_tileset writes a grid-overlay preview so scale problems are visible before import. register_tileset adds a guarded Tilesets.rxdata entry with passages/priorities/terrain Tables sized to the sheet, and declines non-native assets unless explicitly forced.

Database — get_database · get_database_entry · update_database_entry

Generic access to every database file, including those without dedicated tools (Classes, States, Enemies, Troops, CommonEvents, Tilesets…). Tileset passability lives in the passages Table: 0 = passable; 1/2/4/8 = down/left/right/up blocked; 15 = impassable; +64 bush; +128 counter.

Scripts — get_scripts · get_script · update_script · create_script · search_scripts

Full RGSS script access with zlib handling. Sources are stored as [magic, name, zlib-deflated code] triples; per-script magic numbers are not meaningful to the editor. create_script inserts above Main by convention. Binary-safe — script data never passes through UTF-8 conversion.

System — get_system · get_variables · set_variable_name · get_switches · set_switch_name · get_game_title · update_game_title · update_starting_position


How it works

.rxdata files are parsed with a vendored, bug-fixed copy of @hyrious/marshal (src/vendor/marshal/) and converted to plain JSON. Ruby objects become { "_class": "RPG::Actor", ... } with instance variables as fields (no leading @).

Why vendored: upstream ≤0.3.3 mis-decodes negative multibyte Marshal integers — −150 decodes as +106. In XP, healing is negative power, so that bug silently converted every healing skill into a damage skill on save. Details in research/REPORT.md.

The RGSS binary classes Table (tile and parameter grids), Color and Tone have dedicated codecs. On save, strings are written as raw byte strings with no Ruby 1.9 encoding ivars, or XP's Ruby 1.8 / RGSS104E refuses to load them. The game title lives in Game.ini, not in System data — unlike MZ.

Round-trips of 15 of the 16 template .rxdata files from the RMXP install are byte-identical. The exception is Scripts.rxdata, which the round-trip test excludes rather than fails: it stores zlib-compressed source as binary strings, so it needs the raw path (readRxdataRaw) instead of the UTF-8 one the rest of the database uses. The script tools handle it correctly; only the round-trip test skips it.

  • Automatic backups — before the first write to any file in a session, the original is copied to Data/.mcp-backup/<name>.bak (project root for Game.ini). See the warning at the top: one per file per session.

  • Save-revision marker — map and event writes regenerate System.magic_number, mirroring the editor, so existing save files reload the changed map instead of keeping a stale copy.

  • Event list invariants — command lists are normalised on save: every command gets code/indent/parameters, and the trailing {code: 0, indent: 0, parameters: []} terminator is guaranteed.

  • Verified engine math — skill tools document XP's real damage algorithm, extracted from Game_Battler 3, and the helpers are calibrated to default-database conventions (heals are negative power with int_f 50).

The server surfaces its own guidance, so any MCP client gets the conventions — not just one that can read this repository:

  • Server instructions are sent on connect (governance + map-design rules) and injected into context by most clients.

  • The guides are exposed as MCP resources (rpgmaker-xp://docs/…): map-design, tileset-catalog, authoring, wisdom.

  • get_map_design_guide returns the full guide; create_map returns its core rules inline.


Testing

npm run build
node test/roundtrip.mjs        # Marshal round-trip against real RMXP data
node test/tools.mjs            # end-to-end tool tests on a scratch project
node test/server-smoke.mjs     # MCP stdio handshake + tool calls
node test/render.mjs           # renderer: autotile table + PNG renders
node test/tileset-catalog.mjs  # catalog validation
node test/authoring.mjs        # map authoring primitives
node test/connectivity.mjs     # transfer-graph validation
node test/validate.mjs         # asset reference checking
node test/extract-scripts.mjs  # Scripts.rxdata extraction

The round-trip test loads every .rxdata file from the RMXP install's new-project template, converts to JSON and back, and verifies byte-identical output. Render tests need local RMXP graphics (the Steam RTP install and the library/Valentine90-ABS fixture) and skip rather than fail when those are absent; the autotile-table integrity check always runs.


Documentation

Document

What it covers

SETUP.md

Install and configuration walkthrough, troubleshooting

EXAMPLES.md

Worked examples — what to ask for, and the tool calls it produces

AUTHORING-XP.md

Writing for XP, and how this server acts as a governance layer to keep a project canonical as humans and models both edit it

MAP-DESIGN.md

Level design: the three-layer model, priority and passability, multi-tile object rules, composition

SKILL_CREATION_GUIDE.md

XP's damage model in depth, and the skill creation tools

TILESET-CATALOG.md

Evidence-first tile identification, object grouping, confidence rules

CONTENT-SOURCES.md

Licence-vetted catalogue of RGSS1 script libraries you can install with create_script

WISDOM.md

Collected engineering notes: Marshal layer, battle math, event system, coexisting with the editor

research/

Event command table, RGSS class definitions, the decoder bug report


Credits

Forked from k4zuki0539/-rpgmaker-mz-mcp (RPG Maker MZ MCP Server, MIT), then re-authored for RPG Maker XP. The MZ version targets MZ's JSON data; this fork reads and writes XP's Ruby 1.8 Marshal .rxdata directly, and adds skills, scripts, database and render tooling, a byte-verified Marshal codec, map authoring and map rendering. Upstream authorship and the MIT licence are preserved — see LICENSE.

Maintained by SerifeusStudios. Third-party components and their licences are listed in THIRD-PARTY-NOTICES.md.

RPG Maker XP is a product of Enterbrain / Gotcha Gotcha Games. This project is unaffiliated, and bundles no engine assets.

License

MIT — © 2025 k4zuki0539 (original MZ MCP) and © 2026 SerifeusStudios (XP fork). See LICENSE and THIRD-PARTY-NOTICES.md.

Available Tools

65 tools
add_event_commandA

Add a single command to an event page (for Show Text prefer add_show_text). Common XP codes: 101=Show Text first line (401=continuation lines), 102=Show Choices [[texts...],cancelType] (each 402 branch repeats its choice text and must stay in sync), 111=Conditional Branch, 121=Control Switches, 122=Control Variables, 123=Control Self Switch [ch,0=on/1=off], 125=Change Gold, 126=Change Items, 201=Transfer Player, 209=Set Move Route (509=continuation), 223=Change Screen Color Tone, 355=Script. indent must increase by 1 inside branch blocks; the trailing code-0 terminator is preserved automatically.

Inputs: mapId (required), command (required), eventId (required), pageIndex (required), +1 more.

add_show_textA

Add a Show Text message to an event page. Handles XP's 101/401 structure automatically: first line of each box is code 101, continuation lines are 401, and text longer than 4 lines is split into multiple message boxes. Use \n for line breaks.

Inputs: text (required), mapId (required), eventId (required), pageIndex (required), +1 more.

apply_autotileA

Paint an autotile (slot 0..6 = tileset autotile_names index) and compute the correct edge variant per cell from 8-neighbour connectivity (seamless coastlines/paths/cliffs). Supply ONE of: blob (organic roundish shape — USE for ponds/lakes/forest patches); path (autotile-safe road/trail/river through waypoints, width >=2); cells (arbitrary [x,y] list); or region (rect — only for rectangular floors). All shapes are auto-sanitized to be autotile-safe (4-connected, no diagonal pinches or 1-cell holes) so they never render broken/pinched. The border ring of existing same-autotile cells is recomputed so it blends. Preview with render_map.

Inputs: layer (required), mapId (required), autotileSlot (required), blob, +4 more.

classify_assetA

Inspect a PNG before import and report whether it is a native RMXP asset. Goes beyond canvas dimensions: fingerprints the filename ($/! object sprites, MV/MZ A1-A5 autotile sheets, 48px-divisible MV dimensions) AND detects the true CONTENT tile size via edge-periodicity (16/24/32/48/64px). Catches assets that look fine by size but render 1.5x/2x too large in RMXP's 32px grid, and assets that are not tilesets at all. Returns tier, recommended conversion op, target category, and flags. No writes.

Inputs: filePath (required).

create_actorA

Create a new actor with RMXP defaults (linear stat growth curves unless a parameters Table is provided)

Inputs: name (required), class_id, armor1_id, armor2_id, +11 more.

create_armorA

Create a new armor (appended to Armors.rxdata). kind: 0=shield, 1=helmet, 2=body, 3=accessory. Defaults match the RMXP editor; override any field.

Inputs: name (required), eva, kind, mdef, +11 more.

create_damage_skillA

Create a damage-dealing skill (simplified). Set physical=true for ATK/PDEF based damage, otherwise INT/MDEF based (magic). Engine formula: damage = (power + ATKatk_f/100 - PDEFpdef_f/200 - MDEFmdef_f/200) * (20 + STRstr_f/100 + DEXdex_f/100 + AGIagi_f/100 + INT*int_f/100) / 20. Reference: default-DB Fire is power 140, sp 75.

Inputs: name (required), power (required), scope (required), spCost (required), +3 more.

create_healing_skillA

Create a healing skill (simplified). In XP healing is negative power. Amount healed = power * (20 + INT*int_f/100) / 20 with int_f=50 (default-DB convention), so it scales with the caster's INT. Reference: default-DB Heal is power 150, sp 80.

Inputs: name (required), power (required), scope (required), spCost (required), +1 more.

create_mapA

Create a new map. SIZE IS THE FIRST DESIGN DECISION: a map is N screens of 20x15 tiles, so pass a purpose (interior/room/town/dungeon/overworld/region) to get a sensible default size, or set width/height explicitly. Returns the new map id and a size_advisory (screens, target focal-point count, scatter density, oversize warnings) plus the design guide. Writes the next-free MapXXX.rxdata (blank Table[w,h,3]) + MapInfos entry. Paint with apply_autotile / scatter_tiles / set_map_tiles, preview with render_map.

Inputs: name (required), width, height, purpose, +2 more.

create_map_eventB

Create a new event on a map. If pages are omitted, a default empty page is created.

Inputs: x (required), y (required), name (required), mapId (required), +1 more.

create_scriptA

Create a new RGSS script. By default it is inserted just above "Main" (the conventional slot for custom scripts).

Inputs: code (required), name (required), position.

create_skillA

Create a new skill with full control over RPG::Skill fields. XP has no damage formulas: damage = power scaled by stat influence rates (atk_f/str_f for physical, int_f for magical). Negative power heals.

Inputs: name (required), hit, agi_f, atk_f, +19 more.

create_state_skillA

Create a state-inflicting skill (poison, sleep, etc.). State IDs come from States.rxdata (XP defaults: 3=poison, 5=blind, 6=silence, 7=confuse, 8=sleep, 9=paralyze).

Inputs: hit (required), name (required), scope (required), spCost (required), +2 more.

create_tileset_identification_harnessA

Create a review bundle for one tileset that separates engine facts from semantic claims. Produces the exact source sheet, isolated transparent tile images, source-row strips, manifest.json (priority, passage flags, alpha bounds), catalog templates, and an interactive index.html for identifying single tiles and rectangular multi-tile objects. Use this before assigning map-design roles to an uncataloged tileset.

Inputs: tilesetId (required), scale, outDir.

create_transfer_eventA

Wire two maps together: create a Transfer Player (command 201) event at (x,y) on a map that warps the player to (targetX,targetY) on targetMapId. trigger 0 = action button (a door — give it a graphic); trigger 1 = player touch (an edge teleport — leave it invisible). Validates both endpoints exist and are in-bounds before writing. Use validate_connectivity afterwards to check the whole world graph.

Inputs: x (required), y (required), mapId (required), targetX (required), +7 more.

create_weaponA

Create a new weapon (appended to Weapons.rxdata). Defaults match the RMXP editor; override any field. Equippable in the weapon slot.

Inputs: name (required), atk, mdef, pdef, +12 more.

fill_regionA

Fill a rectangle of a layer with one tile id (or the whole layer if rect is omitted). Tile id 0 clears. For autotiles this places the base variant (P1) — smart edges come with apply_autotile.

Inputs: layer (required), mapId (required), tileId (required), rect.

get_actorA

Get a specific actor by ID, including its 6x100 parameters table (MaxHP, MaxSP, STR, DEX, AGI, INT per level)

Inputs: actorId (required).

get_actorsB

Get all actors from the RPG Maker XP project (parameter tables omitted)

Inputs: no named parameters.

get_armorsB

Get all armors from the project

Inputs: no named parameters.

get_databaseA

List all entries of a database file. Kinds: classes, states, enemies, troops, common_events, tilesets, animations (also actors/skills/items/weapons/armors). Tables and command lists are summarized; use get_database_entry for full data.

Inputs: kind (required).

get_database_entryB

Get one full database entry by ID, including Tables (tileset passages/priorities/terrain_tags, enemy element_ranks, class element_ranks) and event command lists (common events, troop pages)

Inputs: id (required), kind (required).

get_game_titleA

Get the game title (from Game.ini)

Inputs: no named parameters.

get_itemsB

Get all items from the project

Inputs: no named parameters.

get_mapA

Get map data by ID (Data/MapXXX.rxdata). Tile data is summarized unless includeTiles is true.

Inputs: mapId (required), includeTiles.

get_map_design_guideA

Return the level/map design guide (MAP-DESIGN.md): layer roles (z0 terrain / z1 ground clutter / z2 overhead), tile priority & passability, the multi-tile-object no-overlap rule, composition principles, and the authoring workflow. Load this before authoring or editing maps.

Inputs: no named parameters.

get_map_eventC

Get a specific event from a map

Inputs: mapId (required), eventId (required).

get_map_eventsA

Get all events from a specific map

Inputs: mapId (required).

get_map_infosA

Get information about all maps (names, parent, order)

Inputs: no named parameters.

get_map_size_advisoryA

Size advisory for an EXISTING map: screens (ceil(w/20)*ceil(h/15)), target focal-point and path-junction counts, recommended scatter density, approx clutter tile budget, and oversize/purpose-mismatch warnings. Use this first when editing a map so size and tile budget guide the design. Optionally pass a purpose to check the size against its sweet spot.

Inputs: mapId (required), purpose.

get_map_tilesA

Read a map's tile ids as a 2D grid (rows top-to-bottom). Returns one layer if layer is given, else all three. Tile id 0 = empty, 48..383 = autotiles, >=384 = regular tiles. Use region to crop and avoid large payloads.

Inputs: mapId (required), layer, region.

get_scriptA

Get an RGSS script's Ruby source code by index

Inputs: index (required).

get_scriptsA

List all RGSS scripts in Scripts.rxdata (index, name, source length)

Inputs: no named parameters.

get_skillA

Get a specific skill by ID

Inputs: skillId (required).

get_skillsA

Get all skills from the project

Inputs: no named parameters.

get_switchesA

Get all game switch names (index = switch ID)

Inputs: no named parameters.

get_systemA

Get system data (System.rxdata: party, elements, switches, variables, vocabulary, start position, audio settings)

Inputs: no named parameters.

get_tileset_catalogA

Read the structured semantic catalog for a tileset together with its generated engine-fact manifest and validation summary. Absence from the catalog means unreviewed, not safe to infer.

Inputs: tilesetId (required).

get_variablesA

Get all game variable names (index = variable ID)

Inputs: no named parameters.

get_weaponsB

Get all weapons from the project

Inputs: no named parameters.

register_tilesetA

Create a Tilesets.rxdata entry for a graphic already in Graphics/Tilesets, sizing the passability/priority/terrain Tables to the image (384 + height/4). GUARDED: refuses object sprites, MV A-series sheets, non-256px-wide, or non-32px-content assets (pass force:true to override). This is the gate that keeps mis-classified art out of the database.

Inputs: graphicName (required), name, force, autotileNames.

render_mapA

Render a map's tile layers to a flat top-down PNG preview (outside the editor) and return the file path. Composites all 3 tile layers using the tileset graphic and autotiles. Use this to SEE a map you built/edited and self-check it. Layout preview only: no priority/overhead draw-order, fog/panorama/weather, autotile animation (frame 0), or event sprites. Reads project Graphics/ then falls back to the RTP (override base with RPGMAKER_RTP_PATH). Writes to Data/.mcp-preview/ by default; Read the returned path to view it.

Inputs: mapId (required), scale, layers, region, +4 more.

render_tileset_atlasA

Render a labeled atlas of a tileset to a PNG: the tileset graphic scaled with a grid, each regular tile's id burned in, passability indicators, and the 7 autotile slots. This is a quick numeric reference, not semantic proof; use create_tileset_identification_harness before assigning map-design roles.

Inputs: tilesetId (required), scale, outPath.

save_tileset_catalogA

Validate and save reviewed semantic findings for a tileset. Accepts incremental tile/object/autotile arrays or the complete catalog JSON exported by the review page. Generated engine facts cannot be overwritten by catalog claims.

Inputs: tilesetId (required), catalog, entries, objects, +2 more.

scatter_tilesA

Scatter clutter tile ids over a region with natural random distribution at a target density (fraction of cells), skipping occupied cells. Optional focal point with falloff for a density gradient (denser near a landmark). Use for flowers/bushes/rocks/tall grass instead of hand-placing lone tiles — fixes sparse/corner-clustered decoration. Deterministic given seed.

Inputs: layer (required), mapId (required), region (required), tileIds (required), +4 more.

search_actorsC

Search actors by name

Inputs: searchTerm (required).

search_itemsA

Search items, weapons and armors by name or description

Inputs: searchTerm (required).

search_map_eventsB

Search events on a map by name

Inputs: mapId (required), searchTerm (required).

search_scriptsA

Search all RGSS script sources with a regex pattern; returns matching lines with script name and line number

Inputs: pattern (required).

search_skillsB

Search skills by name or description

Inputs: searchTerm (required).

set_map_tilesA

Stamp a 2D block of tile ids into a layer with its top-left at (x, y). grid is rows of ids (0 clears a cell). Cells outside the map are skipped. Preview with render_map.

Inputs: x (required), y (required), grid (required), layer (required), +1 more.

set_switch_nameC

Set a switch name

Inputs: name (required), switchId (required).

set_variable_nameD

Set a variable name

Inputs: name (required), variableId (required).

update_actorB

Update an actor's properties (XP fields: name, class_id, initial_level, final_level, exp_basis, exp_inflation, character_name, character_hue, battler_name, battler_hue, weapon_id, armor1_id..armor4_id, weapon_fix, armor1_fix..armor4_fix, parameters)

Inputs: actorId (required), updates (required).

update_database_entryA

Update any database entry's properties (e.g. a class's weapon_set, a state's rates, an enemy's stats, tileset passability Tables). Tables must be written as { "_class": "Table", dim, xsize, ysize, zsize, data: [...] }. Tileset passages: value 0=passable, 1/2/4/8 = down/left/right/up blocked, 15=impassable, +64 bush, +128 counter.

Inputs: id (required), kind (required), updates (required).

update_game_titleA

Update the game title (in Game.ini)

Inputs: title (required).

update_itemB

Update an item's properties (XP fields: name, icon_name, description, scope, occasion, price, consumable, recover_hp, recover_sp, parameter_type, parameter_points, element_set, plus_state_set, minus_state_set, ...)

Inputs: itemId (required), updates (required).

update_map_eventB

Update a map event's properties (name, x, y, pages)

Inputs: mapId (required), eventId (required), updates (required).

update_scriptA

Replace an RGSS script's source code and/or name

Inputs: index (required), code, name.

update_skillC

Update a skill's properties

Inputs: skillId (required), updates (required).

update_starting_positionB

Update the party starting position (map ID and coordinates in System.rxdata)

Inputs: x (required), y (required), mapId (required).

validate_assetsA

Scan all data files for referenced graphic/audio filenames (tilesets, autotiles, panoramas, fogs, battlebacks, character/battler/icon graphics, animations, windowskin/title/gameover/transition, BGM/BGS/ME, and map event sprites) and report any with no matching file on disk. Checks the project Graphics/ and Audio/ first, then the RTP (RPGMAKER_RTP_PATH). Catches broken references that are otherwise silent until runtime.

Inputs: includeMaps.

validate_connectivityA

Build and validate the world transfer graph. Scans every map's events for Transfer Player (201) commands, checks each targets a real map at in-bounds coords, computes reachability from System.start_map_id, and flags orphan maps (no inbound transfer) and unreachable maps. Variable-designated transfers are reported as dynamic (runtime destination, unverifiable). Returns nodes, edges, errors, warnings, and a summary; set diagram=true for a Mermaid flowchart.

Inputs: diagram.

validate_tileset_catalogA

Validate a tileset catalog against its engine manifest. Reports invalid ids, malformed object grids, contradictory layer/priority choices, transparent z0 placement, and unreviewed tiles. strict=true requires every regular tile to have a reviewed entry.

Inputs: tilesetId (required), strict.

verify_tilesetA

Render an asset with two overlaid grids — the RMXP 32px grid (red) and the detected content grid (cyan) — and write a preview PNG for multimodal review. If a tile motif fills a 2x2 block of red cells the art is 64px (too big); if red and cyan coincide it is native 32px. Returns the preview path, detected tile size, and an alignment verdict. Read the returned preview_png to confirm visually before registering.

Inputs: filePath (required), scale, outDir.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 65 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose, targeting a specific resource and action. Even the specialized skill creators (create_skill, create_damage_skill, create_healing_skill, create_state_skill) are well-differentiated by their descriptions, and map-related tools (get_map, get_map_events, get_map_tiles, set_map_tiles, etc.) are unambiguous.

    Naming Consistency4/5

    Tool names overwhelmingly follow a verb_noun snake_case pattern (search_items, create_weapon, get_map, update_actor). Minor deviations include the use of 'set_' for set_variable_name/set_switch_name instead of 'update_', and the non-standard 'get_map_infos' instead of 'get_map_info'. Overall the convention is consistent and readable.

    Tool Count1/5

    At 65 tools, the surface is extremely large, exceeding the 50+ threshold for an extreme mismatch. While the RPG Maker XP domain is broad, many tools are highly granular (e.g., three specialized skill creators, multiple tile manipulation tools), making the set feel bloated and overwhelming rather than well-scoped.

    Completeness3/5

    The toolset covers a wide range of RMXP functionality: items, actors, skills, maps, events, scripts, tilesets, and asset validation. However, there are notable gaps: no delete operations for any resource, no map-property update (e.g., map name or size), and no removal of event commands. These missing lifecycle operations are significant but can be worked around.

    Related MCP Connectors

    Related MCP Servers