Logo di Godot MCP

Godot MCP

Community
KeeVeeG

300+ tools that connect AI assistants directly to the Godot editor. Build scenes, write scripts, test gameplay — all through natural language.

Pubblicato daKeeVeeG
Repositorygodot-mcp
LinguaGDScript
Fork
0
Stelle
25
Strumenti disponibili
0
Tipo di trasportostdio
Categorie
LicenzaMIT
Link
  • Collega gli strumenti ai flussi di lavoro IA

    Godot MCP mette a disposizione funzionalità MCP utilizzabili da client e agenti IA compatibili.

  • Strumenti disponibili: 0

    Esplora le azioni richiamabili qui sotto, con nomi e descrizioni se il server li fornisce.

  • Configurazione pronta da copiare

    Usa gli esempi di installazione per configurare questo server nel tuo client MCP preferito.

  • Indicatori di interesse della comunità open source

    Stelle: 25; fork: 0 (repository collegato).

Godot MCP

AI-powered game development for Godot Engine via Model Context Protocol

TypeScript GDScript Godot 4.x MCP License: MIT

🌐 Website · 📋 Tools Catalog · 💬 GitHub · 📦 Releases

Godot MCP connects AI assistants (Claude, Cursor, VS Code Copilot, OpenCode, and any MCP-compatible client) directly to the Godot editor. It exposes 300+ tools across 40+ modules, covering everything from scene construction and node manipulation to runtime inspection, input recording, physics setup, animation authoring, project export, addon management, debugging, and platform-specific configuration.

The AI can read your scene tree, create nodes, write scripts, simulate gameplay input, capture screenshots, run assertions, and batch-modify properties across scenes, all through a single WebSocket bridge.

This project was developed with the help of multiple AI models: MiMo-V2.5-Pro, DeepSeek V4 Pro, DeepSeek V4 Flash, and Qwen 3.7 Plus.

Table of Contents

Features

  • 300+ tools for complete Godot development workflows
  • Real-time scene manipulation — add, delete, move, rename, and reconfigure nodes without leaving your AI chat
  • Runtime game inspection — query the live scene tree, read/write properties during gameplay, execute GDScript in the running game
  • Input recording and replay — record player sessions, replay at variable speed, simulate keyboard/mouse/action input
  • Visual testing with screenshots — capture editor and game viewport screenshots for visual regression checks
  • Animation authoring — create clips, add tracks, set keyframes, build state machines and blend trees
  • Physics setup — add bodies, collision shapes, raycasts, physics materials; configure layers/masks
  • Audio management — add players, configure bus layouts, insert effects (reverb, delay, chorus, etc.)
  • Navigation — set up regions, agents, bake navmeshes, query pathfinding between points
  • TileMap editing — set cells, fill rectangles, clear areas, read tile data
  • Theme and shader tools — create themes, set colors/fonts/styleboxes; create, edit, and validate shaders
  • Batch operations — find nodes by type, set properties across scenes, detect circular dependencies
  • Testing framework — run multi-step test scenarios, assert node state, check screen text, run stress tests
  • Undo/redo support — all editor mutations go through Godot's built-in undo system
  • Auto port scanning — server and plugin negotiate on ports 6505-6514 automatically
  • Zero project modification — installs as a standard Godot plugin, no engine changes required

Architecture

MCP Client (Claude, Cursor, VS Code, OpenCode)
    │  stdio (JSON-RPC 2.0)
    ▼
Node.js MCP Server (TypeScript)
    │  WebSocket (JSON-RPC 2.0)
    ▼
Godot Editor Plugin (GDScript)
    ├── Command Router → 40+ command modules → 300+ tools
    ├── UndoRedo Helper
    └── Runtime Autoload (mcp_runtime.gd)
        — scene tree queries, property R/W, input simulation,
          screenshot capture, signal watching

Data flow: AI client sends a tool call over stdio → MCP server looks up the tool in the registry → forwards via WebSocket to the Godot plugin → command router dispatches to the correct module → module calls Godot Editor API (with undo/redo) → result flows back to the AI client.

See the website for a detailed architecture diagram.

Installation

Prerequisites

  • Godot 4.x (tested with 4.7)
  • An MCP-compatible AI client (Claude Desktop, Cursor, VS Code with Copilot, OpenCode, etc.)

Godot Addon

Option A — Download from Releases (recommended)

  1. Go to the Releases page and download the latest addons zip asset (e.g. keeveeg-godot-mcp-v1.1.0-addons.zip).
  2. Extract the zip into your Godot project root — this places addons/godot_mcp/ in the correct location.
  3. Open your project in Godot.
  4. Go to Project → Project Settings → Plugins.
  5. Find Godot MCP in the list and set it to Active.

Option B — Copy from the repository

  1. Copy the addons/godot_mcp/ folder from this repository into your project's addons/ directory.
  2. Open your project in Godot.
  3. Go to Project → Project Settings → Plugins.
  4. Find Godot MCP in the list and set it to Active.

After enabling, the plugin scans ports 6505-6514 for a running MCP server. Once connected, the MCP tab appears in the bottom panel showing connection status and activity log.

Configuration

MCP Client

Add the following to your MCP client's configuration file:

json
{
  "mcpServers": {
    "godot": {
      "command": "npx",
      "args": ["-y", "@keeveeg/godot-mcp"]
    }
  }
}

For local development, use the full path:

json
{
  "mcpServers": {
    "godot": {
      "command": "node",
      "args": ["/path/to/godot-mcp/server/dist/index.js"]
    }
  }
}
ClientConfig file
Claude Desktop~/.config/claude/claude_desktop_config.json (Linux/macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Cursor.cursor/mcp.json in project root
OpenCodeopencode.json in project root or ~/.config/opencode/opencode.json globally

Example opencode.json:

json
{
  "mcp": {
    "godot": {
      "type": "local",
      "command": ["npx", "-y", "@keeveeg/godot-mcp"]
    }
  }
}

Environment Variables

VariableDefaultDescription
GODOT_MCP_DEBUG(unset)Set to any value to enable debug logging in the server

Tool Enable/Disable

Create a godot_mcp_config.json file in your Godot project root to selectively disable tools:

json
{
  "enabled_tools": {
    "delete_scene": false,
    "reload_project": false,
    "execute_editor_script": false
  }
}

Tools not listed in the config are enabled by default. The plugin reads this file on startup.

Tools

All 300+ tools across 40+ modules are documented in the Tools Catalog with searchable descriptions and category groupings.

Troubleshooting

Connection Problems

"Godot editor is not connected"

The MCP server is running but Godot hasn't connected yet.

  • Make sure the Godot editor is open with the MCP plugin active
  • Check the MCP panel in Godot's bottom dock for connection status
  • Verify no firewall is blocking localhost connections on ports 6505-6514
  • Look at Godot's output log for [MCP] messages

"Failed to bind to any port in range 6505-6514"

All ports in the scanning range are occupied.

  • Check if another instance of the MCP server is already running
  • Kill any stale node processes: pkill -f "godot-mcp" (Linux/macOS) or use Task Manager (Windows)
  • The server will automatically try the next available port

Godot Path Not Found

  • Use res:// prefixed paths (e.g., res://scenes/main.tscn)
  • Use get_filesystem_tree to verify the project structure
  • Make sure the Godot project is the one you think it is (check get_project_info)

WebSocket Timeout

"Request timed out after 30000ms"

  • The editor may be busy (compiling, loading a large scene)
  • Check if a dialog is blocking the editor (the plugin auto-dismisses most dialogs during gameplay)
  • Try the request again — for large operations, the editor may need more time

Plugin Not Loading

  • Verify the addons/godot_mcp/ directory is in the correct location
  • Go to Project → Project Settings → Plugins and check if Godot MCP appears
  • If it appears but is disabled, enable it
  • Check for GDScript errors in the output log
  • Try Project → Reload Current Project

Runtime Tools Not Working

The mcp_runtime.gd autoload must be present for runtime tools to work. The plugin registers it automatically, but verify:

  1. Open project.godot and check the [autoload] section
  2. You should see: mcp_runtime="res://addons/godot_mcp/services/mcp_runtime.gd"
  3. Important: Do NOT use the * prefix — the * means "editor only" and the autoload won't load in-game
  4. Check Godot's output log for [MCP Runtime] Loaded and ready for IPC

Usa Godot MCP MCP con più modelli AI

TypingMind collega gli strumenti MCP a livello di area di lavoro: una volta connesso Godot MCP, puoi usarlo con diversi modelli IA in TypingMind, senza configurarlo separatamente per ogni modello. Questa integrazione MCP viene eseguita localmente sul tuo dispositivo tramite il connettore MCP di TypingMind.

Guida alla configurazione del connettore locale

Usa questo metodo quando il server MCP deve accedere a file locali, app o risorse private sul tuo computer.

1

Apri le impostazioni MCP

In TypingMind, vai su Impostazioni, Impostazioni avanzate, poi su Model Context Protocol e scegli Configura connettore.

  1. Apri TypingMind nel tuo browser.
  2. Fai clic sull'icona Impostazioni.
  3. Vai a Impostazioni avanzate.
  4. Apri la sezione Model Context Protocol.
  5. Fai clic su Configura connettore e scegli Questo dispositivo.
Schermata di configurazione del connettore MCP di TypingMind con l’opzione «Questo dispositivo» selezionata
2

Esegui il comando del connettore

Scegli Questo dispositivo, copia il comando da TypingMind ed eseguilo nel terminale. Lascia il processo in esecuzione mentre usi MCP.

  1. Copia il comando di configurazione mostrato da TypingMind.
  2. Apri Terminale su macOS o Windows Terminal su Windows.
  3. Incolla ed esegui il comando.
  4. Conferma l'installazione del pacchetto se il terminale ti chiede di procedere.
  5. Tieni aperta la finestra del terminale con il processo in esecuzione mentre usi gli strumenti MCP.
3

Aggiungi Godot MCP come server

Quando lo stato del connettore è Pronto, fai clic su Modifica server e incolla la configurazione del server MCP.

  1. Attendi che lo stato del connettore sia Pronto.
  2. Fai clic su Modifica server.
  3. Incolla la configurazione del server MCP di Godot MCP.
  4. Salva l'elenco dei server.
  5. Se vuoi verificare che il connettore sia ancora pronto, aggiorna la pagina.
Impostazioni MCP di TypingMind con un server attivo e il pulsante Modifica server
{
  "mcpServers": {
    "keeveeg-godot-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Usa la connessione con diversi modelli

Salva l'elenco dei server, apri Plugin, abilita gli strumenti MCP di Godot MCP, poi seleziona un modello IA supportato in TypingMind e usa gli strumenti in chat o assegnali a un agente IA.

  1. Apri la pagina Plugin in TypingMind.
  2. Abilita gli strumenti MCP di Godot MCP.
  3. Avvia una chat e scegli il modello IA che vuoi usare.
  4. Usa gli strumenti MCP in chat o assegnali a un agente IA.
  5. Passa a un altro modello IA quando serve, senza riconnettere MCP.
Chat di TypingMind che usa gli strumenti MCP abilitati con un modello IA selezionato
Puoi usare Godot MCP per aiutarmi con questa attività?
Godot MCP
Certo. L’ho letto.
Ecco cosa ho trovato con Godot MCP.

Domande frequenti

A cosa serve il server MCP Godot MCP?

Godot MCP è un server MCP che consente ai client IA compatibili di accedere a strumenti e informazioni di contesto esterni. In TypingMind puoi aggiungere questo server MCP una sola volta e rendere disponibili i suoi strumenti nella tua area di lavoro IA.

Posso usare il server MCP Godot MCP con più modelli IA in TypingMind?

Sì. TypingMind collega gli strumenti MCP a livello di area di lavoro, quindi puoi usare Godot MCP con diversi modelli IA come Claude, ChatGPT, Gemini o altri modelli che hai configurato in TypingMind, senza dover configurare il server MCP separatamente per ogni modello.

Perché usare il connettore MCP Godot MCP con TypingMind?

TypingMind è una delle migliori interfacce per chattare con gli LLM perché riunisce più modelli IA, prompt, plugin, agenti IA, chiavi API e strumenti MCP in un'unica area di lavoro. Collegando Godot MCP, puoi usare i suoi strumenti MCP con i tuoi modelli preferiti e mantenere organizzato il tuo flusso di lavoro in chat su TypingMind.

Come collego il server MCP Godot MCP a TypingMind?

Godot MCP funziona tramite il connettore MCP locale di TypingMind. È la soluzione ideale quando il server MCP deve accedere a file locali, app desktop, strumenti da riga di comando o risorse private sul tuo computer.

Quali strumenti offre il server MCP Godot MCP in TypingMind?

Godot MCP mette a disposizione funzionalità MCP che puoi attivare dalla pagina Plugin di TypingMind e usare in chat o assegnare agli agenti IA.

Devo condividere le mie chiavi API con TypingMind per usare il server MCP Godot MCP?

No. TypingMind privilegia il funzionamento in locale e ti permette di mantenere il controllo su fornitori di modelli, chiavi API, prompt e configurazione MCP. Se Godot MCP richiede l'autenticazione, aggiungi le intestazioni, le impostazioni OAuth o la configurazione locale necessarie per quel server MCP quando crei la connessione.

Server MCP correlati

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇