Mengine MCPGive your AI agent a live connection to your game. Mengine MCP lets Visual Studio Code launch, inspect, control, debug, and hot-reload Development builds made with the open-source Mengine game engine. Instead of reasoning from source alone, an agent can click UI, inject touch and keyboard input, inspect the active scene, capture frames, read logs, evaluate Python, stop on script breakpoints, and verify changes inside the running game. Highlights
Mengine MCP does not build the game. It launches artifacts produced by your normal Mengine, IDE, or CI build workflow. Install in Visual Studio CodeInstall Mengine MCP from the Visual Studio Marketplace, or install a locally built VSIX:
The VSIX contains both the extension and the STDIO MCP server. Users do not need to install a separate Node.js runtime. Configure a game
The descriptor is resolved relative to the game root. A minimal desktop profile looks like this:
See mengine.mcp.example.json for desktop and Android profiles. Android launch profiles receive the listener endpoint and session token as Intent extras, and can use Run the STDIO server directlyThe server also works with Codex and other MCP clients independently of VS Code:
It speaks standard MCP over STDIO and connects to the running game through the authenticated Development
SafetyThis extension intentionally has powerful Development-only capabilities, including application launch commands and unrestricted Python execution. VS Code therefore disables it in untrusted workspaces. Session tokens are generated per launch and must never be logged or committed. See SECURITY.md for the complete security boundary. Related projectMengine is a multi-platform C++ game engine used to build and ship graphical games across desktop and mobile platforms. Mengine MCP is its AI-agent development companion. |