godot-mcp
Click on "Install 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., "@godot-mcpAdd a new Sprite2D node to the current scene"
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.
godot-mcp
Godot 4 MCP bridge — TypeScript MCP server over stdio, WebSocket JSON to a Godot 4.4+ editor plugin. Works with Cursor and any MCP client.
Repository: https://github.com/youssof20/godot-mcp
Architecture
MCP client (Cursor, etc.)
↔ stdio (@modelcontextprotocol/sdk)
TypeScript MCP server (this repo)
↔ WebSocket JSON (ws://127.0.0.1:6505)
Godot 4 editor plugin (addons/godot_mcp_personal)
↔ EditorPlugin / Godot APIsSee docs/PROTOCOL.md and docs/GODOT_API_NOTES.md.
Related MCP server: MCP Server Demo
Status — Phase 10 complete
153 working tools across project/scene/node/script editing, runtime, input, QA, animation, tilemap, physics, 3D, particles, navigation, audio, theme, shaders, export, analysis, and get_tool_help.
Mode | Tools | Env |
| 12 core read/save tools |
|
| 150 (excludes export/stress/dangerous) |
|
| 153 (default) |
|
Requirements
Node.js 18+
Godot 4.4+ (tested on 4.7)
MCP client with stdio support
Quick start
1. Install and build
git clone https://github.com/youssof20/godot-mcp.git
cd godot-mcp
npm install
npm run build2. Enable the Godot plugin
Copy addons/godot_mcp_personal/ into your project, or open this repo as a Godot project.
Enable: Project → Project Settings → Plugins → Godot MCP
Confirm Output:
[godot-mcp] WebSocket server listening on ws://127.0.0.1:65053. Configure MCP
This repo includes .cursor/mcp.json:
{
"mcpServers": {
"godot-mcp": {
"command": "node",
"args": ["<path-to-repo>/dist/index.js"],
"env": { "GODOT_MCP_MODE": "full" }
}
}
}After code changes: reload Godot project → npm run build → restart MCP server.
Verify:
npm run test:tools # expect count: 153
npm run test:phase10Environment variables
Variable | Default | Description |
|
| WebSocket port |
|
|
|
|
| Tool call timeout |
| unset | Set |
CI
GitHub Actions runs npm ci, build, and typecheck on push/PR to main.
Repository layout
src/ TypeScript MCP server
addons/godot_mcp_personal/ Godot editor plugin
docs/ Protocol, tool matrix, testing
scripts/ Smoke tests (phase3–phase10)
.github/workflows/ci.yml CI pipelinePrinciples
Every exported tool works end-to-end through Godot
Mutations use undo/redo where possible
Dangerous tools gated by
ALLOW_GODOT_MCP_DANGEROUS=1
License
MIT — use freely in your projects.
This server cannot be installed
Maintenance
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/youssof20/godot-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server