gm-forge-mcp
Enables AI assistants to create and edit GameMaker projects, including scripts, objects, rooms, sprites, and sounds, with support for project validation and compilation.
README
<p align="center"> <img src="assets/logo.svg" width="120" alt="gm-forge-mcp logo" /> </p>
<h1 align="center">gm-forge-mcp</h1>
<p align="center"> <a href="https://github.com/nicklesimba/gm-forge-mcp/actions/workflows/ci.yml"><img src="https://github.com/nicklesimba/gm-forge-mcp/actions/workflows/ci.yml/badge.svg" alt="CI"></a> <a href="LICENSE"><img src="https://img.shields.io/github/license/nicklesimba/gm-forge-mcp" alt="License"></a> </p>
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.
Install
git clone https://github.com/nicklesimba/gm-forge-mcp.git
cd gm-forge-mcp
npm install
npm run build
Configure
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 test
The 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 <img width="40" height="37" alt="image" src="https://github.com/user-attachments/assets/a8f0c4ef-8906-4135-a292-0aeb87856579" /> covers GML function/API reference lookup, which this project doesn't.
License
MIT - see LICENSE.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。