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 solves
Godot AI allows AI assistants (like Claude Code, Claude Desktop, and Cursor) to directly interact with a live Godot game engine editor. This removes the need for the user to manually copy-paste code or manually set up scenes, allowing the AI to build scenes, edit nodes, and configure game environments in real-time.
How it works
The project implements the Model Context Protocol (MCP), acting as a bridge between an AI client and the Godot editor. The communication flow is as follows:
- MCP Client: The AI assistant (e.g., Claude) sends a request.
- Bridge: A Python server (
godot-ai attach) handles the request via stdio. - Godot Editor: A plugin within the Godot editor receives the authenticated WebSocket connection and executes the operations.
It provides 46 tools and over 120 operations to manipulate the editor, including script editing, signal wiring, and UI configuration.
Who it’s for
Game developers using the Godot Engine (4.7+) who want to leverage LLMs to automate the repetitive tasks of editor-based game development, such as building scenes, configuring materials, and setting up player controllers.
Highlights
- Deep Editor Integration: Can build scenes, edit nodes, wire signals, and configure UI, materials, animation, and particles.
- Broad Client Support: Compatible with Claude Code, Claude Desktop, Codex, Cursor, VS Code, and others.
- Broad Scripting Support: Full support for GDScript with parse-validation and hot-reloading; text-only support for C#.
- Secure Communication: Uses independent rotating capabilities and authenticated HTTP/WebSocket connections to ensure local loopback security.
Related
- Project
- Project
- Project
- Project
- Project