godot-mcp-ultimate
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-ultimate How healthy is my Godot project? Show me the health dashboard."
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-ultimate
THE ULTIMATE MCP Server for Godot Game Development
A comprehensive Model Context Protocol (MCP) server that transforms any AI assistant into a Godot development powerhouse. Built with deep GDScript knowledge, intelligent analysis tools, and 15 specialized sub-agents.
Why This MCP?
Unlike basic MCP servers that just run commands, godot-mcp-ultimate has:
Built-in Intelligence: Deep Godot 4.x knowledge - no external lookups needed
47+ Specialized Tools: From semantic analysis to dead code detection
15 Sub-Agents: Domain experts that don't overlap and complement each other
Project Health Dashboard: Know your codebase quality at a glance
Zero Config: Point it at your project and go
Related MCP server: Godot MCP Unified
Features
Semantic Analysis (8 tools)
Find symbol definitions across the project
Go to definition with LSP or pattern matching fallback
Analyze scene files (.tscn) - node hierarchy, scripts, resources
Trace dependencies and resource usage
Code Quality (8 tools)
Lint with gdtoolkit or built-in fallback rules
Format code (preview before applying)
Calculate cyclomatic complexity
Validate against CLAUDE.md patterns (VEILBREAKERS-specific)
Full project validation
Testing (4 tools)
Run GdUnit4 tests
Generate test stubs with proper structure
Coverage analysis
Documentation (6 tools)
Built-in Godot 4.x API docs
Project documentation extraction
10 common pitfalls with bad/good code examples
6 proven game patterns (State Machine, Object Pool, etc.)
Performance optimization guide
Code Generation (5 tools)
9 templates: Node2D, Control, Resource, StateMachine, State, EventBus, ObjectPool, TweenHelper, Autoload
Feature generators: Skill, Monster, UI Component, Status Effect, Battle Action
Smart completions based on context
Auto-fix common issues
Agent System (5 tools)
15 specialized sub-agents with clear domains
Auto-routing: describe your task, get the right agent
Multi-agent collaboration planning
Full agent introspection
Advanced Analysis (7 tools) - THE POWERHOUSE
Scene Tree Visualizer: ASCII tree with icons and scripts
Dead Code Detector: Find unused functions, variables, signals
Signal Flow Analyzer: Trace all signals, find orphans
Project Health Dashboard: Scores, grades, recommendations
Autoload Dependency Graph: Detect circular dependencies
Code Duplication Finder: Find copy-paste patterns
Complexity Heatmap: Identify the most complex code
The 15 Sub-Agents
Agent | Domain |
architect | High-level design, project structure |
code-quality | Standards, linting, refactoring |
testing | GdUnit4, test creation, coverage |
performance | Profiling, optimization |
ui-layout | Control hierarchy, anchors |
ui-styling | UIStyleFactory, colors, themes |
ui-animation | Tweens, transitions |
battle-logic | Combat mechanics, damage formulas |
battle-ai | Enemy AI, decision making |
battle-animation | Attack choreography, VFX |
data-manager | Resources, .tres files |
vera-ai | AI companion system |
dialogue | NPC dialogue trees |
quest | Quest structure, objectives |
sprite | Sprite sheets, animation frames |
audio | Sound integration, music |
Installation
Prerequisites
Node.js 18+
Godot 4.x (for LSP and testing features)
Optional: gdtoolkit (
pip install gdtoolkit)
Setup
# Clone the repository
git clone https://github.com/YOUR_USERNAME/godot-mcp-ultimate.git
cd godot-mcp-ultimate
# Install dependencies
npm install
# Build
npm run buildAdd to Your MCP Configuration
Add to your .mcp.json or MCP settings:
{
"mcpServers": {
"godot-ultimate": {
"type": "stdio",
"command": "node",
"args": ["/path/to/godot-mcp-ultimate/dist/index.js"],
"env": {
"GODOT_PROJECT_PATH": "/path/to/your/godot/project",
"GODOT_PATH": "/path/to/godot/executable",
"GODOT_LSP_PORT": "6005"
}
}
}
}Usage
Just Talk Naturally
The MCP understands natural language task descriptions and routes to the right tools/agents:
You Say | What Happens |
"Check this code for issues" | Runs linting + quality checks |
"Make a new skill called Fireball" | Generates complete skill resource |
"Why is my UI laggy?" | Routes to performance agent |
"Show me the scene tree" | Visualizes node hierarchy |
"How healthy is my project?" | Full health dashboard |
Key Tools
# Get project health score
godot_project_health
# Visualize a scene
godot_visualize_scene_tree "res://scenes/main/battle.tscn"
# Find dead code
godot_detect_dead_code
# Get signal flow
godot_analyze_signal_flow
# Auto-route a task
godot_route_task "fix the button hover animation"
# Generate code from template
godot_generate_from_template template="state_machine" class_name="PlayerStateMachine"
# Get common pitfalls
godot_get_common_pitfalls
# Get game patterns
godot_get_game_patterns pattern="stateMachine"Built-in Knowledge
GDScript Syntax Rules
All keywords, types, and annotations
Virtual methods for all node types
Indentation rules
Godot 4.x Changes
30+ renamed classes (Spatial→Node3D, etc.)
Method renames (instance→instantiate)
Signal changes (connect→.connect())
Export annotation changes
Common Pitfalls (10)
Each with bad code, good code, and explanation:
Null node references
Orphan nodes (memory leaks)
Signal memory leaks
Process waste (expensive operations every frame)
Tween overwrites
String concatenation in loops
Dictionary lookups in hot paths
Await in wrong context
Exports without type hints
Preload in loops
Game Patterns (6)
Complete implementations:
State Machine
Component System
Event Bus
Object Pool
Command Pattern (undo/redo)
Service Locator
Performance Knowledge
Profiling guide
GDScript optimization techniques
Rendering optimization
Physics optimization
Memory management
Desktop and mobile targets
Project Structure
godot-mcp-ultimate/
├── src/
│ ├── index.ts # Main server (47 tools)
│ ├── utils/config.ts # Configuration
│ ├── semantic/analyzer.ts # LSP + pattern matching
│ ├── quality/checker.ts # Linting, formatting
│ ├── testing/runner.ts # GdUnit4 integration
│ ├── docs/provider.ts # Documentation
│ ├── ai/code-generator.ts # Templates, features
│ ├── knowledge/godot-brain.ts # Built-in intelligence
│ ├── agents/
│ │ ├── manager.ts # Agent orchestration
│ │ └── agent-ecosystem.ts # 15 sub-agents
│ └── analysis/advanced.ts # Power tools
├── dist/ # Compiled output
├── package.json
└── tsconfig.jsonContributing
Contributions welcome! Areas of interest:
More code templates
Additional game patterns
Enhanced LSP integration
More sub-agents for specific domains
Better dead code detection
Shader support
License
MIT License - see LICENSE
Credits
Built for the VEILBREAKERS project - an AAA 2D turn-based RPG.
Inspired by the need for an AI assistant that truly understands Godot development, not just runs commands.
Changelog
v2.0.0
Initial public release
47 tools across 7 categories
15 specialized sub-agents
Built-in Godot Brain knowledge engine
Advanced analysis suite
Project health dashboard
Available Tools
55 toolsgodot_analyze_assetsB
Find unused assets, oversized files, and optimization opportunities. Reduce project bloat!
Inputs: no named parameters.
godot_analyze_autoloadsB
Analyze autoload dependencies, detect circular dependencies, suggest load order.
Inputs: no named parameters.
godot_analyze_dependenciesB
Analyze script dependencies - preloads, loads, signals, autoloads used.
Inputs: file (required).
godot_analyze_resourcesC
Find and analyze all resources (.tres, .res) in the project.
Inputs: type.
godot_analyze_sceneB
Deep analysis of a .tscn scene file - node hierarchy, scripts, resources, signals.
Inputs: scene (required).
godot_analyze_shaderA
Deep analysis of a .gdshader file - uniforms, varyings, functions, complexity metrics, and performance hints.
Inputs: file (required).
godot_analyze_signal_flowC
Analyze signal connections, emissions, and find orphan signals throughout the project.
Inputs: file.
godot_auto_fixC
Automatically fix common code issues.
Inputs: file (required), fixes.
godot_check_patternsC
Check code against VEILBREAKERS patterns, utilities usage, and best practices.
Inputs: file (required), patterns.
godot_complexity_heatmapB
Generate a complexity heatmap showing the most complex files and functions.
Inputs: no named parameters.
godot_detect_dead_codeB
Find potentially unused functions, variables, and signals across the project.
Inputs: path.
godot_document_symbolsA
Get all symbols (classes, functions, variables, signals) in a file.
Inputs: file (required).
godot_env_doctorA
Run comprehensive environment health check. Validates Godot setup, LSP, gdtoolkit, GdUnit4, and provides actionable remediation steps.
Inputs: verbose.
godot_find_duplicationC
Find potential code duplication across the project.
Inputs: min_lines.
godot_find_referencesB
Find all references to a symbol. Returns all usages across the project.
Inputs: file (required), line (required), column (required).
godot_find_shadersB
Find all shaders in the project with summary of types, uniforms, and texture samples.
Inputs: path.
godot_find_symbolB
Find a symbol definition by name across the project. Uses LSP when available, falls back to pattern matching.
Inputs: name (required), file, scope.
godot_find_unused_filesA
Find scripts, scenes, and resources that are never referenced anywhere. Clean up your project!
Inputs: no named parameters.
godot_format_fileA
Format a GDScript file. Preview changes without modifying by default.
Inputs: file (required), dry_run.
godot_generate_featureB
Generate complete feature boilerplate (skill, monster, UI component, etc.).
Inputs: name (required), feature_type (required), options.
godot_generate_from_templateC
Generate code from proven templates (Node2D, Control, Resource, StateMachine, etc.).
Inputs: template (required), output, options, class_name.
godot_generate_smart_codeD
Generate code using AI-powered smart generation.
Inputs: name (required), type (required), params, options.
godot_generate_testC
Generate comprehensive GdUnit4 test stub for a source file.
Inputs: file (required), output, function.
godot_get_agent_infoC
Get detailed information about an agent's domain and expertise.
Inputs: agent (required).
godot_get_api_docsB
Get Godot 4.x API documentation for any class, method, or property.
Inputs: class_name (required), method, property.
godot_get_common_pitfallsB
Get comprehensive list of common GDScript pitfalls and how to avoid them.
Inputs: category.
godot_get_complexityC
Calculate cyclomatic complexity for all functions in a file.
Inputs: file (required).
godot_get_game_patternsC
Get proven game development patterns (State Machine, Object Pool, Event Bus, etc.).
Inputs: pattern.
godot_get_performance_guideA
Get performance optimization knowledge - profiling, techniques, targets.
Inputs: no named parameters.
godot_get_project_docsC
Extract documentation from project code comments.
Inputs: file, type.
godot_get_shader_docsA
Get Godot shader documentation - built-in uniforms, render modes, GLSL functions by shader type.
Inputs: topic, shader_type.
godot_get_test_coverageC
Get test coverage report showing tested vs untested files.
Inputs: path.
godot_go_to_definitionC
Jump to the definition of a symbol at a specific location.
Inputs: file (required), line (required), column (required).
godot_invoke_agentC
Invoke a specialized sub-agent for domain-specific expertise.
Inputs: task (required), agent (required), context.
godot_lint_all_shadersC
Lint all shaders in the project and return comprehensive report.
Inputs: path.
godot_lint_fileB
Lint a GDScript file with detailed issues, CLAUDE.md compliance, and suggestions.
Inputs: file (required).
godot_lint_projectB
Lint the entire project with comprehensive quality report.
Inputs: path.
godot_lint_shaderB
Lint a shader file for errors, warnings, deprecations, and performance issues.
Inputs: file (required).
godot_list_agentsA
List all available agents with their domains.
Inputs: no named parameters.
godot_parse_astC
Parse GDScript and return structure analysis.
Inputs: file (required).
godot_plan_collaborationC
Plan a multi-agent collaboration for a complex task.
Inputs: task (required), primary_agent (required).
godot_project_healthB
Generate comprehensive project health metrics, scores, and recommendations.
Inputs: no named parameters.
godot_route_taskC
Automatically route a task to the most appropriate agent(s).
Inputs: task (required).
godot_run_test_fileB
Run a specific test file and return detailed results.
Inputs: file (required).
godot_run_testsC
Execute GdUnit4 tests with optional filtering.
Inputs: path, filter, timeout, continue_on_failure.
godot_search_docsC
Search both Godot API and project documentation.
Inputs: query (required), limit.
godot_shader_performanceB
Analyze shader performance - complexity score, grade, and optimization recommendations.
Inputs: file (required).
godot_smart_completeC
Get intelligent code completions based on context.
Inputs: file (required), line (required), prefix (required).
godot_validate_codeC
Comprehensive GDScript validation using built-in Godot Brain knowledge.
Inputs: code (required), project_rules.
godot_validate_game_dataA
Validate VEILBREAKERS game data resources (skills, monsters, equipment) for missing/invalid fields.
Inputs: no named parameters.
godot_validate_inputsB
Validate input mappings - find undefined actions, unused inputs, and hardcoded action names.
Inputs: no named parameters.
godot_validate_projectB
Run comprehensive project validation - scripts, scenes, resources, references.
Inputs: checks.
godot_validate_scenesB
Validate all scenes for broken references, missing scripts, invalid paths. Catches bugs BEFORE runtime!
Inputs: path.
godot_visualize_scene_treeB
Generate a visual ASCII tree of a scene's node hierarchy with icons, scripts, and types.
Inputs: scene (required), depth.
godot_workspace_symbolsB
Search for symbols across the entire project by name pattern.
Inputs: query (required), limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 55 tools
Several clusters of tools have blurry boundaries: godot_find_symbol / godot_go_to_definition / godot_workspace_symbols / godot_document_symbols all resolve symbols, and godot_lint_file / godot_validate_code / godot_check_patterns / godot_parse_ast all inspect a script. Similarly godot_generate_from_template / godot_generate_feature / godot_generate_smart_code / godot_smart_complete / godot_auto_fix overlap heavily on code generation, forcing an agent to guess which to pick.
Almost all tools use the same godot_verb_noun pattern (find_, analyze_, lint_, validate_, generate_, get_), which is highly predictable. Minor deviations exist in noun-phrase names like godot_env_doctor, godot_project_health, and godot_complexity_heatmap, but they remain readable and grouped.
At 55 tools the surface is far beyond what an agent can reliably navigate for a single Godot assistant server. The volume is driven by many near-duplicate variants (five+ generation tools, four+ symbol tools, six+ validation tools) rather than distinct capabilities, so each tool does not earn its place.
Coverage is genuinely broad across the domain: symbol navigation, scene/script/resource/shader analysis, linting, testing, docs/knowledge, generation, and agent orchestration. Gaps are minor — no runtime/scene-editing or project mutation operations beyond auto_fix and generation — and can be worked around.
Maintenance
Related MCP Connectors
Code intelligence platform for AI agents. 20 tools for architecture, security & impact analysis.
Gamedev tools for AI agents: level design, renders, sprites, GLB optimizer. Pay per call with x402.
Make all the audio for your game from a single prompt. Describe your game and your AI assistant plans every sound it needs (sound effects, ambience loops, music tracks and character voice lines), then generates them all in one go. You get several AI versions of each sound and keep the ones you like. Sounds are organized per game in folders and scenes, and the free Godot plugin installs them into your project, ready to play with one line of code. Works with Claude, Claude Code, Cursor and any MCP client, with OAuth login (no API key needed). Free plan included; sounds can be used in commercial games.
Git-backed platform for skills, tools, and context for AI agents
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 gradedqualityFmaintenanceEnables complete natural language control of Godot Engine 4.5+ with 76 tools for managing scripts, scenes, nodes, animations, physics, tilemaps, audio, shaders, navigation, particles, UI, lighting, assets, and exports. Integrates with Claude Desktop, VS Code, and Ollama for AI-assisted game development.2MIT
- AlicenseAqualityDmaintenanceEnables AI agents to create, edit, and run Godot 4.5+ games by providing tools for project scaffolding, scene manipulation, and engine interaction. It supports full game development workflows including node editing, script attachment, and project execution with debugging capabilities.245MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to build, run, and debug Godot projects by editing scenes and scripts, inspecting live game state, injecting input, capturing viewports, and examining native debugger state through 42 tools.European Union Public 1.2