gm-forge-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@gm-forge-mcp Create a new project called 'MyGame' with a player object and a room."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
gm-forge-mcp is an MCP server that lets an AI assistant create and edit GameMaker projects: scripts, objects, rooms, sprites, sounds, and the rest of the .yyp catalog. In practice that means you can ask Claude to scaffold a new project, import a folder of sprite frames, or rename an object everywhere it's referenced, and the project still opens in the IDE afterwards.
Early stage (0.1.0) - back up your project before letting anything write to it.
GameMaker's file format punishes sloppy edits quietly. A room missing its creationCodeFile field, or a sound whose declared sample rate doesn't match the real .wav, can look fine right up until the IDE fails to open the project or crashes. Every writer here is modeled on files GameMaker itself produced, and two tools use GameMaker's own tooling directly: lint_project runs the official headless validator (ProjectTool) and compile_project runs the real compiler (Igor), which catches actual GML errors.
Requirements
Node.js 20+
GameMaker (Windows) for
lint_project's ProjectTool check and forcompile_project. Both skip with a clear message when GameMaker isn't installed; everything else works cross-platform.
Related MCP server: GB Studio MCP Server
Install
git clone https://github.com/nicklesimba/gm-forge-mcp.git
cd gm-forge-mcp
npm install
npm run buildConfigure
Add to your MCP client config (e.g. Claude Desktop's claude_desktop_config.json):
{
"mcpServers": {
"gm-forge": {
"command": "node",
"args": ["/absolute/path/to/gm-forge-mcp/dist/index.js"]
}
}
}Tools
Projects -- create_project, list_resources, find_references, delete_resource, rename_resource, lint_project, compile_project
Groups -- add_texture_group, add_audio_group
Scripts -- add_script, edit_script, get_script_info
Objects -- add_object, add_object_event, get_object_info
Rooms -- add_room, edit_room, add_room_instance, reorder_room, move_room_relative, get_room_info, find_tile_region
Sprites -- add_sprite_from_images, edit_sprite, get_sprite_info
Tilesets -- add_tileset, edit_tileset, get_tileset_info
Sounds -- add_sound, edit_sound, get_sound_info
Shaders -- add_shader, edit_shader, get_shader_info
Fonts -- add_font, edit_font, get_font_info
Notes -- add_note, get_note_info
Extensions -- add_extension, get_extension_info
Particle systems -- add_particle_system, get_particle_system_info
Animation curves -- add_anim_curve, get_anim_curve_info
delete_resource and rename_resource search the whole project for references before touching anything.
Testing
npm testThe suite checks every writer's output against reference schemas captured from real GameMaker files, simulates files GameMaker has resaved (trailing commas and all), and runs live ProjectTool/Igor checks when those are installed. CI runs on a Windows runner without GameMaker, so the live checks skip there and the summary reports the skip count. Every resource type has also been loaded in the actual IDE, including a project created from scratch by create_project.
See also
GameMaker is required to use any of this. Thanks to YoYo Games for making game-making more accessible for two decades and counting!
@petah/gamemaker-mcp covers GML function/API reference lookup, which this project doesn't.
License
MIT - see LICENSE.
Available Tools
15 toolsadd_noteA
Create a new Notes resource (plain-text project documentation, never compiled into the game) and register it in the project
Inputs: noteName (required), projectDir (required), content.
add_scriptA
Create a new GML script and register it in the YYP
Inputs: projectDir (required), scriptName (required), code.
add_texture_groupB
Create a new, additional texture group in the project (beyond the default one auto-provisioned for sprites/fonts)
Inputs: groupName (required), projectDir (required).
compile_projectA
Actually compile the project with GameMaker's real build tool (Igor) to catch real GML errors -- duplicate function names, syntax errors -- that structural checks like lint_project can't see. NOTE: a successful compile briefly LAUNCHES the built game (then kills it immediately), so the project's own code runs; only compile projects you trust. Requires the GameMaker runtime to be installed (skips gracefully with a clear message if not). Windows only.
Inputs: projectDir (required).
create_projectB
Create a new GameMaker YYP project at the specified directory if it does not exist
Inputs: name (required), projectDir (required).
edit_spriteA
Edit an existing sprite's origin, collision kind, and/or bounding box -- not its frame data
Inputs: projectDir (required), spriteName (required), xorigin, yorigin, +6 more.
find_tile_regionA
Check whether a world point in a room sits on a real tile, decoding GameMaker's compressed tile layer data (invisible to get_room_info's instance list). If occupied, reports the connected region of tiles it belongs to -- use this to confirm a spot is actually inside tile-drawn geometry (a building, a floor) before placing something there, not just clear of instances.
Inputs: x (required), y (required), roomName (required), projectDir (required).
get_note_infoA
Get an existing note's content
Inputs: noteName (required), projectDir (required).
get_object_infoA
Get detailed info about an existing object: sprite, parent, physics, and its full event list with human-readable event names
Inputs: objectName (required), projectDir (required).
get_room_infoA
Get detailed info about an existing room: dimensions, persistence, layers, and every placed instance with its position
Inputs: roomName (required), projectDir (required).
get_sprite_infoA
Get detailed info about an existing sprite: real dimensions, frame count, origin, collision settings
Inputs: projectDir (required), spriteName (required).
lint_projectA
Validate a whole project for dangling references, orphaned resources, missing folder registrations, missing event code files, and sound/sprite metadata that doesn't match the real underlying file -- run this before trusting a project is safe to open
Inputs: projectDir (required).
list_resourcesA
List resource names by type from the YYP file
Inputs: projectDir (required), kind.
move_room_relativeA
Move a room immediately before or after another named room in the room order
Inputs: position (required), roomName (required), projectDir (required), targetRoomName (required).
reorder_roomB
Move a room to an absolute position in the game's room order (what room_goto_next/previous follow at runtime)
Inputs: newIndex (required), roomName (required), projectDir (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
Each tool targets a distinct resource or action: separate info tools for notes, objects, rooms, sprites; distinct operations for editing, compiling, listing, creating, reordering, and linting. No two tools have overlapping purposes.
Naming uses a verb_noun pattern but with varied verbs (get, edit, compile, add, reorder, move, find, lint). While readable, the lack of a single consistent prefix style (e.g., all get_ or all add_) creates minor confusion.
With 15 tools, the set covers project creation, resource management, information retrieval, and validation. Slightly on the higher side but well-scoped for a GameMaker development assistant.
Covers creation, reading, updating (limited), and validation. Missing delete/removal tools and note/object editing capabilities. Agents can perform core workflows but may encounter dead ends when needing to modify certain resources.
Maintenance
Related MCP Connectors
Let your coding agent read your GameSalad projects, and edit them live in Creator on Pro and Edu.
Create and edit PlayableMaker playable ads from chat and download them as projects.
Build, edit and preview browser games and web apps in your Amplify account from your AI agent.
AI game assets for agents: consistent sprites, 2D animations, tiles, maps, music and engine exports.
Related MCP Servers
- FlicenseAqualityCmaintenanceEnables AI-assisted GameMaker project development in Cursor IDE, allowing users to create projects, add scripts, objects, and sprites using natural language.513-
- AlicenseNot gradedqualityCmaintenanceEnables creation, validation, and manipulation of Game Boy Studio projects through the Model Context Protocol, allowing AI agents to generate game assets, scenes, and actors.189 npm25MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to edit GameMaker projects, compile with GameMaker's own toolchain, and live-connect to a running game to inspect and steer it.MIT
- AlicenseBqualityCmaintenanceEnables AI assistants to launch a game engine editor, run and debug projects, capture console output, and manage scenes, nodes, sprites, and UIDs.14MIT