gdevelop-mcp-server
Provides a local control plane for GDevelop game projects, enabling Codex to open projects, build previews, and serve them over HTTP for debugging.
README
GDevelop MCP Server
This package gives Codex a local control plane for the existing GDevelop
exporter. It does not reimplement the game runtime: libGD.js loads a project,
gd.Exporter generates a GDJS preview, and a loopback-only HTTP server exposes
the generated files to a browser. See ARCHITECTURE.md for
the C++/Wasm, MCP, AI, and browser Runtime boundaries.
This is an independent, unofficial integration. GDevelop and its logo are the property of their respective owner.
Tools
open_projectloads a project JSON file and returns a session ID and scenes.build_previewexports one scene, serves it, and returns an HTTP URL.get_preview_statuslists or inspects preview sessions.stop_previewstops the server and removes that preview's temporary files.close_projectstops related previews and releases the Wasm project handle.
Install and run
git clone https://github.com/982945902/gdevelop-mcp-server.git
cd gdevelop-mcp-server
npm ci
npm start
The MCP server uses GDevelop's existing engine artifacts rather than vendoring
them. Point GDEVELOP_ROOT at a prepared GDevelop source checkout and the
server auto-detects artifacts in this order:
- locally built
Binaries/embuild/GDevelop.js/libGD.js, then the IDE-importednewIDE/app/node_modules/libGD.js-for-tests-only/index.jsornewIDE/app/public/libGD.js; newIDE/app/resources/GDJS, thennewIDE/app/node_modules/GDJS-for-web-app-only.
For a fresh GDevelop checkout, prepare the same artifacts used by the editor:
git clone https://github.com/4ian/GDevelop.git
cd GDevelop/newIDE/app
npm install
The app's postinstall installs GDJS dependencies, downloads the matching
prebuilt libGD.js, and builds the GDJS Runtime and extensions. A locally built
Binaries/embuild/GDevelop.js/libGD.js takes precedence when present.
Alternatively, set GDEVELOP_LIBGD_PATH and GDEVELOP_GDJS_ROOT explicitly
when using artifacts from another build or a packaged GDevelop distribution.
Explicit paths take precedence over GDEVELOP_ROOT. Set
GDEVELOP_LOAD_EXTENSIONS=false only for focused tests whose projects do not
use standard GDJS object/behavior extensions.
Codex configuration
Put this in a trusted project's .codex/config.toml, using absolute paths:
[mcp_servers.gdevelop]
command = "node"
args = ["/absolute/path/to/gdevelop-mcp-server/src/index.js"]
[mcp_servers.gdevelop.env]
GDEVELOP_ROOT = "/absolute/path/to/GDevelop"
The same block is available in codex.config.toml.example.
Restart Codex after changing MCP configuration. The intended loop is:
- Call
open_projectwith the game JSON path. - Call
build_previewwith the returnedprojectIdand an optional scene. - Open the returned URL with Codex's browser capability to inspect, screenshot, and debug the generated runtime.
- Call
stop_preview, thenclose_project, when finished.
The server binds only to 127.0.0.1 and uses a random port. Export jobs are
serialized because the shared C++/Wasm platform and extension registries are
process-global. For remote deployment, add a Streamable HTTP transport plus
authentication and per-user process/session isolation; do not expose this local
stdio server directly to the public internet.
Verification
Fast tests use an in-process fake exporter but exercise the actual MCP protocol, HTTP server, lifecycle cleanup, and path traversal protection:
npm test
Run the opt-in test with real, matching GDevelop artifacts and a project:
GDEVELOP_LIBGD_PATH=/absolute/path/to/libGD.js \
GDEVELOP_GDJS_ROOT=/absolute/path/to/built/GDJS \
GDEVELOP_TEST_PROJECT=/absolute/path/to/game.json \
npm run test:runtime
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。