Production-grade MCP server and AI tools for the Godot engine
Project description
Godot AI
Connect MCP clients directly to a live Godot editor. Godot AI bridges AI assistants (Claude Code, Codex, Antigravity, etc.) with your Godot Editor via the Model Context Protocol. Inspect scenes, create nodes, search project data, run tests, and read structured editor resources — all from a prompt.
Status: early, usable, and still expanding.
Independent community project, not affiliated with the Godot Foundation. Godot Engine is MIT-licensed.
Quick Start
Prerequisites
- Godot
4.3+(4.4+recommended) - uv (used to install the Python server)
- An MCP client (Claude Code | Codex | Antigravity)
1. Install the plugin
Clone the repo (or download the zip) and copy the plugin into your Godot project:
git clone https://github.com/hi-godot/godot-ai.git
cp -r godot-ai/plugin/addons/godot_ai your-project/addons/
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.
3. Connect your MCP client
Pick a client in the dock's Clients dropdown and press Configure. The plugin writes the right config for:
- Claude Code (CLI)
- Claude Desktop (via
npx mcp-remotebridge) - Codex
- Antigravity
If auto-configure can't find the client's CLI (GUI-launched editors have limited PATH), the dock shows a Run this manually panel with a copyable command — or use the commands below directly.
Manual configuration
Server URL: http://127.0.0.1:8000/mcp
Claude Code (CLI):
claude mcp add --scope user --transport http godot-ai http://127.0.0.1:8000/mcp
Claude Desktop — edit ~/Library/Application Support/Claude/claude_desktop_config.json
(macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows) and add under
mcpServers:
"godot-ai": {
"command": "npx",
"args": ["-y", "mcp-remote", "http://127.0.0.1:8000/mcp"]
}
Requires Node.js (npx). Restart Claude Desktop after editing.
Codex — edit ~/.codex/config.toml and add:
[mcp_servers."godot-ai"]
url = "http://127.0.0.1:8000/mcp"
enabled = true
Antigravity — edit ~/.gemini/antigravity/mcp_config.json and add under
mcpServers:
"godot-ai": { "serverUrl": "http://127.0.0.1:8000/mcp", "disabled": false }
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 neon space city with glass towers, glowing planets, and fire / magic / spark particle effects."
An AI-authored scene: 10 emissive buildings, 3 glowing planets, Tron-style floor strips, and 6 varied particle effects — every node, material, and preset placed by MCP tool calls.
Available Tools
Sessions and Editor
| Tool | Description |
|---|---|
session_list |
List connected Godot editor sessions |
session_activate |
Set the active session for multi-editor routing |
editor_state |
Read Godot version, project name, current scene, and play state |
editor_selection_get |
Read the current editor selection |
logs_read |
Read recent MCP log lines from the editor |
editor_reload_plugin |
Reload the Godot editor plugin and wait for reconnect |
Scene and Nodes
| Tool | Description |
|---|---|
scene_get_hierarchy |
Read the scene tree with pagination |
scene_get_roots |
List open scenes in the editor |
node_create |
Create a node by type with optional name and parent path |
node_find |
Search nodes by name, type, or group |
node_get_properties |
Read all properties for a node |
node_get_children |
Read direct children for a node |
node_get_groups |
Read group membership for a node |
Project and Testing
| Tool | Description |
|---|---|
project_settings_get |
Read a Godot project setting by key |
filesystem_search |
Search project files by name, type, or path |
test_run |
Run GDScript test suites inside the editor |
test_results_get |
Read the most recent test results without rerunning |
Client Setup
| Tool | Description |
|---|---|
client_configure |
Configure a supported MCP client from the editor |
client_status |
Check which supported clients are configured |
MCP Resources
| Resource URI | Description |
|---|---|
godot://sessions |
Connected editor sessions with metadata |
godot://scene/current |
Current scene path, project name, and play state |
godot://scene/hierarchy |
Full scene hierarchy from the active editor |
godot://selection/current |
Current editor selection |
godot://project/info |
Active project metadata |
godot://project/settings |
Common project settings subset |
godot://logs/recent |
Recent editor log lines |
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file godot_ai-0.4.1.tar.gz.
File metadata
- Download URL: godot_ai-0.4.1.tar.gz
- Upload date:
- Size: 52.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c3c10e9627a1334667b051e6afa95deaa52acd8477414421ba4dc329301a814
|
|
| MD5 |
f92825f8c2bf695070e733c0b52f3002
|
|
| BLAKE2b-256 |
8eacb33e16fbd2199595c4ae9f05c82f4e1379f91db5fc4e1ee7faebd10d9a99
|
Provenance
The following attestation bundles were made for godot_ai-0.4.1.tar.gz:
Publisher:
release.yml on hi-godot/godot-ai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
godot_ai-0.4.1.tar.gz -
Subject digest:
0c3c10e9627a1334667b051e6afa95deaa52acd8477414421ba4dc329301a814 - Sigstore transparency entry: 1321208831
- Sigstore integration time:
-
Permalink:
hi-godot/godot-ai@20b075c2d642e70fab953f20a191360c932f44ef -
Branch / Tag:
refs/tags/v0.4.1 - Owner: https://github.com/hi-godot
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@20b075c2d642e70fab953f20a191360c932f44ef -
Trigger Event:
push
-
Statement type:
File details
Details for the file godot_ai-0.4.1-py3-none-any.whl.
File metadata
- Download URL: godot_ai-0.4.1-py3-none-any.whl
- Upload date:
- Size: 73.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cbc21610b3a20b2b0ae261f149dc299e5f4e852344d08a2d22985ee79ffa8b50
|
|
| MD5 |
fb135f836e2882f6e2e9472bec598b62
|
|
| BLAKE2b-256 |
7617222b393b2b73baf403e66970b7ccf3d303037a432ae14b498ab7eded8956
|
Provenance
The following attestation bundles were made for godot_ai-0.4.1-py3-none-any.whl:
Publisher:
release.yml on hi-godot/godot-ai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
godot_ai-0.4.1-py3-none-any.whl -
Subject digest:
cbc21610b3a20b2b0ae261f149dc299e5f4e852344d08a2d22985ee79ffa8b50 - Sigstore transparency entry: 1321208941
- Sigstore integration time:
-
Permalink:
hi-godot/godot-ai@20b075c2d642e70fab953f20a191360c932f44ef -
Branch / Tag:
refs/tags/v0.4.1 - Owner: https://github.com/hi-godot
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@20b075c2d642e70fab953f20a191360c932f44ef -
Trigger Event:
push
-
Statement type: