Godot MCP
About
A Model Context Protocol (MCP) server for interacting with the Godot game engine.
Details
- Author
- bradypp
- Downloads
- 526
- Categories
- Other
Jump to
- Launch Godot editor and run projects with debug output capture
- Create, modify, and manage Godot scenes and nodes
- Load textures into Sprite2D nodes and export MeshLibrary resources
- Get Godot version, project info, and list projects in directories
- Support for Godot 4.4+ UID management (get and update UIDs)
- Optional read-only mode for safe project analysis
- Zero-config automatic Godot detection with manual override
Install by cloning the repository, running npm install and npm run build. Configure the server by adding a JSON entry (with command, args, and environment variables) to your AI assistantβs MCP settings file (e.g., for Cline, Cursor, or VS Code). Optionally set GODOT_PATH, DEBUG, or READ_ONLY_MODE environment variables.
Godot MCP
Table of Contents
- What is Godot MCP? - Features - Requirements - Installation - Configuration - API Reference - Project Architecture - Usage Examples - Read-Only Mode - Troubleshooting - FAQ - Contributing - LicenseWhat is Godot MCP?
Godot MCP bridges the gap between AI assistants and the Godot game engine by providing a standardized Model Context Protocol interface. This powerful integration enables AI assistants like Claude, Cursor, and Cline to directly interact with Godot projects through a comprehensive set of tools.Key Value Propositions
- Direct Godot Integration: Launch editors, run projects, and capture debug output programmatically - Scene Management: Create, modify, and manage Godot scenes through AI commands - Real-time Feedback: AI assistants can see actual Godot output and errors for better assistance - Cross-platform Compatibility: Works seamlessly on Windows, macOS, and Linux - Secure Operations: Optional read-only mode for safe project analysis - Zero Configuration: Automatic Godot detection with manual override optionsHow It Works
The server acts as a middleware layer between your AI assistant and Godot, translating natural language commands into specific Godot operations. When you ask your AI to "create a player scene with a sprite," the MCP server: 1. Validates the request and project structure 2. Executes the appropriate Godot operations 3. Returns detailed success/error feedback 4. Enables the AI to understand and respond to the results This creates a powerful feedback loop where AI assistants can learn from actual Godot behavior, leading to more accurate code generation and debugging assistance.Features
Core Project Management
- π Launch Godot Editor: Open the Godot editor for specific projects - βΆοΈ Run Godot Projects: Execute projects in debug mode with real-time output capture - π Control Execution: Start and stop Godot projects programmatically - π Debug Output Capture: Retrieve comprehensive console output and error messages - βΉοΈ System Information: Get installed Godot version and project metadata - π Project Discovery: Find and list Godot projects in specified directoriesAdvanced Scene Management
- π¬ Create New Scenes: Generate scenes with specified root node types - β Add Nodes: Insert nodes into existing scenes with customizable properties - βοΈ Edit Node Properties: Modify positions, scales, textures, and other node attributes - ποΈ Remove Nodes: Clean up scenes by removing unwanted nodes - πΌοΈ Load Sprites: Automatically load textures into Sprite2D nodes - π§± Export MeshLibrary: Convert 3D scenes to MeshLibrary resources for GridMap - πΎ Save Scene Variants: Create scene copies and manage scene versionsGodot 4.4+ UID Management
- π Get File UIDs: Retrieve unique identifiers for project resources - π Update UID References: Maintain proper resource links during project upgradesSecurity & Safety
- π Read-Only Mode: Restrict operations to analysis-only for secure environments - β Path Validation: Comprehensive project and file path verification - π‘οΈ Error Handling: Robust error reporting with actionable suggestionsRequirements
System Requirements
- Godot Engine: Version 3.5+ or 4.0+ (latest stable recommended) - Node.js & npmAI Assistant Compatibility
- Cline & Roo Code: Full support with auto-approval configuration - Cursor & VS Code: Supports both UI and project-specific configuration - Claude Desktop: Compatible with MCP server integration - Other MCP-enabled tools: Any tool supporting the Model Context ProtocolInstallation
Clone and Build
```bashSign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



