gdai -plugin-godot
A MCP server integration for Godot Engine that allows Claude, Cursor, Windsurf, VSCode, etc to perform actions like creating scenes, resources, scripts, reading errors and much more.
claude mcp add --transport stdio 3ddelano-gdai-mcp-plugin-godot npx -y gdai-mcp-plugin-godot \ --env GDAI_MCP_GODOT_LOG_LEVEL="Info (optional; defaults to info)"
How to use
The GDAI MCP Godot Plugin provides an interface for AI agents and MCP clients to control and automate the Godot Editor. Through the MCP server, you can issue commands to create scenes, nodes, resources, and scripts, inspect and debug GDScript, and capture logs and debugger output from a running Godot project. The plugin is designed to work with any MCP client (Cursor, Windsurf, VS Code-based clients, Claude Desktop, etc.), enabling remote interaction with Godot projects via natural language prompts or scripted prompts.
To use it, install the plugin in your Godot project and configure your MCP client with the server command. Start the MCP server on your preferred host, then connect your MCP client and begin issuing commands such as creating a scene, adding nodes, updating properties, or querying for script errors. The system also supports newer capabilities like automatic screenshot capture to visualize the editor and running game state, aiding debugging and rapid iteration.
How to install
Prerequisites:
- Node.js installed on the host machine (for using npx to fetch the package) or access to an environment where npm/npx is available.
- Access to the internet to fetch the gdai-mcp-plugin-godot package from npm registry.
Step-by-step:
-
Prepare your environment:
- Ensure Node.js and npm are installed: node -v and npm -v
- If you plan to run via MCP client on a server, ensure network access to npm registry.
-
Install the MCP server package (example with npx):
- You can run the MCP server directly via npx without a global install: npx -y gdai-mcp-plugin-godot
-
Configure your MCP client:
- Add the server command and arguments to your MCP client config. Example: command: npx args: [-y, gdai-mcp-plugin-godot]
-
Integrate with Godot:
- In Godot, install the GDAI MCP Plugin into your project following the installation guide provided by the project (link in the README).
- Ensure the Godot project is accessible to the MCP server and the client can reach it over the network if running remotely.
-
Run and test:
- Start the MCP server with the configured command.
- Connect using your MCP client and issue a basic command to verify connectivity (e.g., create a scene or inspect logs).
Notes:
- If you prefer a containerized or dedicated environment, consider wrapping the npm package in a docker run command once you have the image ready.
- Adjust environment variables as needed for logging or runtime behavior.
Additional notes
Tips and common considerations:
- npm_package is gdai-mcp-plugin-godot, so using npx will fetch the latest release; pin versions if you need reproducible behavior.
- You can enable verbose logs via environment variables (if supported by the plugin) to help diagnose issues with Godot integration or MCP client interactions.
- Ensure the Godot Editor version is compatible (Godot 4.1+ is indicated in/readme) to match plugin support.
- When running in CI or server environments, consider network latency between the MCP server and the Godot editor to avoid command timeouts.
- If you encounter permissions issues, run with appropriate user privileges or adjust container/file permissions where the Godot project resides.
Related MCP Servers
Wax
Sub-Millisecond RAG on Apple Silicon. No Server. No API. One File. Pure Swift
Godot
An MCP for Godot that lets you create and edit games in the Godot game engine with tools like Claude
furi
CLI & API for MCP management
workflowy
Powerful CLI and MCP server for WorkFlowy: reports, search/replace, backup support, and AI integration (Claude, LLMs)
godot4-runtime
一个为 Godot 4 + C# 项目打造的 Model Context Protocol (MCP) 服务器, 让 AI 助手能够实时访问、调试、控制游戏运行时。 ✨ 支持场景树查询、信号监听、日志分析、属性修改等 48 种工具。 🚀 一键集成 VSCode Copilot,构建智能化的 Godot 开发体验。
godot
MCP server from tugcantopaloglu/godot-mcp