GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者提供的说明(英文原文)
The most complete Godot 4 MCP: secure sandbox, 40+ tools (projects–runtime), major MCP clients.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"godot": {
"command": "uvx",
"args": [
"godot-mcp-server"
]
}
}
}在终端中运行这条命令
claude mcp add godot -- uvx godot-mcp-server粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"godot": {
"command": "uvx",
"args": [
"godot-mcp-server"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"godot": {
"type": "stdio",
"command": "uvx",
"args": [
"godot-mcp-server"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月10日
注册名称已通过 GitHub 账户 sterion66 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.0.2)于7个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:GitHub, Desktop Commander, Cloudflare MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
A comprehensive FastMCP server for Godot 4.x game development. Provides tooling for AI-assisted workflows: project management, file operations, asset discovery, GDScript development, and optional Godot execution.
Contributing · Security
Security model: All Godot projects, file writes, and Asset Library downloads are restricted to a single workspace directory on your machine (default ~/godot-games). The server refuses paths outside that tree. See Workspace setup.
Code execution: godot_run_game and godot_execute_script require GODOT_MCP_ALLOW_GODOT_EXEC in the server environment. The shipped MCP JSON configs set it to `1` so these tools work after copy-paste. Running python godot_mcp_server.py without that env still leaves execution off until you export it. To lock down an IDE install, remove the variable or set it to 0. See Godot execution (environment).
HTTP transport: Binding to 0.0.0.0 or :: exposes the MCP server on all network interfaces; prefer 127.0.0.1 unless you use a firewall or VPN.
Symlinks: GODOT_MCP_ROOT is resolved with symlinks followed; point it at a real directory you control.
project.godot); list all projects under the workspace (godot_list_projects)godot_create_project).tscn), scripts (.gd), resources (.tres)# From PyPI-style editable install (recommended for contributors)
pip install -e .
pip install -r requirements.txt
Console entry point (after pip install -e .): godot-mcp-server (same as python godot_mcp_server.py).
The MCP server only operates on Godot projects that live under one root folder. This keeps assistants from reading or writing arbitrary paths on your system.
mkdir -p ~/godot-games
project.godot, for example: ~/godot-games/
my-platformer/ ← open this folder in your editor project.godot ... another-game/ project.godot
~/godot-games/.../your-game (or a parent folder under ~/godot-games) so the MCP process can discover project.godot from the current working directory. export GODOT_MCP_ROOT="/path/to/your/godot-games"
python godot_mcp_server.py
In Cursor / Claude / other MCP configs, add env:
"env": {
"GODOT_MCP_ROOT": "/path/to/your/godot-games" }
If unset, the default is `$HOME/godot-games`. The server creates that directory on startup if it does not exist.
godot_get_workspace or read the resource project://workspace to see the active workspace path.If tools report that no project was found, your cwd is probably outside the workspace, or project_path points outside GODOT_MCP_ROOT.
Running the game or executing GDScript runs code as your user (same as starting Godot from a terminal). The server only enables godot_run_game / godot_execute_script when `GODOT_MCP_ALLOW_GODOT_EXEC` is set to an accepted “on” value.
Shipped configs (default yes): every example JSON in this repo (mcp_config.json, mcp_config.cursor.json, etc.) includes:
"env": {
"GODOT_MCP_ALLOW_GODOT_EXEC": "1" }
So if you copy one of those into your IDE, execution is allowed without extra steps. Merge other keys (e.g. GODOT_MCP_ROOT) into the same env object.
CLI without MCP config: running python godot_mcp_server.py does not set this variable; execution tools stay blocked until you export GODOT_MCP_ALLOW_GODOT_EXEC=1 (or use a wrapper script).
Stricter setups: delete GODOT_MCP_ALLOW_GODOT_EXEC from env, or set it to 0 / false / no / off, then restart the MCP client.
Accepted “on” values: 1, true, yes, on (case-insensitive). Call godot_get_workspace and check godot_exec_allowed to confirm.
python godot_mcp_server.py
python godot_mcp_server.py --transport http --port 8765
Set GODOT_MCP_ROOT in the MCP server env if you do not use the default ~/godot-games. See Workspace setup. Shipped snippets below include GODOT_MCP_ALLOW_GODOT_EXEC; see Godot execution (environment).
Path to the server: Examples use "args": ["godot_mcp_server.py"] assuming the MCP process runs with its working directory at the folder that contains the script (e.g. you cloned this repo). If the server fails to start, replace that with the absolute path to godot_mcp_server.py on your machine.
Expand a section and paste the JSON into the file your tool expects. The same godot server block is in the repo as mcp_config.*.json for copy-paste.
Cursor
macOS / Linux (project or user config) — Settings → MCP → *Add new global MCP server* or create .cursor/mcp.json in a project root:
{
"mcpServers": { "godot": { "command": "python3", "args": ["godot_mcp_server.py"], "env": { "GODOT_MCP_ALLOW_GODOT_EXEC": "1" } } } }
Windows — if python is not on PATH for the MCP host, use the launcher or full path to python.exe, and prefer an absolute path in args:
{
"mcpServers": { "godot": { "command": "cmd", "args": ["/c", "python", "C:\\path\\to\\godot-mcp-server\\godot_mcp_server.py"], "env": { "GODOT_MCP_ALLOW_GODOT_EXEC": "1" } } } }
Merge GODOT_MCP_ROOT into env if you do not use ~/godot-games (see Workspace setup).
Visual Studio Code
Use the MCP / agent settings your VS Code build provides (often Settings → MCP or a project .vscode/mcp.json, depending on version and extensions). Paste the same structure as Cursor:
{
"mcpServers": { "godot": { "command": "python3", "args": ["godot_mcp_server.py"], "env": { "GODOT_MCP_ALLOW_GODOT_EXEC": "1" } } } }
Use an absolute path in args if the workspace folder is not the repo root.
Claude Desktop
Edit the app config file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json{
"mcpServers": { "godot": { "command": "python3", "args": ["/absolute/path/to/godot_mcp_server.py"], "env": { "GODOT_MCP_ALLOW_GODOT_EXEC": "1" } } } }
Restart Claude Desktop after saving.
Claude Code (CLI)
Merge into ~/.claude/settings.json (or use claude mcp add if your CLI supports it — check claude mcp --help):
{
"mcpServers": { "godot": { "command": "python3", "args": ["godot_mcp_server.py"], "env": { "GODOT_MCP_ALLOW_GODOT_EXEC": "1" }, "description": "Godot 4.x game development server" } } }
Windsurf (Codeium)
macOS / Linux: edit ~/.codeium/windsurf/mcp_config.json, or use CMD+SHIFT+P → “Windsurf: Configure MCP Servers”.
{
"mcpServers": { "godot": { "command": "python3", "args": ["godot_mcp_server.py"], "env": { "GODOT_MCP_ALLOW_GODOT_EXEC": "1" }, "description": "Godot 4.x game development - project, scenes, scripts, assets, runtime" } } }
Roo Code
Paste into Roo’s MCP settings (project or global), same JSON shape as above. Repo copy: roo_code_mcp.json.
{
"mcpServers": { "godot": { "command": "python3", "args": ["godot_mcp_server.py"], "env": { "GODOT_MCP_ALLOW_GODOT_EXEC": "1" }, "description": "Godot 4.x game dev - project, scenes, scripts, assets, runtime" } } }
Generic JSON (any MCP host)
Minimal stdio config — same as mcp_config.json in this repo:
{
"mcpServers": { "godot": { "command": "python3", "args": ["godot_mcp_server.py"], "env": { "GODOT_MCP_ALLOW_GODOT_EXEC": "1" }, "description": "Godot 4.x game development server - file ops, asset management, runtime integration" } } }
godot_mcp_server.py).asset_id for godot_get_asset_info / godot_download_asset must be numeric digits only.Use loopback unless you know what you are doing:
python godot_mcp_server.py --transport http --host 127.0.0.1 --port 8765
Binding to all interfaces (--host 0.0.0.0) logs a warning and exposes MCP to your LAN with no authentication in this server.
Then use serverUrl instead of command:
{
"mcpServers": { "godot": { "serverUrl": "http://localhost:8765/mcp" } } }
Why not duplicate HTTP + stdio?
Only run one transport to the same project (stdio or HTTP), not both at once, to avoid conflicting MCP sessions.
40 MCP tools are registered in godot_mcp_server.py (search for @mcp.tool). Summary:
| Tool | Description |
|---|---|
godot_get_workspace | Show MCP sandbox directory (GODOT_MCP_ROOT) |
godot_find_project | Locate project root (walk-up or workspace scan) |
godot_list_projects | List every project.godot under the workspace |
只显示了开头部分;其余内容请在仓库中阅读