hi-godot/godot-ai
Production-grade MCP server and AI tools for the Godot engine. A Snap to install. Totally free and fun.
What it is
Godot AI is a plugin that lets AI coding assistants (Claude Code, Codex, Cursor, and other MCP-compatible tools) control a running Godot game editor directly. Instead of the AI just writing code files, it can build scenes, edit nodes and scripts, connect signals, and configure UI, materials, animation, particles, cameras, and environments — through 46 tools and 120+ operations.
Scale
The README reports 21,000+ monthly active installs, 30M+ tool calls in the last three months, and 3,200+ GitHub stars. These numbers come from anonymous telemetry and exclude users who opted out.
Requirements
- Godot 4.7+ (the game engine)
uv(a Python package runner — it launches the server component)- An MCP client (the AI assistant)
Setup
- Install
uvonce. - Install the add-on from Godot's AssetLib tab or from a GitHub release into
your-project/addons/godot_ai/. - Enable it: Project → Project Settings → Plugins → Godot AI.
- In the Godot AI dock, press Configure next to your client (or Configure all), then restart the client if needed.
The dock configures 26 clients automatically, including Claude Code, Claude Desktop, Codex, Cursor, VS Code, Antigravity, Gemini CLI, and Hermes Agent. For others it shows a manual command. Two exceptions: Pi Coding Agent needs a separate MCP extension, and Cherry Studio is not supported in v4.
Language support
- GDScript (Godot's native language): fully supported — scripts are parse-validated, hot-reloaded, attached, and outlined.
- C#: text-only. The plugin writes
.csfiles and outlines symbols, but does not compile .NET code or report compiler errors. Attaching a.csfile requires a .NET-enabled editor build.
Security
The README lists several protections:
- Signed releases — the in-editor updater verifies signatures and every file before installing.
- Authenticated local connections — both the server and editor only accept connections with rotating credentials; the editor connection is loopback-only (local machine only).
- Project confinement — writes stay inside the project, and
project.godot,override.cfg, and.godot/are off-limits. - Guarded release pipeline — pinned dependencies, testing on Linux/macOS/Windows, and human approval before publishing.
- Open disclosure — vulnerabilities are fixed and published as security advisories.
The README also warns that supply-chain attacks are increasing, more vulnerabilities will appear, and following advisories is the user's responsibility. It notes one concrete example: version 4.3.1 removed emSign root certificates that were compromised in October 2026.
How it works (architecture)
MCP client
→ godot-ai attach (stdio)
→ Python server (authenticated HTTP, port 8000)
→ Godot editor plugin (authenticated WebSocket, port 9500)
Both local hops use independent rotating credentials; neither falls back to unauthenticated access. The README notes these controls don't protect against a compromised same-user process, and Windows doesn't claim isolation from other local accounts.
Privacy
Anonymous telemetry records an installation UUID, event, outcome, duration, platform, and version — never code, scene contents, or project/file names. Opt out with GODOT_AI_DISABLE_TELEMETRY=true or DISABLE_TELEMETRY=true, or in the editor.
License
MIT.
Related
- Project
- Project
- Project
- Project
- Project