YU

youichi-uda/godot-mcp-pro

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

640 stars 80 forks 质量 77 趋势 30NOASSERTION

162个用于AI驱动Godot 4开发的MCP工具。场景、动画、3D、物理、粒子、音频、着色器、输入仿真、运行时分析、导航、测试等。一次性售价15美元。

概览

用于 AI 驱动的 Godot 游戏开发的高级 MCP(模型上下文协议)服务器。通过 Claude 直接连接 AI 助手与您的 Godot 编辑器。 - : WebSocket 连接意味着即时反馈,无需文件轮询 - : 完全访问 Godot 编辑器 API、UndoRedo 系统和场景树 - : 标准协议,带有正确的错误代码和建议 ⚠️ MCP服务器(Node.js,连接AI助手必备)作为付费套餐的一部分分发—— 终身更新:- : https://buymeacoffee.com/y1uda/extras - : https://y1uda.itch.io/godot-mcp-pro 付费zip包含插件、带有预构建JavaScript的服务器/目录、INSTALL.md 和AI客户端指令。如果你克隆了这个仓库但没看到服务器/文件夹,- 请从上面的链接获取完整包。 把 addons/godot_mcp/ 文件夹复制到你 Godot 项目的 addons/ 目录里。 服务器/目录仅包含在(见上文)中。

概述(AI 翻译)

用于AI驱动的Godot游戏开发的高级MCP(模型上下文协议)服务器。通过187个强大工具,将像Claude这样的AI助手直接连接到你的Godot编辑器。

建筑

  • 实时:WebSocket连接意味着即时反馈,无需文件轮询
  • 编辑器集成:完全访问Godot编辑器API、UndoRedo系统和场景树
  • JSON-RPC 2.0:标准协议,包含正确的错误代码和建议

这个收回里有什么

⚠️ 此公开仓库仅包含免费的Godot插件/插件。 MCP服务器(Node.js,连接AI助手所需)作为付费套餐的一部分分发——一次性购买,终身更新:

付费压缩包包含插件、带有预构建JavaScript的server/目录、INSTALL.md和AI客户端指令。如果你克隆了这个仓库但没看到server/文件夹,这是预期中的——请从上面的链接下载完整包。

快速启动

1.安装 Godot 插件

把 addons/godot_mcp/ 文件夹复制到 Godot 项目的 addons/ 目录里。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Godot MCP Pro

Premium MCP (Model Context Protocol) server for AI-powered Godot game development. Connects AI assistants like Claude directly to your Godot editor with 187 powerful tools.

Architecture

AI Assistant ←—stdio/MCP—→ Node.js Server ←—WebSocket:6505—→ Godot Editor Plugin
  • Real-time: WebSocket connection means instant feedback, no file polling
  • Editor Integration: Full access to Godot’s editor API, UndoRedo system, and scene tree
  • JSON-RPC 2.0: Standard protocol with proper error codes and suggestions

What’s in this repo

⚠️ This public repo only contains the free Godot addon/plugin. The MCP server (Node.js, required to connect AI assistants) is distributed as part of the paid package — one-time purchase, lifetime updates:

The paid zip includes the addon, the server/ directory with pre-built JavaScript, INSTALL.md, and AI-client instructions. If you cloned this repo and don’t see a server/ folder, that’s expected — grab the full package from one of the links above.

Quick Start

1. Install the Godot Plugin

Copy the addons/godot_mcp/ folder into your Godot project’s addons/ directory.

Enable the plugin: Project → Project Settings → Plugins → Godot MCP Pro → Enable

2. Install the MCP Server

The server/ directory is only included in the full paid package (see above). After downloading and extracting the zip, run:

cd server
npm install
npm run build

3. Configure Claude Code

Add to your .mcp.json:

{
  "mcpServers": {
    "godot-mcp-pro": {
      "command": "node",
      "args": ["/path/to/server/build/index.js"],
      "env": {
        "GODOT_MCP_PORT": "6505"
      }
    }
  }
}

4. Choose Your Mode

Godot MCP Pro offers four modes to fit any client’s tool limit:

Mode Tools Best For
Full (default) 187 Claude Code, Cline, VS Code Copilot, Cursor
3D (--3d) 100 Antigravity and other 100-tool-limit clients needing 3D
Lite (--lite) 88 Windsurf, JetBrains Junie, Gemini CLI
Minimal (--minimal) 35 OpenCode, local LLMs with small context

--3d includes the core tools plus physics, AnimationTree and navigation, but omits uid_to_project_path, project_path_to_uid, compare_screenshots, clear_output, close_script, reload_open_scripts, set_anchor_preset and click_button_by_text to stay within the 100-tool cap.

{
  "mcpServers": {
    "godot-mcp-pro": {
      "command": "node",
      "args": ["/path/to/server/build/index.js", "--lite"]
    }
  }
}

Replace --lite with --minimal for the smallest footprint.

  • Lite includes: project, scene, node, script, editor, input, runtime, and input_map tools.
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "godot-mcp-pro": { "command": "node", "args": ["/path/to/server/build/index.js"], "env": { "GODOT_MCP_PORT": "6505" } } } }