Logo de Godot MCP

Godot MCP

Comunidade
KeeVeeG

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

Publicado porKeeVeeG
Repositóriogodot-mcp
IdiomaGDScript
Forks
0
Estrelas
25
Ferramentas disponíveis
0
Tipo de transportestdio
Categorias
LicençaMIT
Links
  • Conecte ferramentas a fluxos de trabalho de IA

    Godot MCP disponibiliza recursos MCP que podem ser usados por clientes e agentes de IA compatíveis.

  • Ferramentas disponíveis: 0

    Confira abaixo as ações que o cliente MCP pode executar, com nomes e descrições quando fornecidos pelo servidor.

  • Configuração pronta para copiar

    Use os exemplos de instalação para configurar este servidor no seu cliente MCP preferido.

  • Indicadores da comunidade de código aberto

    Estrelas: 25 e forks: 0 no repositório vinculado.

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

Use o MCP de Godot MCP com vários modelos de IA

O TypingMind conecta as ferramentas MCP no nível do espaço de trabalho. Assim, após conectar Godot MCP, é possível usá-lo com diferentes modelos de IA no TypingMind, em vez de configurá-lo separadamente para cada modelo. Este MCP é executado localmente no seu dispositivo por meio do conector MCP do TypingMind.

Guia de configuração para usar o conector local

Use esta opção quando o servidor MCP precisar acessar arquivos locais, aplicativos ou recursos privados no seu computador.

1

Abra as configurações de MCP

No TypingMind, acesse Configurações > Configurações avançadas > Model Context Protocol e selecione Configurar conector.

  1. Abra o TypingMind no navegador.
  2. Clique no ícone de Configurações.
  3. Acesse Configurações avançadas.
  4. Abra a seção Model Context Protocol.
  5. Clique em Configurar conector e selecione Este dispositivo.
Tela de configuração do conector MCP do TypingMind com a opção Este dispositivo selecionada
2

Execute o comando do conector

Selecione Este dispositivo, copie o comando do TypingMind e execute-o no Terminal. Mantenha o processo em execução enquanto usa o MCP.

  1. Copie o comando de configuração exibido pelo TypingMind.
  2. Abra o Terminal no macOS ou o Windows Terminal no Windows.
  3. Cole e execute o comando.
  4. Autorize a instalação do pacote se o Terminal pedir confirmação para continuar.
  5. Mantenha o processo em execução na janela do Terminal enquanto usa as ferramentas MCP.
3

Adicione Godot MCP como servidor

Quando o status do conector for Pronto, clique em Editar servidores e cole a configuração do servidor MCP.

  1. Aguarde até que o status do conector mostre Pronto.
  2. Clique em Editar servidores.
  3. Cole a configuração do servidor MCP de Godot MCP.
  4. Salve a lista de servidores.
  5. Se quiser confirmar que o conector ainda está pronto para uso, atualize a página.
Configurações de MCP do TypingMind mostrando um servidor ativo e o botão Editar servidores
{
  "mcpServers": {
    "keeveeg-godot-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use a conexão com diferentes modelos

Salve a lista de servidores, abra Plugins, ative as ferramentas MCP de Godot MCP, selecione qualquer modelo de IA compatível no TypingMind e use as ferramentas no chat ou atribua-as a um agente de IA.

  1. Abra a página Plugins no TypingMind.
  2. Ative as ferramentas MCP de Godot MCP.
  3. Inicie um chat e escolha o modelo de IA que deseja usar.
  4. Use as ferramentas MCP no chat ou atribua-as a um agente de IA.
  5. Mude para outro modelo de IA sempre que necessário, sem reconectar o MCP.
Chat do TypingMind usando ferramentas MCP ativadas com um modelo de IA selecionado
Pode usar Godot MCP para me ajudar nesta tarefa?
Godot MCP
Claro. Já li.
Veja o que encontrei usando Godot MCP.

Perguntas frequentes

Para que serve o servidor MCP Godot MCP?

Godot MCP é um servidor MCP que permite que aplicativos de IA compatíveis se conectem a ferramentas externas e informações de contexto. No TypingMind, basta adicionar esse servidor MCP uma vez para disponibilizar suas ferramentas no seu espaço de trabalho com IA.

Posso usar o MCP Godot MCP com vários modelos de IA no TypingMind?

Sim. O TypingMind conecta as ferramentas MCP no nível do espaço de trabalho, permitindo usar Godot MCP com diferentes modelos de IA, como Claude, ChatGPT, Gemini ou outros modelos configurados no TypingMind, sem configurar o servidor MCP separadamente para cada modelo.

Por que usar o MCP Godot MCP com o TypingMind?

O TypingMind é uma das melhores interfaces de chat com LLMs porque reúne vários modelos de IA, prompts, plugins, agentes de IA, chaves de API e ferramentas MCP em um só espaço de trabalho. Com Godot MCP conectado, é possível usar suas ferramentas MCP nos seus modelos preferidos e manter seu fluxo de trabalho de chat organizado no TypingMind.

Como conecto o MCP Godot MCP ao TypingMind?

Godot MCP funciona por meio do conector MCP local do TypingMind. Essa é a melhor opção quando o servidor MCP precisa acessar arquivos locais, apps de desktop, ferramentas de linha de comando ou recursos privados no seu computador.

Quais ferramentas o MCP Godot MCP oferece no TypingMind?

Godot MCP disponibiliza recursos MCP que podem ser ativados na página Plugins do TypingMind e usados no chat ou atribuídos a agentes de IA.

Preciso compartilhar minhas chaves de API com o TypingMind para usar o MCP Godot MCP?

Não. O TypingMind prioriza o uso local e permite manter seus provedores de modelos, chaves de API, prompts e configuração MCP sob seu controle. Se Godot MCP exigir autenticação, adicione os cabeçalhos, as configurações OAuth ou a configuração local exigidos por esse servidor MCP ao criar a conexão.

Servidores MCP relacionados

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇