RG

regiellis/godot-mcp-go

开发工具

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

74 stars 6 forks 质量 73 趋势 14MIT

为 AI 代理提供完整的 Godot 开发循环:从 CLI 或 MCP 客户端发现、构建、游玩、观察、调试、修复和验证。

概览

从终端构建、检查、测试和调试 Godot 游戏。用脚本自动化重复工作,或让代理使用相同的命令。不需要代理、模型或 AI 账户。MCP 是一个可选界面。 该项目以 Godot-mcp 发布至 0.11 版本。该名称描述了一个连接器,工具包通过终端、shell 脚本或连接客户端自动化 Godot,MCP 作为一个可选接口。旧名称也与许多其他 Godot MCP 项目相匹配。Swallowtail 为工具包本身命名。仓库 URL、Go 模块路径和 Godot-mcp 可执行文件保持不变,没有计划的移除日期。 使用swallowtail来获取新命令和脚本。发布包还包含已弃用的godot-mcp执行文件,功能相同。使用swallowtail migrate预览现有项目的插件迁移——project DIR。参见迁移到Swallowtail。该项目获得MIT许可。

概述(AI 翻译)

Godot 自动化。你的游戏。你的工作流程。

从终端构建、检查、测试和调试Godot游戏。自动化重复性 可以用脚本,或者让代理使用相同的命令。没有代理、模型或 AI 需要账户。MCP是可选接口。

[!注] 该项目在 0.11 之前以 godot-mcp 发布。这个名字描述了一个 连接器,工具包通过终端、shell脚本或 连接客户端,MCP 作为一个可选接口。旧名称也相同 与许多其他Godot MCP项目相匹配。Swallowtail为工具包本身命名。 仓库 URL、Go 模块路径和 godot-mcp 可执行文件分别为 未变,没有预定的移除日期。

使用swallowtail来获取新命令和脚本。发布包还包括 已弃用的godot-mcp可执行文件,功能相同。预览现有文件 项目的附加元件迁移,使用 swallowtail migrate --project DIR。 参见迁徙至凤尾蝶。 该项目获得了麻省理工学院的许可。

终端快速启动 · 脚本与CI · 命令参考 · 发行作品

目录

  1. 你的游戏。你的工作流程。(第58-80行)
  2. 使用Godot内置CLI(第82-97行)

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

README

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

Swallowtail

Godot automation. Your game. Your workflow.

Build, inspect, test, and debug Godot games from your terminal. Automate repetitive work with scripts, or let an agent use the same commands. No agent, model, or AI account is required. MCP is an optional interface.

[!NOTE] This project shipped as godot-mcp through 0.11. That name described one connector, and the toolkit automates Godot from a terminal, a shell script, or a connected client, with MCP as one optional interface. The old name also matched many other Godot MCP projects. Swallowtail names the toolkit itself. The repository URL, the Go module path, and the godot-mcp executable are unchanged, with no scheduled removal date.

Use swallowtail for new commands and scripts. Release bundles also include the deprecated godot-mcp executable with identical functionality. Preview an existing project’s addon migration with swallowtail migrate --project DIR. See Migrating to Swallowtail. The project is MIT licensed.

Terminal quickstart · Scripting and CI · Command reference · Releases

Contents

  1. Your game. Your workflow. (lines 58-80)
  2. Working with Godot’s built-in CLI (lines 82-97)
  3. Game QA and release reports (lines 99-114)
  4. Playtest sessions and CI reports (lines 116-132)
  5. CLI first, MCP optional (lines 134-146)
  6. How it compares (lines 148-169)
  7. Why I built Swallowtail (lines 171-195)
  8. Samples (lines 197-203)
  9. Contributing (lines 205-217)
  10. How it works (lines 219-231)
  11. Requirements (lines 233-249)
  12. Build (lines 251-257)
  13. Install into a project (lines 259-279)
  14. Quick start (lines 281-319)
  15. Use as an MCP server (lines 321-356)
  16. Live dashboard (opt-in) (lines 358-368)
  17. Build on it (lines 370-380)
  18. Command groups (lines 382-386)
  19. Agent skill (lines 388-390)
  20. Layout (lines 392-403)
  21. License (lines 405-407)
在 GitHub 查看完整 README

安装

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

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

配置

{ "mcpServers": { "swallowtail": { "command": "swallowtail", "args": ["serve", "--project", "/path/to/your/project"] } } }