Skip to main content

Production-grade MCP server and AI tools for the Godot engine

Project description

Godot AI — The wait is over

Godot AI

CI codecov Godot Asset Library Discord

Connect MCP clients directly to a live Godot editor via the Model Context Protocol. Over 120 MCP tools (full list) let AI assistants (Claude Code, Codex, Antigravity, etc.) build scenes, edit nodes and scripts, wire signals, and configure UI, materials, animations, particles, cameras, and environments.

🎉 Now on the Godot Asset Library — one-click install from Godot's AssetLib tab. You'll still need uv for the Python server (see Quick Start).

Godot AI on the Godot Asset Library

💬 Join the Discord — questions, showcases, and contributor chat.

Independent community project, not affiliated with the Godot Foundation. Godot Engine is MIT-licensed.


Quick Start

Prerequisites

  • Godot 4.3+ (4.4+ recommended)
  • uv (for the Python server):
    • macOS / Linux: curl -LsSf https://astral.sh/uv/install.sh | sh
    • Windows (PowerShell): powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
    • Other options: uv install docs
  • An MCP client (Claude Code | Codex | Antigravity)

1. Install the plugin

Recommended — via the Godot Asset Library: in Godot, open the AssetLib tab, search for Godot AI, click Download, then Install.

Or install from source
git clone https://github.com/hi-godot/godot-ai.git
cp -r godot-ai/plugin/addons/godot_ai your-project/addons/

Alternatively, download the latest release ZIP and extract addons/godot_ai into your project's addons/ folder.

2. Enable the plugin

In Godot: Project > Project Settings > Plugins — enable Godot AI.

The plugin will automatically start the MCP server, connect over WebSocket, and show status in the Godot AI dock.

Godot AI dock

3. Connect your MCP client

The dock lists every supported client with a status dot and per-row Configure / Remove buttons, or press Configure all. Auto-configure covers:

  • Claude Code, Claude Desktop, Antigravity
…and 15+ more clients

Codex, Cursor, Windsurf, VS Code, VS Code Insiders, Zed, Gemini CLI, Cline, Kilo Code, Roo Code, Kiro, Trae, Cherry Studio, OpenCode, Qwen Code.

Server URL is always http://127.0.0.1:8000/mcp. If auto-configure can't find a CLI, each dock row exposes a Run this manually panel with a copyable snippet.

4. Try it

  • "Show me the current scene hierarchy."
  • "Create a Camera3D named MainCamera under /Main."
  • "Search the project for PackedScene files in ui/."
  • "Run the scene test suite."
  • "Build a voxel block-world game with a player, blocks to place and destroy, and save slots."

Block-world game scene built from MCP tool calls — voxel terrain, player, and UI

An AI-authored scene built from a handful of prompts — terrain, player, blocks, and UI, all placed by MCP tool calls. The full game and modular save system built by Godot AI are available free here.


Tools and resources: see docs/TOOLS.md for the full list of 120+ MCP tools and resources, grouped by domain.

Manual Client Configuration

Claude Code

claude mcp add --scope user --transport http godot-ai http://127.0.0.1:8000/mcp

Codex (~/.codex/config.toml)

[mcp_servers."godot-ai"]
url = "http://127.0.0.1:8000/mcp"
enabled = true

Antigravity (~/.gemini/antigravity/mcp_config.json)

{
  "mcpServers": {
    "godot-ai": {
      "serverUrl": "http://127.0.0.1:8000/mcp",
      "disabled": false
    }
  }
}
How It Works
MCP Client
   | HTTP (/mcp)
   v
Python Server (FastMCP)      port 8000
   | WebSocket               port 9500
   v
Godot Editor Plugin
   | EditorInterface + SceneTree APIs
   v
Godot Editor

The plugin starts or reuses the Python server, connects over WebSocket, and exposes editor capabilities as MCP tools and resources over HTTP.

Contributing

See CONTRIBUTING.md for development setup, testing, and PR guidelines.


Star History

Star History Chart

License: MIT | Issues: GitHub

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

godot_ai-1.1.0.tar.gz (70.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

godot_ai-1.1.0-py3-none-any.whl (98.0 kB view details)

Uploaded Python 3

File details

Details for the file godot_ai-1.1.0.tar.gz.

File metadata

  • Download URL: godot_ai-1.1.0.tar.gz
  • Upload date:
  • Size: 70.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for godot_ai-1.1.0.tar.gz
Algorithm Hash digest
SHA256 7ac23288ac90f2441c5b890b4e41124cd0afb816cf405c8943dc4e33adf2bf0b
MD5 f0c93fa070ea73e31e7e528e8c5b208c
BLAKE2b-256 42b39cd6d4c554b95b466bafd890821c09400c81e93be93526452fb1453c46ea

See more details on using hashes here.

Provenance

The following attestation bundles were made for godot_ai-1.1.0.tar.gz:

Publisher: release.yml on hi-godot/godot-ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file godot_ai-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: godot_ai-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 98.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for godot_ai-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 938e40bc087487a0d32d09a966d0dcd28df8ab2312976ce2301048bc8a776bad
MD5 a3a52785c32f917c60767bd2a8d681e3
BLAKE2b-256 6a4d5d3278621cad1988e3a821a619a49d11ba1c9677bb2624260c6341e78a7f

See more details on using hashes here.

Provenance

The following attestation bundles were made for godot_ai-1.1.0-py3-none-any.whl:

Publisher: release.yml on hi-godot/godot-ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page