MCP Catalogs
首页godot-mcp screenshot

godot-mcp

by tugcantopaloglu·189·综合分 48

Godot MCP 服务器提供 149 个工具,实现 AI 驱动的游戏开发中对引擎的全面控制。

developer-toolsai-llmother
33
Forks
5
活跃 Issue
2 个月前
最近提交
2 天前
收录于

概述

Godot MCP 是一个全面的模型上下文协议服务器,使 AI 助手能够完全控制 Godot 游戏引擎。它包含 149 个工具,涵盖网络、3D/2D 渲染、UI 控制、音频效果、动画树、文件 I/O、运行时代码执行、属性检查、场景操作、信号管理、物理、项目创建等功能。该服务器基于原始 godot-mcp 项目构建并扩展,工具数量从 20 个大幅增加到 149 个,包括运行时代码执行、节点检查、动画控制和无头场景操作等重要增强功能。

试试问 AI

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

:AI 原型设计游戏机制并实时迭代游戏玩法
:自动化 Godot 项目设置、场景创建和资产管理
:通过运行时检查和属性操作调试游戏问题
:这是否需要运行中的 Godot 实例?
:它支持哪些编程语言?

什么时候选它

当您需要 AI 执行复杂的 Godot 游戏开发任务、自动化工作流或创建 AI 驱动的游戏开发体验时,选择 Godot MCP。

什么时候不要选它

如果您使用的是 Godot 以外的游戏引擎,或者需要具有基于 GUI 的视觉脚本功能的解决方案,请不要选择它。

此 server 暴露的工具

从 README 抽取出 12 个工具
  • game_eval

    Execute arbitrary GDScript code in the running game with return values

  • game_get_property

    Read any property on any node by path in the running game

  • game_set_property

    Write any property on any node by path in the running game

  • game_call_method

    Call any method on any node with arguments in the running game

  • game_instantiate_scene

    Dynamically add scenes to the running game

  • game_play_animation

    Control AnimationPlayer in the running game

  • game_pause

    Pause or unpause the running game

  • read_scene

    Parse any .tscn file and get full node tree with properties as JSON

  • create_project

    Create a new Godot project from scratch

  • manage_export_presets

    Create or modify export preset configuration

  • game_http_request

    Make HTTP GET/POST/PUT/DELETE requests with headers and body

  • game_ui_control

    Set focus, anchors, tooltip, mouse filter on UI controls

可对比工具

godot-editor-apiunity-mcp unreal-engine-mcp

安装

安装

  1. 安装 MCP 服务器:
npm install godot-mcp
  1. 添加到 Claude Desktop 配置:
{
  "mcpServers": {
    "godot": {
      "command": "node",
      "args": ["/path/to/godot-mcp/dist/index.js"],
      "env": {
        "GODOT_PROJECT_PATH": "/path/to/your/godot/project"
      }
    }
  }
}
  1. 重启 Claude Desktop 以加载服务器。

FAQ

这是否需要运行中的 Godot 实例?
不需要。许多工具可以在无头模式下运行,不需要正在运行的游戏,但运行时功能需要活动的游戏实例。
它支持哪些编程语言?
服务器本身使用 JavaScript/TypeScript 编写。它与 Godot 的 GDScript 语言交互处理游戏逻辑。

godot-mcp 对比

GitHub →

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