Logo vun Godot

Godot

Communautéit
telagod

AI-Powered Development Assistant for Godot Game Engine

Editeurtelagod
Repositorykooix-godot-mcp
SproochTypeScript
Forks
2
Stären
3
Disponibel Tools
17
Transporttypstdio
Kategorien
LizenzMIT
Linken
  • Tools mat KI-Workflows verbannen

    Godot stellt MCP-Funktioune bereit, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • 17 disponibel Tools

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopéieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an Ärem bevorzugte MCP-Client ze konfiguréieren.

  • Indicateure fir Open Source

    3 Stären an 2 Forks aus dem verlinkte Repository.

🎮 Godot MCP Server

AI-Powered Development Assistant for Godot Game Engine

npm version npm downloads GitHub license Build Status

English | 中文

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

✨ 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:

bash
npx kooix-godot-mcp --project /path/to/your/godot/project

Add 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

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

bash
npm install -g kooix-godot-mcp

Then use in Claude Desktop config:

json
{
  "mcpServers": {
    "godot-mcp": {
      "command": "godot-mcp",
      "args": ["--project", "/path/to/your/godot/project"]
    }
  }
}
bash
npm install -g @telagod/kooix-godot-mcp
bash
git 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

ToolDescriptionUse Case
get-project-infoExtract project configuration and metadataUnderstanding project structure
list-scenesAnalyze scene files and hierarchiesScene management and organization
analyze-sceneDeep analysis of specific scene filesDebugging scene-related issues
list-scriptsInventory all GDScript filesCode organization and refactoring
analyze-scriptParse script structure and patternsCode quality and optimization
generate-script-templateCreate common script patternsRapid development and consistency
analyze-game-architectureHigh-level architectural analysisSystem design and planning
generate-ui-componentCreate UI component templatesInterface development
optimize-game-performancePerformance analysis and suggestionsGame optimization
generate-network-systemNetworking code templatesMultiplayer development
debug-project-errorsError log analysis and solutionsTroubleshooting and debugging
start-debug-sessionReal-time debugging sessionInteractive problem solving
analyze-debug-logsParse and interpret log filesPost-mortem analysis
get-performance-insightsPerformance profiling and metricsOptimization planning
check-project-healthOverall project quality assessmentMaintenance and planning

📖 Documentation & Examples

Quick Examples

gdscript
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 generated
gdscript
extends 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 animations

Advanced Usage


🤝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

Development Setup

bash
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

Star on GitHub

Installatioun

TypingMind
Viraussetzungen:

Node.js 18+

{
  "mcpServers": {
    "godot-mcp": {
      "command": "npx",
      "args": [
        "kooix-godot-mcp"
      ]
    }
  }
}

Disponibel Tools

  • get_project_info

    Get Godot project information including configuration, autoloads, and metadata

  • list_scenes

    List all scenes in the Godot project

  • list_scripts

    List all GDScript files in the project

  • analyze_scene

    Analyze a specific scene file and return its structure

  • analyze_script

    Analyze a GDScript file and return its structure

  • generate_script_template

    Generate a GDScript template for common patterns

  • analyze_game_architecture

    Analyze the overall game architecture including managers, scenes, and design patterns

  • generate_ui_component

    Generate UI component templates for common game elements

  • optimize_game_performance

    Analyze project for performance issues and provide optimization recommendations

  • generate_network_system

    Generate networking system templates for multiplayer games

  • analyze_error_log

    Analyze Godot error logs and provide suggestions for fixes

  • start_debug_session

    Start a debug session to monitor errors and warnings

  • stop_debug_session

    Stop an active debug session and get results

  • get_debug_session

    Get information about an active debug session

  • analyze_crash_dump

    Analyze crash information and provide debugging guidance

  • diagnose_project

    Perform comprehensive project health diagnosis

  • suggest_fix

    Get specific fix suggestions for error messages

Godot MCP mat verschiddene KI-Modeller benotzen

TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Soubal Godot verbonnen ass, kënnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. Dës MCP-Integratioun leeft lokal iwwer den TypingMind-MCP-Connector op Ärem Apparat.

Ariichtungsuleedung fir de lokale Connector ze benotzen

Benotzt dës Optioun, wann den MCP-Server Zougrëff op lokal Fichieren, Appen oder privat Ressourcen op Ärem Computer brauch.

1

D'MCP-Astellungen opmaachen

Gitt an TypingMind op „Astellungen“, „Erweidert Astellungen“, dann op „Model Context Protocol“ a wielt „Connector ariichten“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Klickt op d'Astellungssymbol.
  3. Gitt op „Erweidert Astellungen“.
  4. Maacht d'Sektioun „Model Context Protocol“ op.
  5. Klickt op „Connector ariichten“ a wielt „Dësen Apparat“.
Ariichtungsbildschierm vum TypingMind-MCP-Connector mat „Dësen Apparat“ ausgewielt
2

De Connector-Befeel ausféieren

Wielt „Dësen Apparat“, kopéiert de Befeel aus TypingMind a féiert en am Terminal aus. Loosst de Prozess lafen, wärend Dir MCP benotzt.

  1. Kopéiert den Ariichtungsbefeel, deen TypingMind uweist.
  2. Maacht Terminal op macOS oder Windows Terminal op Windows op.
  3. Pescht de Befeel an a féiert en aus.
  4. Bestätegt d'Installatioun vum Package, wann den Terminal Iech freet, ob Dir weiderfuere wëllt.
  5. Loosst den Terminal an de Prozess doranner lafen, wärend Dir MCP-Tools benotzt.
3

Godot als Server derbäisetzen

Wann de Connector-Status „Prett“ ass, klickt op „Serveren änneren“ a pescht d'MCP-Serverkonfiguratioun an.

  1. Waart, bis de Connector-Status „Prett“ weist.
  2. Klickt op „Serveren änneren“.
  3. Pescht d'MCP-Serverkonfiguratioun vu Godot an.
  4. Späichert d'Serverlëscht.
  5. Aktualiséiert, wann Dir kontrolléiere wëllt, ob de Connector nach ëmmer prett ass.
MCP-Astellunge vun TypingMind mat aktivem Server an dem Knäppchen „Serveren änneren“
{
  "mcpServers": {
    "godot": {
      "command": "npx",
      "args": [
        "-y",
        "kooix-godot-mcp"
      ]
    }
  }
}
4

D'Verbindung mat verschiddene Modeller benotzen

Späichert d'Serverlëscht, maacht „Plugins“ op an aktivéiert d'MCP-Tools vu Godot. Wielt dann e belibegen ënnerstëtzte KI-Modell an TypingMind a benotzt d'Tools am Chat oder weist se engem KI-Agent zou.

  1. Maacht d'Säit „Plugins“ an TypingMind op.
  2. Aktivéiert d'MCP-Tools vu Godot.
  3. Start e Chat a wielt de KI-Modell, deen Dir benotze wëllt.
  4. Benotzt d'MCP-Tools am Chat oder weist se engem KI-Agent zou.
  5. Wiesselt bei Bedarf op en anere KI-Modell, ouni MCP nei ze verbannen.
TypingMind-Chat mat aktivéierte MCP-Tools an engem ausgewielte KI-Modell
Hëlleft Dir mir bei dëser Aufgab mat Godot?
Godot
Jo. Ech hunn et gelies.
Dat hunn ech mat Godot fonnt.

Heefeg gestallte Froen

Fir wat gëtt de MCP-Server Godot benotzt?

Godot ass e MCP-Server, deen et kompatibele KI-Clienten erlaabt, sech mat externen Tools a Kontext ze verbannen. An TypingMind kënnt Dir dëse MCP-Server eemol derbäisetzen a seng Tools an Ärem KI-Aarbechtsberäich zur Verfügung stellen.

Kann ech Godot MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Sou kënnt Dir Godot mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni de MCP-Server fir all Modell separat anzeriichten.

Firwat Godot MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte Benotzeruewerfläche fir LLM-Chat, well et méi KI-Modeller, Prompts, Plugins, KI-Agenten, API-Schlësselen a MCP-Tools an engem Aarbechtsberäich zesummebréngt. Wann Godot verbonnen ass, kënnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a gläichzäiteg Är Chataarbecht an TypingMind organiséieren.

Wéi verbannen ech Godot MCP mat TypingMind?

Godot leeft iwwer de lokale MCP-Connector vun TypingMind. Dat eegent sech am beschten, wann de MCP-Server Zougrëff op lokal Fichieren, Desktop-Apps, Kommandozeilen-Tools oder privat Ressourcen op Ärem Computer brauch.

Wéi eng Tools stellt Godot MCP an TypingMind zur Verfügung?

Godot stellt 17 MCP-Tools zur Verfügung, déi Dir op der Plugins-Säit vun TypingMind aktivéiere kënnt, fir se am Chat ze benotzen oder KI-Agenten zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir Godot MCP ze benotzen?

Nee. TypingMind setzt op lokal Veraarbechtung a léisst Iech d'Kontroll iwwer Är Modellubidder, API-Schlësselen, Prompts a MCP-Konfiguratioun. Wann Godot eng Authentifizéierung verlaangt, setzt déi néideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir dee MCP-Server derbäi, wann Dir d'Verbindung erstallt.

Änlech MCP-Serveren

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇