Logo van Godot

Godot

Community
telagod

AI-Powered Development Assistant for Godot Game Engine

Uitgevertelagod
Repositorykooix-godot-mcp
TaalTypeScript
Forks
2
Sterren
3
Beschikbare tools
17
Transporttypestdio
Categorieën
LicentieMIT
Links
  • Koppel tools aan AI-workflows

    Godot biedt MCP-functionaliteit die compatibele AI-clients en agenten kunnen gebruiken.

  • 17 beschikbare tools

    Bekijk hieronder de aanroepbare acties, inclusief namen en beschrijvingen als de server die beschikbaar stelt.

  • Configuratie om direct te kopiëren

    Gebruik de installatievoorbeelden om deze server in je favoriete MCP-client te configureren.

  • Indicatoren van opensource-interesse

    3 sterren en 2 forks in de gekoppelde 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

Installatie

TypingMind
Vereisten:

Node.js 18+

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

Beschikbare 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

Gebruik Godot MCP met meerdere AI-modellen

TypingMind koppelt MCP-tools aan de werkruimte. Zodra Godot is verbonden, kun je deze dus met verschillende AI-modellen in TypingMind gebruiken, zonder de verbinding voor elk model apart in te stellen. Deze MCP-integratie draait lokaal via de TypingMind MCP-connector op je apparaat.

Installatiehandleiding voor de lokale connector

Gebruik dit als de MCP-server toegang nodig heeft tot lokale bestanden, apps of privébronnen op je computer.

1

Open de MCP-instellingen

Ga in TypingMind naar Instellingen, Geavanceerde instellingen en vervolgens Model Context Protocol. Kies daar Connector instellen.

  1. Open TypingMind in je browser.
  2. Klik op het pictogram Instellingen.
  3. Ga naar Geavanceerde instellingen.
  4. Open het gedeelte Model Context Protocol.
  5. Klik op Connector instellen en kies Dit apparaat.
Instelscherm voor de TypingMind MCP-connector met Dit apparaat geselecteerd
2

Voer de connectoropdracht uit

Kies Dit apparaat, kopieer de opdracht uit TypingMind en voer deze uit in Terminal. Laat het proces draaien zolang je MCP gebruikt.

  1. Kopieer de installatieopdracht die TypingMind toont.
  2. Open Terminal op macOS of Windows Terminal op Windows.
  3. Plak de opdracht en voer deze uit.
  4. Keur de pakketinstallatie goed als Terminal vraagt of je wilt doorgaan.
  5. Laat het proces in het Terminal-venster draaien zolang je MCP-tools gebruikt.
3

Voeg Godot toe als server

Klik op Servers bewerken zodra de connectorstatus Gereed is en plak de MCP-serverconfiguratie.

  1. Wacht tot de connectorstatus Gereed aangeeft.
  2. Klik op Servers bewerken.
  3. Plak de MCP-serverconfiguratie van Godot.
  4. Sla de serverlijst op.
  5. Vernieuw om te controleren of de connector nog steeds klaar is voor gebruik.
MCP-instellingen van TypingMind met een actieve server en de knop Servers bewerken
{
  "mcpServers": {
    "godot": {
      "command": "npx",
      "args": [
        "-y",
        "kooix-godot-mcp"
      ]
    }
  }
}
4

Gebruik de verbinding met verschillende modellen

Sla de serverlijst op, open Plug-ins en schakel de MCP-tools van Godot in. Selecteer vervolgens een ondersteund AI-model in TypingMind en gebruik de tools in de chat of wijs ze toe aan een AI-agent.

  1. Open de pagina Plug-ins in TypingMind.
  2. Schakel de MCP-tools van Godot in.
  3. Start een chat en kies het AI-model dat je wilt gebruiken.
  4. Gebruik de MCP-tools in een chat of wijs ze toe aan een AI-agent.
  5. Schakel wanneer nodig over naar een ander AI-model zonder opnieuw verbinding te maken met MCP.
TypingMind-chat met ingeschakelde MCP-tools en een geselecteerd AI-model
Kun je Godot gebruiken om me hiermee te helpen?
Godot
Zeker. Ik heb het gelezen.
Dit vond ik met Godot.

Veelgestelde vragen

Waarvoor wordt de MCP-server Godot gebruikt?

Godot is een MCP-server waarmee compatibele AI-clients verbinding kunnen maken met externe tools en context. In TypingMind hoef je deze MCP-server maar één keer toe te voegen om de tools beschikbaar te maken in je AI-werkruimte.

Kan ik Godot MCP met meerdere AI-modellen in TypingMind gebruiken?

Ja. TypingMind verbindt MCP-tools op werkruimteniveau. Daardoor kun je Godot gebruiken met verschillende AI-modellen, zoals Claude, ChatGPT, Gemini of andere modellen die je in TypingMind hebt ingesteld, zonder de MCP-server voor elk model afzonderlijk in te stellen.

Waarom Godot MCP gebruiken met TypingMind?

TypingMind is een van de beste interfaces voor chats met LLM's, omdat het meerdere AI-modellen, prompts, plug-ins, AI-agenten, API-sleutels en MCP-tools samenbrengt in één werkruimte. Als Godot verbonden is, kun je de MCP-tools ervan gebruiken met je favoriete modellen en je chatworkflow overzichtelijk houden in TypingMind.

Hoe verbind ik Godot MCP met TypingMind?

Godot werkt via de lokale MCP-connector van TypingMind. Dit is de beste optie als de MCP-server toegang nodig heeft tot lokale bestanden, desktopapps, opdrachtregeltools of privébronnen op je computer.

Welke tools biedt Godot MCP in TypingMind?

Godot biedt 17 MCP-tools die je kunt inschakelen via de pagina Plug-ins in TypingMind. Je kunt ze gebruiken in chats of toewijzen aan AI-agenten.

Moet ik mijn API-sleutels delen met TypingMind om Godot MCP te gebruiken?

Nee. TypingMind werkt in de eerste plaats lokaal en laat je de controle houden over je modelaanbieders, API-sleutels, prompts en MCP-configuratie. Als Godot authenticatie vereist, voeg je bij het maken van de verbinding de vereiste headers, OAuth-instellingen of lokale configuratie voor die MCP-server toe.

Gerelateerde MCP-servers

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇