Godot MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Godot MCP Server Analyze my main scene for performance issues"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🎮 Godot MCP Server
AI-Powered Development Assistant for Godot Game Engine
Transform your Godot development with intelligent AI assistance
🤔 The Problem
Working with Godot can be challenging when you need to:
❌ Analyze complex project structures and scene hierarchies
❌ Debug cryptic error messages and performance issues
❌ Generate boilerplate code following Godot best practices
❌ Understand legacy codebases or inherited projects
❌ Optimize game performance without deep engine knowledge
Related MCP server: Godot MCP
✨ The Solution
Godot MCP Server bridges the gap between AI assistants and your Godot projects, providing:
✅ Intelligent Project Analysis: Deep understanding of your game architecture
✅ Smart Error Diagnosis: AI-powered debugging with actionable suggestions
✅ Code Generation: Templates and patterns following Godot conventions
✅ Performance Insights: Automated optimization recommendations
✅ Architecture Guidance: Best practices for scalable game development
🚀 Quick Start
Using npx (Recommended)
No installation required! Run directly:
npx kooix-godot-mcp --project /path/to/your/godot/projectAdd to Claude Desktop
Add to your Claude Desktop config file:
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Linux: ~/.config/claude/claude_desktop_config.json
{
"mcpServers": {
"godot-mcp": {
"command": "npx",
"args": ["kooix-godot-mcp", "--project", "/path/to/your/godot/project"]
}
}
}Note: Replace /path/to/your/godot/project with the actual path to your Godot project directory.
Alternative Installation Methods
npm install -g kooix-godot-mcpThen use in Claude Desktop config:
{
"mcpServers": {
"godot-mcp": {
"command": "godot-mcp",
"args": ["--project", "/path/to/your/godot/project"]
}
}
}npm install -g @telagod/kooix-godot-mcpgit clone https://github.com/telagod/kooix-godot-mcp.git
cd kooix-godot-mcp
npm install && npm run build
npm install -g .🛠️ Features
📊 Project Intelligence
Project Configuration: Extract settings, autoloads, and metadata
Scene Architecture: Analyze node hierarchies and scene relationships
Script Analysis: Parse GDScript for methods, properties, and signals
Design Patterns: Identify architectural patterns and suggest improvements
🎨 Code Generation
Smart Templates: Generate classes following Godot conventions
🎯 Player Controllers with input handling
🏗️ Manager Singletons for game systems
🖼️ UI Components (Menus, Dialogs, HUD)
🎮 Game Objects with lifecycle management
🌐 Network Systems
Multiplayer Templates: Ready-to-use networking code
REST API Integration: HTTP client implementations
State Synchronization: Patterns for networked games
⚡ Performance Optimization
Performance Profiling: Identify bottlenecks in your code
Memory Management: Object pooling and resource optimization
Best Practices: Automated code quality suggestions
Performance Metrics: Real-time analysis of game systems
🐛 Debug & Troubleshooting
Error Analysis: Intelligent parsing of Godot logs
Crash Diagnostics: Root cause analysis for game crashes
Performance Issues: Memory leaks and frame rate problems
Code Quality: Static analysis and improvement suggestions
🎯 Use Cases
For Beginners
📚 Learn Godot best practices through generated examples
🔍 Understand existing project structures
🎓 Get explanations for complex game development concepts
For Experienced Developers
🚀 Accelerate development with smart code generation
🔧 Debug complex issues with AI-powered analysis
📈 Optimize performance with detailed recommendations
🏗️ Architect scalable game systems
For Teams
📋 Analyze and document legacy codebases
🔄 Maintain consistent coding standards
🤝 Onboard new team members faster
📊 Generate project health reports
🤖 Available Tools
Tool | Description | Use Case |
| Extract project configuration and metadata | Understanding project structure |
| Analyze scene files and hierarchies | Scene management and organization |
| Deep analysis of specific scene files | Debugging scene-related issues |
| Inventory all GDScript files | Code organization and refactoring |
| Parse script structure and patterns | Code quality and optimization |
| Create common script patterns | Rapid development and consistency |
| High-level architectural analysis | System design and planning |
| Create UI component templates | Interface development |
| Performance analysis and suggestions | Game optimization |
| Networking code templates | Multiplayer development |
| Error log analysis and solutions | Troubleshooting and debugging |
| Real-time debugging session | Interactive problem solving |
| Parse and interpret log files | Post-mortem analysis |
| Performance profiling and metrics | Optimization planning |
| Overall project quality assessment | Maintenance and planning |
📖 Documentation & Examples
Quick Examples
extends CharacterBody2D
class_name PlayerController
@export var speed: float = 300.0
@export var health: int = 100
signal health_changed(new_health: int)
signal player_died
var _input_vector: Vector2
var _is_alive: bool = true
func _ready() -> void:
initialize_player()
func _process(delta: float) -> void:
if _is_alive:
handle_input()
update_movement(delta)
# ... complete implementation generatedextends Control
class_name GameHUD
@export var health_bar: ProgressBar
@export var score_label: Label
@export var timer_label: Label
func update_health(health: int) -> void:
if health_bar:
health_bar.value = health
# ... complete HUD system with animationsAdvanced Usage
🤝 Contributing
We welcome contributions! Please see our Contributing Guide for details.
Development Setup
git clone https://github.com/telagod/kooix-godot-mcp.git
cd kooix-godot-mcp
npm install
npm run dev📄 License
MIT License - see LICENSE file for details.
🆘 Support
Made with ❤️ for the Godot Community
Supercharge your game development with AI assistance
Available Tools
17 toolsanalyze_crash_dumpC
Analyze crash information and provide debugging guidance
Inputs: crashInfo (required).
analyze_error_logC
Analyze Godot error logs and provide suggestions for fixes
Inputs: logContent.
analyze_game_architectureA
Analyze the overall game architecture including managers, scenes, and design patterns
Inputs: no named parameters.
analyze_sceneB
Analyze a specific scene file and return its structure
Inputs: scenePath (required).
analyze_scriptB
Analyze a GDScript file and return its structure
Inputs: scriptPath (required).
diagnose_projectC
Perform comprehensive project health diagnosis
Inputs: no named parameters.
generate_network_systemC
Generate networking system templates for multiplayer games
Inputs: networkType (required).
generate_script_templateC
Generate a GDScript template for common patterns
Inputs: templateType (required), className (required), extendsClass.
generate_ui_componentB
Generate UI component templates for common game elements
Inputs: componentType (required), componentName (required), options.
get_debug_sessionB
Get information about an active debug session
Inputs: sessionId (required).
get_project_infoB
Get Godot project information including configuration, autoloads, and metadata
Inputs: no named parameters.
list_scenesA
List all scenes in the Godot project
Inputs: includeDetails.
list_scriptsB
List all GDScript files in the project
Inputs: includeAnalysis.
optimize_game_performanceA
Analyze project for performance issues and provide optimization recommendations
Inputs: no named parameters.
start_debug_sessionB
Start a debug session to monitor errors and warnings
Inputs: sessionId.
stop_debug_sessionA
Stop an active debug session and get results
Inputs: sessionId (required).
suggest_fixC
Get specific fix suggestions for error messages
Inputs: errorMessage (required), context.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 17 tools
Each tool has a clearly distinct purpose: analyze tools target different aspects (crash, error, architecture, scene, script), generation tools cover different templates, debug session tools are distinct lifecycle functions, and list tools target different resources. No significant overlap.
All tool names follow a consistent verb_noun snake_case pattern (e.g., analyze_crash_dump, generate_script_template), making them predictable and easy to understand.
With 17 tools, the set is well-scoped for a Godot development assistant, covering analysis, generation, debugging, and project information without being overwhelming.
The tool set covers analysis, generation, and debugging comprehensively, but lacks creation/modification tools for scenes and scripts, and there is no tool to apply suggested fixes or modify project configuration, leaving minor gaps.
Maintenance
Related MCP Connectors
AI game maker: build, run, screenshot and play-test Godot and retro console games in a live project
Discover AI tools for game development — 100+ tools indexed by engine, task, and pricing.
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
AI colleagues that keep your standards, your project and their reasoning between sessions
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Godot game projects through real-time error detection, automated testing, code analysis, and safe git-based patching. Provides comprehensive project context and development workflow automation for Godot developers.MIT
- AlicenseNot gradedqualityDmaintenanceProvides a comprehensive integration between LLMs and the Godot Engine, enabling AI assistants to intelligently manipulate project files, scripts, and the live editor. It supports advanced workflows including version-aware documentation querying, automated E2E game testing, and real-time visual context capture.21 npm26MIT
- FlicenseNot gradedqualityDmaintenanceBridges AI assistants with the Godot 4 editor, exposing tools to inspect scenes, create nodes, modify properties, capture screenshots, debug scripts, and manage project files via the Model Context Protocol.-
- AlicenseBqualityDmaintenanceEnables AI assistants to automate Godot 4 projects via headless tooling, live editor control, and runtime remote control, including scene building, testing, and observation.431MIT