Godot MCP logo

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.

PublisherKeeVeeG
Repositorygodot-mcp
LanguageGDScript
Forks
0
Stars
25
Available tools
0
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Godot MCP exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    25 stars and 0 forks from the linked repository.

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 Godot MCP MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Godot MCP is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Godot MCP as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Godot MCP MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "keeveeg-godot-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Godot MCP MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Godot MCP MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Godot MCP to help me with this task?
Godot MCP
Sure. I read it.
Here is what I found using Godot MCP.

Frequently asked questions

What is the Godot MCP MCP server used for?

Godot MCP is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Godot MCP MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Godot MCP with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Godot MCP MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Godot MCP connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Godot MCP MCP to TypingMind?

Godot MCP runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Godot MCP MCP provide in TypingMind?

Godot MCP exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Godot MCP MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Godot MCP requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇