# godot-mcp

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/sandraschi/godot-mcp  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/godot-mcp

## Description
Godot MCP server - Godot 4.x engine control via TCP bridge, STL/GLB/OBJ import, GPU particles, an...

## Claude Desktop Quick Installation
Heuristic fallback — verify the package name and runner against the repository README before running it. Uses `npx` (confidence: low):

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

## Documentation & README

# Godot MCP

<p align="center">
  <img src="https://img.shields.io/badge/just-ready_to_go-7c5cfc?style=flat-square" alt="Just">
  <img src="https://img.shields.io/badge/Python-3.13-3776AB?style=flat-square" alt="Python">
  <img src="https://img.shields.io/badge/FastMCP-3.4-7c5cfc?style=flat-square" alt="FastMCP">
  <img src="https://img.shields.io/badge/tier-T3--desktop-7c5cfc?style=flat-square" alt="Release Tier">
</p>

AI-driven Godot 4 control via MCP — scene manipulation, 3D import, GPU particles,
procedural textures, HTML5 export. **Deterministic playtesting**: freeze the game
clock, inject analog/joypad/mouse input, step frame-by-step until a condition is
met, read live game state as structured JSON. **Game Builder**: describe a game
in natural language and get playable GDScript + export. Publish to itch.io and
Steam. 95+ tools, 77 tests, NSIS desktop installer.

---

## Quick Install

```powershell
git clone https://github.com/sandraschi/godot-mcp
cd godot-mcp
just bootstrap       # install deps
just serve           # start server (10993)
just web             # open dashboard (10992)
```

See [INSTALL.md](https://github.com/sandraschi/godot-mcp/blob/HEAD/INSTALL.md) for all options (MCPB, dev setup, naked PC).

---

## Features

- **Game Builder** — `design_game` -> `generate_game_logic` -> `generate_game_tests` -> `generate_dialogue` -> export. Validated with gdlint + godot --check-only, auto-repaired by LLM. [Tutorial](https://github.com/sandraschi/godot-mcp/blob/HEAD/docs/game-builder-tutorial.md)
- **Procedural textures** — `godot_generate_procedural_texture`: gradient, noise, checker, solid. No external assets needed.
- **Deterministic playtesting** — freeze game clock, step frame-by-step, step-until GDScript condition, analog/joypad/mouse/text input injection. Three-phase implementation inspired by satelliteoflove/godot-mcp.
- **Structured game state** — `godot_state_digest` reads live node state as JSON via `_mcp_state()` convention or auto-collected properties. Cheaper than full scene tree dump.
- **Engine control** — 30 bridge tools: import STL/GLB/OBJ, particles, cameras, lighting, animation, viewport capture, input simulation, scene node management.
- **Animation keyframe editor** — query tracks down to individual keyframes, insert/remove keys, set interpolation.
- **TileMap/GridMap editing** — read and write cell data directly (bypasses base64 `.tscn` serialization).
- **Performance profiler** — 14 engine metrics with auto-sampling and spike detection (>2 stddev).
- **Mesh validation** — scan for NaN vertices, degenerate triangles, zero normals.
- **3D Gaussian Splat import** — import `.ply` and `.spz` files with a custom billboarded Gaussian shader (per-splat scale, SH DC color).
- **Publishing** — `itch_ops` and `steam_ops` portmanteaus for itch.io Butler and SteamPipe. Cross-repo fleet pipeline.
- **GDScript validation** — two-pass (gdlint style + godot compile) with LLM repair. 
- **Plugin ecosystem** — 7 community plugins installable from the `/plugins` page.
- **LLM detection** — auto GPU probe, model recommendation by VRAM tier. Default `gemma4:12b`.
- **Sample game** — [Vibecoder Runner](https://github.com/sandraschi/godot-mcp/blob/HEAD/samples/vibecode-runner/) with 10 AI-themed enemy types.

## What You Can Do

```powershell
just gb-demo "A 2D runner where you collect stars and avoid spikes"
just bridge-test                          # check engine connection
just demo-run vibecode                    # play sample game
just gb-preview                           # preview latest HTML5 export
```

## Documentation

| Doc | Contents |
|-----|----------|
| [Installation](https://github.com/sandraschi/godot-mcp/blob/HEAD/INSTALL.md) | All install methods |
| [Configuration](https://github.com/sandraschi/godot-mcp/blob/HEAD/docs/CONFIGURATION.md) | Env vars, settings |
| [Tool Reference](https://github.com/sandraschi/godot-mcp/blob/HEAD/docs/TOOLS.md) | All 90+ MCP tools |
| [Playtesting Spec](https://github.com/sandraschi/godot-mcp/blob/HEAD/docs/SPEC_DETERMINISTIC_PLAYTESTING.md) | Deterministic playtesting architecture |
| [Demo Scripts](https://github.com/sandraschi/godot-mcp/blob/HEAD/demos/) | Playtesting, profiling, scene inspection, splat import demos |
| [Game Builder Tutorial](https://github.com/sandraschi/godot-mcp/blob/HEAD/docs/game-builder-tutorial.md) | Prompt-to-game walkthrough |
| [Godot Ecosystem](https://github.com/sandraschi/godot-mcp/blob/HEAD/docs/godot-ecosystem.md) | Plugins, gdtoolkit, fleet pipeline |
| [Troubleshooting](https://github.com/sandraschi/godot-mcp/blob/HEAD/docs/TROUBLESHOOTING.md) | Common issues |
| [API Reference](https://github.com/sandraschi/godot-mcp/blob/HEAD/docs/api.md) | REST endpoints |
| [Development](https://github.com/sandraschi/godot-mcp/blob/HEAD/docs/DEVELOPMENT.md) | Contributing, local setup |

## Requirements

- **Godot 4.4+** (for engine bridge tools) — `just install-godot` or [godotengine.org](https://godotengine.org)
- **Python 3.13+** + **uv** — `winget install astral-sh.uv`
- **Bun** — `winget install oven-sh.bun`
- **Ollama** (optional, for game builder) — `winget install Ollama.Ollama` then `ollama pull gemma4:12b`
- **Rust** (optional, for NSIS build) — `rustup.rs`

## License

MIT — see [LICENSE](https://github.com/sandraschi/godot-mcp/blob/HEAD/LICENSE).

