شعار Godot

Godot

المجتمع
telagod

AI-Powered Development Assistant for Godot Game Engine

الناشرtelagod
المستودعkooix-godot-mcp
اللغةTypeScript
التفريعات
2
النجوم
3
الأدوات المتاحة
17
نوع نقل البياناتstdio
الفئات
الترخيصMIT
الروابط
  • اربط الأدوات بسير عمل الذكاء الاصطناعي

    يتيح Godot إمكانات MCP التي يمكن لتطبيقات الذكاء الاصطناعي العميلة ووكلاء الذكاء الاصطناعي المتوافقة استخدامها.

  • الأدوات المتاحة: 17

    تصفّح الإجراءات القابلة للاستدعاء أدناه، بما في ذلك أسماؤها وأوصافها عندما يوفّرها الخادم.

  • إعدادات جاهزة للنسخ

    استخدم أمثلة إعداد التثبيت لتهيئة هذا الخادم في تطبيق MCP العميل المفضّل لديك.

  • مؤشرات الاهتمام بالمصدر المفتوح

    النجوم: 3، والنسخ المتفرعة: 2 في المستودع المرتبط.

🎮 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

التثبيت

TypingMind
المتطلبات المسبقة:

Node.js 18+

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

الأدوات المتاحة

  • 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

استخدم MCP الخاص بـ Godot مع نماذج ذكاء اصطناعي متعددة

يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا بمجرد توصيل Godot، يمكنك استخدامه مع نماذج ذكاء اصطناعي مختلفة في TypingMind بدلًا من إعداده لكل نموذج على حدة. يعمل تكامل MCP هذا محليًا عبر موصل MCP الخاص بـ TypingMind على جهازك.

دليل الإعداد لاستخدام الموصل المحلي

استخدم هذا الخيار عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات أو موارد خاصة على جهاز الكمبيوتر لديك.

1

فتح إعدادات MCP

في TypingMind، انتقل إلى «الإعدادات»، ثم «الإعدادات المتقدمة»، ثم «بروتوكول سياق النموذج»، واختر «إعداد الموصل».

  1. افتح TypingMind في متصفحك.
  2. انقر على أيقونة الإعدادات.
  3. انتقل إلى الإعدادات المتقدمة.
  4. افتح قسم بروتوكول سياق النموذج.
  5. انقر على «إعداد الموصل» واختر «هذا الجهاز».
شاشة إعداد موصل MCP في TypingMind مع تحديد «هذا الجهاز»
2

تنفيذ أمر الموصل

اختر «هذا الجهاز»، وانسخ الأمر من TypingMind وشغّله في Terminal. أبقِ العملية قيد التشغيل أثناء استخدام MCP.

  1. انسخ أمر الإعداد الذي يعرضه TypingMind.
  2. افتح Terminal على macOS أو Windows Terminal على Windows.
  3. الصق الأمر ونفّذه.
  4. وافق على تثبيت الحزمة إذا طلب منك Terminal تأكيد المتابعة.
  5. أبقِ نافذة Terminal والعملية التي تعمل فيها قيد التشغيل أثناء استخدام أدوات MCP.
3

أضف Godot كخادم

عندما تظهر حالة الموصل «جاهز»، انقر على «تعديل الخوادم» والصق إعدادات خادم MCP.

  1. انتظر حتى تظهر حالة الموصل «جاهز».
  2. انقر على «تعديل الخوادم».
  3. الصق إعدادات خادم MCP الخاص بـ Godot.
  4. احفظ قائمة الخوادم.
  5. حدّث الحالة إذا أردت التأكد من أن الموصل لا يزال جاهزًا.
إعدادات MCP في TypingMind تعرض خادمًا نشطًا وزر «تعديل الخوادم»
{
  "mcpServers": {
    "godot": {
      "command": "npx",
      "args": [
        "-y",
        "kooix-godot-mcp"
      ]
    }
  }
}
4

استخدام الاتصال مع نماذج مختلفة

احفظ قائمة الخوادم، وافتح «الإضافات»، وفعّل أدوات MCP الخاصة بـ Godot، ثم اختر أي نموذج ذكاء اصطناعي مدعوم في TypingMind واستخدم الأدوات في المحادثة أو أسندها إلى وكيل ذكاء اصطناعي.

  1. افتح صفحة الإضافات في TypingMind.
  2. فعّل أدوات MCP الخاصة بـ Godot.
  3. ابدأ محادثة واختر نموذج الذكاء الاصطناعي الذي تريد استخدامه.
  4. استخدم أدوات MCP في المحادثة أو عيّنها لوكيل ذكاء اصطناعي.
  5. انتقل إلى نموذج ذكاء اصطناعي آخر عند الحاجة دون إعادة الاتصال بـ MCP.
محادثة في TypingMind تستخدم أدوات MCP المفعّلة مع نموذج ذكاء اصطناعي محدّد
هل يمكنك استخدام Godot لمساعدتي في هذه المهمة؟
Godot
بالتأكيد. قرأته.
إليك ما وجدته باستخدام Godot.

الأسئلة الشائعة

ما استخدامات خادم MCP Godot؟

Godot هو خادم MCP يتيح لتطبيقات الذكاء الاصطناعي المتوافقة الاتصال بأدوات ومصادر سياق خارجية. في TypingMind، يمكنك إضافة خادم MCP هذا مرة واحدة وإتاحة أدواته في مساحة عملك للذكاء الاصطناعي.

هل يمكنني استخدام خادم MCP Godot مع نماذج ذكاء اصطناعي متعددة في TypingMind؟

نعم. يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا يمكنك استخدام Godot مع نماذج ذكاء اصطناعي مختلفة مثل Claude أو ChatGPT أو Gemini أو غيرها من النماذج التي أعددتها في TypingMind، دون إعداد خادم MCP لكل نموذج على حدة.

لماذا تستخدم موصل MCP Godot مع TypingMind؟

يُعد TypingMind من أفضل واجهات المحادثة مع النماذج اللغوية الكبيرة، إذ يجمع نماذج ذكاء اصطناعي متعددة ومطالبات وإضافات ووكلاء ذكاء اصطناعي ومفاتيح API وأدوات MCP في مساحة عمل واحدة. بعد توصيل Godot، يمكنك استخدام أدوات MCP الخاصة به عبر نماذجك المفضلة مع الحفاظ على سير عمل محادثاتك منظمًا في TypingMind.

كيف أوصّل خادم MCP Godot بـ TypingMind؟

يعمل Godot عبر موصل MCP المحلي في TypingMind. هذا هو الخيار الأنسب عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات سطح المكتب أو أدوات سطر الأوامر أو موارد خاصة على حاسوبك.

ما الأدوات التي يوفّرها خادم MCP Godot في TypingMind؟

يتيح Godot أدوات MCP بعدد 17، يمكنك تفعيلها من صفحة الإضافات في TypingMind واستخدامها في المحادثات أو تعيينها لوكلاء ذكاء اصطناعي.

هل أحتاج إلى مشاركة مفاتيح API الخاصة بي مع TypingMind لاستخدام خادم MCP Godot؟

لا. يعطي TypingMind الأولوية للعمل المحلي ويُبقي مزوّدي النماذج ومفاتيح API والمطالبات وإعدادات MCP تحت تحكمك. إذا كان Godot يتطلب مصادقة، فأضف الترويسات أو إعدادات OAuth أو الإعدادات المحلية المطلوبة لخادم MCP هذا عند إنشاء الاتصال.

خوادم MCP ذات صلة

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇