MCP Catalogs
首页

godot-devtool

by wangdiandao·42·综合分 45

一个为 Godot 4 提供 AI 辅助项目检查、编辑、验证和运行时自动化的 MCP 服务器。

developer-toolsai-llmproductivity
4
Forks
0
活跃 Issue
本月
最近提交
2 天前
收录于

概述

godot-devtool 是一个全面的 MCP 服务器,通过多种传输路线让 AI 助手能够与 Godot 4 项目进行交互。它提供原生、无头、编辑器和运行时路线,支持项目设置、实时编辑、运行时测试和多实例管理等各种工作流程。服务器使用 stdio 通信,并可选 WebSocket 桥接来实现高级编辑器和运行时功能。它通过项目路径、上下文和会话标识符维护连接状态,允许多个 MCP 客户端高效共享桥接端口。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:AI 辅助的 Godot 项目设置和配置
:通过 AI 助手进行实时场景和脚本编辑
:运行时自动测试和 QA 验证
:桥接的默认 WebSocket 端口是什么?
:这个 MCP 服务器是否需要 Godot 编辑器运行?

什么时候选它

如果您使用 Godot 4 并希望 AI 助手帮助处理游戏开发任务(如调试、场景编辑和运行时自动化),请选择 godot-devtool。

什么时候不要选它

如果您不使用 Godot 4,请避免使用此服务器,因为它专门为 Godot 游戏开发设计,不适用于其他游戏引擎。

此 server 暴露的工具

从 README 抽取出 12 个工具
  • get_godot_version

    Get the installed Godot engine version

  • get_capabilities

    Get available tools and their schemas with optional filtering

  • plugin_install

    Install the godot-devtool plugin in a Godot project

  • plugin_status

    Check the installation status of the godot-devtool plugin

  • get_project_info

    Retrieve metadata about a Godot project

  • run_project

    Run the Godot project and capture output

  • stop_project

    Stop the currently running Godot project

  • list_projects

    List Godot projects in a directory

  • project_get_settings

    Read Godot project.godot settings by section or section/key list

  • project_set_setting

    Update Godot project.godot settings with dry-run preview

  • run_project_checks

    Run stable project checks for CI, review, and release workflows

  • browser_visualizer_start

    Start a local read-only dashboard for bridge status and visualization

可对比工具

godot-mcpgame-dev-assistantgame-mcp-server

安装

安装

从本地构建

  1. 解压已发布的 zip 文件到稳定路径
  2. 确认服务器入口存在于 build/index.js
  3. 将此 MCP 服务器添加到您的客户端配置中:
{
  "mcpServers": {
    "godot-devtool": {
      "command": "node",
      "args": ["E:/godot-devtool/build/index.js"],
      "env": {
        "GODOT_PATH": "D:/Program Files/Godot/Godot_v4.x.exe",
        "GODOT_DEVTOOL_WS_PORT": "8766"
      }
    }
  }
}

从源码构建

git clone https://github.com/wangdiandao/godot-devtool.git
cd godot-devtool
npm install
npm run build
  1. 使用 plugin_install 工具安装 Godot 插件

FAQ

桥接的默认 WebSocket 端口是什么?
默认 WebSocket 端口是 8766,可以通过 GODOT_DEVTOOL_WS_PORT 环境变量配置。
这个 MCP 服务器是否需要 Godot 编辑器运行?
不需要,它既支持不需要编辑器的原生/无头路线,也支持需要编辑器或游戏运行的编辑器/运行时路线。

godot-devtool 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。