# Godot MCP Loop

> Godot MCP Loop is an open-source MCP server for games and play. Let an AI agent edit, run, observe and test a Godot 4 game through the live editor. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Self-hosted, macOS, Windows, Linux
- **Repository:** https://github.com/ai-osho/godot-mcp-loop
- **MCP Registry name:** io.github.AI-osho/godot-mcp-loop
- **Categories:** [games and play](https://ai-powered.com/categories/games-and-play), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-23

## About

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.

## Features

- **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

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add godot-mcp-loop -- npx -y godot-mcp-loop
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "godot-mcp-loop": {
      "command": "npx",
      "args": [
        "-y",
        "godot-mcp-loop"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "godot-mcp-loop": {
      "command": "npx",
      "args": [
        "-y",
        "godot-mcp-loop"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```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.

### VS Code (~/.copilot/mcp-config.json)

```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.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add godot-mcp-loop -- npx -y godot-mcp-loop
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.godot-mcp-loop]
command = "npx"
args = ["-y", "godot-mcp-loop"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```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

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```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 (~/.config/devin/mcp_config.json)

```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 (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "godot-mcp-loop": {
      "command": "npx",
      "args": [
        "-y",
        "godot-mcp-loop"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```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 (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "godot-mcp-loop": {
      "command": "npx",
      "args": [
        "-y",
        "godot-mcp-loop"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "godot-mcp-loop": {
      "command": "npx",
      "args": [
        "-y",
        "godot-mcp-loop"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "godot-mcp-loop": {
      "command": "npx",
      "args": [
        "-y",
        "godot-mcp-loop"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "godot-mcp-loop": {
      "command": "npx",
      "args": [
        "-y",
        "godot-mcp-loop"
      ]
    }
  }
}
```

## Tools

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_status` (name 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_add` (name suggests: changes): Add a node
- `node_add_tree` (name suggests: changes): Add a bounded 2D or UI subtree
- `script_edit` (name suggests: changes): Edit a script
- `game_run` (name suggests: changes): Run the game
- `game_input`: Send input to the running game
- `game_query` (name suggests: reads): Query live game state
- `screenshot`: Capture a screenshot
- `scenario_run` (name suggests: changes): Run a replayable scenario with evidence
- `test_run` (name suggests: changes): Run GUT or GdUnit4 tests
- `project_export` (name suggests: reads): Export a release build from a preset
- `edit_undo` (name suggests: changes): Undo an edit

## 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.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/godot-mcp-loop
