Metadata-Version: 2.4
Name: godot-ai
Version: 4.4.0
Summary: Production-grade MCP server and AI tools for the Godot engine
Author: Godot AI contributors
Project-URL: Homepage, https://github.com/hi-godot/godot-ai
Project-URL: Repository, https://github.com/hi-godot/godot-ai
Project-URL: Issues, https://github.com/hi-godot/godot-ai/issues
Project-URL: Documentation, https://github.com/hi-godot/godot-ai#readme
Keywords: godot,godot-engine,mcp,model-context-protocol,ai,llm,gamedev,editor-plugin
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Topic :: Games/Entertainment
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Code Generators
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Operating System :: OS Independent
Classifier: Environment :: Console
Classifier: Framework :: AsyncIO
Requires-Python: <3.15,>=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: fastmcp==4.1.3
Requires-Dist: fastmcp-slim==4.1.3
Requires-Dist: anyio==4.15.1
Requires-Dist: mcp==2.3.0
Requires-Dist: mcp-types==2.3.0
Requires-Dist: websockets==17.3
Requires-Dist: pydantic==2.13.5
Requires-Dist: httpx==0.28.1
Requires-Dist: sniffio==1.3.1
Requires-Dist: httpx2==2.13.1
Requires-Dist: httpcore2==2.13.1
Requires-Dist: uvicorn==0.54.0
Requires-Dist: starlette==1.7.0
Requires-Dist: h11==0.16.0
Provides-Extra: dev
Requires-Dist: pytest>=9.0.3; extra == "dev"
Requires-Dist: pytest-asyncio>=0.24; extra == "dev"
Requires-Dist: pytest-cov>=6.0; extra == "dev"
Requires-Dist: pytest-xdist>=3.5; extra == "dev"
Requires-Dist: hypothesis>=6.0; extra == "dev"
Requires-Dist: ruff>=0.8; extra == "dev"
Requires-Dist: pillow>=13.0; extra == "dev"
Requires-Dist: psutil==7.2.2; extra == "dev"
Requires-Dist: cryptography>=50.0.0; extra == "dev"
Provides-Extra: build
Requires-Dist: build==1.6.1; extra == "build"
Requires-Dist: pyinstaller==6.22.3; extra == "build"
Dynamic: license-file

<p align="center">
  <img src="docs/hero.png" alt="Godot AI — The wait is over" width="700">
</p>

# Godot AI

[![CI](https://github.com/hi-godot/godot-ai/actions/workflows/ci.yml/badge.svg)](https://github.com/hi-godot/godot-ai/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/hi-godot/godot-ai/graph/badge.svg)](https://codecov.io/gh/hi-godot/godot-ai)
[![Discord](https://img.shields.io/badge/Discord-Join%20chat-5865F2?logo=discord&logoColor=white)](https://discord.gg/FDZ5fr2QkP)

**Godot AI connects Claude Code, Codex, Cursor, and other
[MCP](https://modelcontextprotocol.io/introduction) clients to a live Godot
editor.** Its [46 tools and 120+ operations](docs/TOOLS.md) build scenes, edit
nodes and scripts, wire signals, and configure UI, materials, animation,
particles, cameras, and environments.

**21,000+ monthly active installs · 30M+ tool calls in the last three months · 3,200+ GitHub stars**
<br><sub>Install and tool-call counts come from anonymous telemetry and exclude opted-out installs: the 30 days, and July 27 onward, to October 25, 2026.</sub>

<p align="center">
  <img src="docs/images/huddemo.gif" alt="Cyberpunk HUD demo" width="800"><br>
  <em>Built in ~2 hours with Godot AI, without hand-written code or image generation — <a href="https://github.com/hi-godot/cyberpunk-hud-demo">source</a></em>
</p>

## Quick start

You need **Godot 4.7+**, [uv](https://docs.astral.sh/uv/getting-started/installation/)
(it runs the Python server), and an MCP client.

1. **Install uv** (once):
   - macOS/Linux:
     ```sh
     curl -LsSf https://astral.sh/uv/install.sh | sh
     ```
   - Windows (PowerShell):
     ```powershell
     irm https://astral.sh/uv/install.ps1 | iex
     ```
2. **Install the add-on** from the Asset Store (Godot's **AssetLib** tab), or
   from a [GitHub release](https://github.com/hi-godot/godot-ai/releases) into
   `your-project/addons/godot_ai/`.
3. **Enable it:** **Project → Project Settings → Plugins → Godot AI**.
4. **Connect your client:** in the **Godot AI** dock, press **Configure** next
   to your client, or **Configure all**. Restart the client if it doesn't
   notice the change.

<p align="center">
  <img src="docs/images/dock-v4.png" alt="Godot AI dock showing a connected server and configured clients" width="396">
</p>

**Already installed?** Click **Update** in the dock. Never extract a new
version over an existing `addons/godot_ai/`. From v3, the same button migrates
you to v4 ([migration guide](docs/v4-migration.md)).

<details>
<summary><strong>Supported clients and exceptions</strong></summary>

The dock configures 26 clients, including Claude Code, Claude Desktop, Codex,
Cursor, VS Code, Antigravity, Gemini CLI, and Hermes Agent, and shows a
**Run this manually** command for the rest.

- Use the dock-generated command: it pins the matching version, ports, and
  tool domains. v4 clients connect through `godot-ai attach` over stdio; a bare
  `http://127.0.0.1:8000/mcp` entry cannot authenticate.
- Updates repin owned client entries automatically. The default scope is
  global, so this also redirects other projects still on an older version;
  update them too. Reconfigure after changing ports, telemetry preferences, or
  tool domains.
- Pi Coding Agent needs an MCP extension that reads `~/.pi/agent/mcp.json`.
  Cherry Studio is not supported in v4; remove stale v3 entries in Cherry
  Studio itself.

Details: [client configuration](docs/client-configuration.md).

</details>

<details>
<summary><strong>Per-project configuration</strong></summary>

CLI-configured clients default to global `user` scope. Set **Editor Settings →
Plugins → `godot_ai/mcp_client_scope`** to `project` (or `local`, where supported),
then press **Configure** again.

**Configure** removes existing `godot-ai` entries from every scope before
writing the selected one. This can modify a checked-in `.mcp.json`, but does not
touch other server entries. **Remove** affects only the selected scope.

Launch Godot from the project directory so the client CLI writes configuration
in the right place. Claude Code also requires one-time approval from `claude`
run inside that project.

</details>

<details>
<summary><strong>GDScript and C#</strong></summary>

GDScript is fully supported: scripts are parse-validated, hot-reloaded,
attached, and outlined. C# is **text-only**: `script_create` / `script_patch`
write `.cs` files and `script_manage(op="find_symbols")` outlines them, but
Godot AI does not build .NET or report compiler errors. Attaching a `.cs` needs
a .NET-enabled editor build. [C# support](docs/TOOLS.md#c-support).

</details>

### Try it

- *"Show me the current scene hierarchy."*
- *"Create a Camera3D named MainCamera under /Main."*
- *"Run the scene test suite."*
- *"Build a voxel block-world game with a player, blocks to place and destroy, and save slots."*

<p align="center">
  <img src="docs/images/blockarena.gif" alt="Block-world game built with Godot AI" width="640"><br>
  <em>A block-world game with a save system, built from a handful of prompts — <a href="https://github.com/dsarno/save-system-godot-claude">source</a></em>
</p>

## Security

Godot AI has prioritized security from the start. Today that includes:

- **Signed releases.** The in-editor updater verifies the signature and every
  file before it installs anything.
- **Authenticated local connections.** The server and the editor accept only
  connections that present rotating credentials, and the editor connection is
  loopback-only.
- **Project confinement.** Writes stay inside your project, and
  `project.godot`, `override.cfg`, and `.godot/` are off-limits.
- **A guarded release pipeline.** Pinned dependencies, qualification on Linux,
  macOS, and Windows, and a human approval before anything is published.
- **Open disclosure.** Vulnerabilities are fixed and published as
  [security advisories](https://github.com/hi-godot/godot-ai/security/advisories).

**Update promptly.** 4.3.1, for example, removes the emSign root certificates
compromised in October 2026.

That said, attacks on open-source supply chains are increasing, and more critical
vulnerabilities will appear in Godot AI, its dependencies, and the tools
around it. Following advisories and the wider security landscape is your
responsibility. Godot AI is MIT-licensed open source, provided as is; you use
it at your own risk.

<details>
<summary><strong>How it works</strong></summary>

```text
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 capabilities; neither falls back to
unauthenticated access, and the editor WebSocket stays loopback-only. These
controls do not protect against a compromised same-user process, and Windows
does not claim isolation from other local accounts. See the
[security model](docs/plugin-architecture.md#security-model),
[package trust boundaries](docs/packaging-distribution.md), and
[agents on another machine or in a container](docs/client-configuration.md#agents-on-another-machine-or-in-a-container).

</details>

## Privacy

Anonymous telemetry records an installation UUID, event, outcome, duration,
platform, and version, never code, scene contents, or project or file names.
Opt out with `GODOT_AI_DISABLE_TELEMETRY=true` or `DISABLE_TELEMETRY=true`, or
in the editor. [Details](docs/TELEMETRY.md).

## Docs and help

- [Tools, operations, and resources](docs/TOOLS.md) ·
  [Write and run tests for your game](docs/testing.md) ·
  [Community addons and custom tools](docs/community-addons.md)
- [Upgrading from v3](docs/v4-migration.md) ·
  [Linux troubleshooting](docs/troubleshooting-linux.md) (Bazzite, Steam, Flatpak) ·
  [Changelog](CHANGELOG.md)
- [Contributing](docs/CONTRIBUTING.md) ·
  [Discord](https://discord.gg/FDZ5fr2QkP) for questions and showcases ·
  [GitHub Issues](https://github.com/hi-godot/godot-ai/issues) for bugs

## Star History

<!-- Generated by .github/workflows/star-history.yml on the star-history branch. -->
<a href="https://github.com/hi-godot/godot-ai/stargazers">
  <img src="https://raw.githubusercontent.com/hi-godot/godot-ai/star-history/star-history.svg" alt="Star History Chart" width="700">
</a>

**License:** [MIT](LICENSE)
