Godot MCP Loop
Let an AI agent edit, run, observe and test a Godot 4 game through the live editor
Godot MCP Loop is an open-source MCP server for games and play. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, Self-hosted, macOS
- Runs
- Locally
- What it can do
- Can change data (7 tools)
- Version
- 0.9.0
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add godot-mcp-loop -- npx -y godot-mcp-loopAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"godot-mcp-loop": {
"command": "npx",
"args": [
"-y",
"godot-mcp-loop"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"godot-mcp-loop": {
"command": "npx",
"args": [
"-y",
"godot-mcp-loop"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"godot-mcp-loop": {
"command": "npx",
"args": [
"-y",
"godot-mcp-loop"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"godot-mcp-loop": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"godot-mcp-loop"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add godot-mcp-loop -- npx -y godot-mcp-loopOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.godot-mcp-loop]
command = "npx"
args = ["-y", "godot-mcp-loop"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"godot-mcp-loop": {
"command": "npx",
"args": [
"-y",
"godot-mcp-loop"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "godot-mcp-loop": { "command": "npx", "args": [ "-y", "godot-mcp-loop" ] } } }Or run: gemini mcp add -s user godot-mcp-loop npx -- -y godot-mcp-loop
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "godot-mcp-loop": { "command": "npx", "args": [ "-y", "godot-mcp-loop" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "godot-mcp-loop": { "command": "npx", "args": [ "-y", "godot-mcp-loop" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "godot-mcp-loop": { "command": "npx", "args": [ "-y", "godot-mcp-loop" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "godot-mcp-loop": { "command": "npx", "args": [ "-y", "godot-mcp-loop" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "godot-mcp-loop": { "command": "npx", "args": [ "-y", "godot-mcp-loop" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "godot-mcp-loop": { "command": "npx", "args": [ "-y", "godot-mcp-loop" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "godot-mcp-loop": { "command": "npx", "args": [ "-y", "godot-mcp-loop" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About Godot MCP Loop
godot-mcp-loop pairs a TypeScript stdio server with a Godot editor addon. The addon edits through the editor and forwards runtime requests through Godot's debugger, while the server talks to it over an authenticated loopback WebSocket. The agent drives a four-step loop: change scenes or scripts, run the project and send input, read state and capture frames, then check results against expected values or replayable YAML or JSON scenarios.
The README is clear that this is not a hosted service that finishes a game for you: rules, art, sound and level design remain authored work, and supported edits offer preview and undo. Version 0.12.0 has 49 tools covering scenes, nodes, GDScript, input actions, project settings, runtime queries, UI audits, physics stepping, screenshots, logs, GUT and GdUnit4 test runs, release export from a preset, and an artwork pipeline. Scenario runs can produce a GIF and contact sheet.
Six sample games (falling blocks, shooter, side-scroller, RPG, marble run and tower defense) can be copied and played without an AI account. It needs Node.js 20+ and Godot 4.7, tested with 4.7.2, and is MIT licensed. The security notes warn the loopback checks are not an OS sandbox, so use trusted projects.
Tools this server provides (15)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 7 of 15 tools change data; 5 names don't say.
From the server's own tool labels and tool names; not verified by us.
- godot_statusName suggests: reads
- Report Godot connection status
- editor_launch
- Find Godot and open the project
- scene_open
- Open a scene
- scene_tree
- Inspect a scene tree
- node_addName suggests: changes
- Add a node
- node_add_treeName suggests: changes
- Add a bounded 2D or UI subtree
- script_editName suggests: changes
- Edit a script
- game_runName suggests: changes
- Run the game
- game_input
- Send input to the running game
- game_queryName suggests: reads
- Query live game state
- screenshot
- Capture a screenshot
- scenario_runName suggests: changes
- Run a replayable scenario with evidence
- test_runName suggests: changes
- Run GUT or GdUnit4 tests
- project_exportName suggests: reads
- Export a release build from a preset
- edit_undoName suggests: changes
- Undo an edit
What it does
- Scene and script editing
- Create scenes, edit nodes and GDScript, with preview and undo.
- Runtime observation
- Send input, query state, step physics, read logs and take screenshots.
- Scenario checks
- Replay YAML or JSON scenarios with evidence folders and GIFs.
- Test runners
- Run GUT and GdUnit4 suites from the agent.
- Artwork pipeline
- Brief, register, process and place PNG assets.
- Sample games
- Six standalone Godot projects to copy and play.
Good for
- Have an agent add a node subtree and test it in the running game
- Replay a scenario to catch regressions after a change
- Record a GIF of gameplay for a bug report
- Audit a game's UI layout automatically
Pricing
Open source
MIT licence
Godot MCP Loop FAQ
Which Godot version is needed?
Godot 4.7 is the qualified target, tested with 4.7.2.
Do I need an AI account to try Godot MCP Loop?
No. The sample games can be copied and played without one.
Does Godot MCP Loop finish a game on its own?
No. The README says the agent calls the tools and design, art and playtesting stay authored work.
Is Godot MCP Loop sandboxed?
No. Loopback authentication and path guards are not an OS sandbox, so use trusted projects.
Is Godot MCP Loop free?
Yes. Godot MCP Loop is open source, so you can use and self-host it for free.
How do I add Godot MCP Loop to Claude Code?
Run this command in your terminal: claude mcp add godot-mcp-loop -- npx -y godot-mcp-loop
What are the best alternatives to Godot MCP Loop?
The closest alternatives to Godot MCP Loop are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.


