godot-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@godot-mcp check lint on player.gd"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AIGC: ContentProducer: Minimax Agent AI ContentPropagator: Minimax Agent AI Label: AIGC ProduceID: "00000000000000000000000000000000" PropagateID: "00000000000000000000000000000000" ReservedCode1: 30440220272e9c26d48e4b2e68c85309a4b16e9d819d9edbbd42b1ba8702b03a8b96afc402201d6e8c78e678951411edecabb05d806ae4c235f24287a25a5ea7a93a67e348c4 ReservedCode2: 3045022100caa3fe17901c14aa5782bbb3b1a7b98626ceac25216f17f8f7315ef1bdf0d219022024cc1d8e1dd32a5d5bb5de66506ae8303c6a823851e1e4fc3bb218dc797a702d
Godot MCP Server
一个用于 Godot GDScript 自动化检查的 MCP 服务器。
Related MCP server: godotlens-mcp
功能
gdlint- 检查 GDScript 文件gdformat- 格式化代码godot_export_validate- 导出验证依赖错误godot_check_all- 执行完整检查godot_get_errors- 读取错误日志
安装
cd godot-mcp
npm install配置
设置 Godot 可执行文件路径(可选,默认使用系统 PATH 中的 godot):
# Godot 可执行文件路径
export GODOT_BIN=/usr/bin/godot4在 Claude Code 中使用
在 claude_code_settings.json 中添加:
{
"mcpServers": {
"godot-check": {
"command": "node",
"args": ["/path/to/godot-mcp/index.js"],
"env": {
"GODOT_BIN": "/usr/bin/godot4"
},
"alwaysAllow": ["gdlint", "gdformat", "godot_export_validate", "godot_check_all", "godot_get_errors"]
}
}
}使用示例
所有工具都支持通过 project 参数指定项目路径(可选,默认当前目录):
# 检查单个文件(使用默认当前目录)
godot-check gdlint {"file": "res://scripts/player.gd"}
# 检查指定项目中的文件
godot-check gdlint {"file": "res://scripts/player.gd", "project": "/path/to/project"}
# 检查所有文件
godot-check gdlint {"all": true, "project": "/path/to/project"}
# 格式化文件
godot-check gdformat {"file": "res://scripts/player.gd"}
# 完整检查(lint + format + export)
godot-check godot_check_all {"project": "/path/to/project"}
# 导出验证
godot-check godot_export_validate {"project": "/path/to/project", "preset": "Web"}路径处理
如果
project是相对路径,会自动转换为绝对路径(基于当前工作目录)如果
project是绝对路径,直接使用文件路径可以是相对路径(相对于项目目录)或绝对路径
项目路径会被验证是否存在
自动清理
服务器会自动清理临时导出的 pack 文件,无需手动处理。
Available Tools
5 toolsgdformatC
运行 gdformat 格式化 GDScript 文件
Inputs: file (required), project (required), check.
gdlintC
运行 gdlint 检查 GDScript 文件
Inputs: file (required), project (required), all.
godot_check_allB
执行完整的 Godot 项目检查(lint + format + export)
Inputs: project (required), file.
godot_export_validateC
使用 Godot 导出验证检查依赖错误
Inputs: project (required), preset.
godot_get_errorsC
解析并返回最近的错误信息
Inputs: project (required), log_file.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
The tools have distinct purposes: lint, format, export validation, all-in-one check, and error retrieval. The only overlap is godot_check_all intentionally combining the first three, but its description makes the all-in-one nature clear.
The names mix short no-underscore forms like gdlint and gdformat with snake_case godot_* names, and the prefix alternates between gd and godot. The verbs are readable, but the naming pattern is not predictable or consistent.
Five tools is well-scoped for a Godot project quality-checking server. Each tool serves a distinct step in the workflow, and the composite check earns its place without bloating the set.
The set covers the lint, format, export-validation, and error-retrieval workflow with no major dead ends. Some extended features such as per-file targeting or structured diagnostics are missing, but agents can work around them.
Maintenance
Related MCP Connectors
The official Svelte MCP server providing docs and autofixing tools for Svelte development
MCP Server for Slima - AI Writing IDE for Novel Authors with AI Beta Reader.
A MCP server built for developers enabling Git based project management with project and personal…
Related MCP Servers
- FlicenseAqualityDmaintenanceAn MCP server that provides tools for Godot Engine development, enabling users to run unit tests, check for syntax errors, and manage project scenes or exports.52-
- AlicenseAqualityBmaintenanceAn MCP server providing 15 semantic analysis tools for GDScript, powered by Godot's built-in Language Server.4942 PyPI10Apache 2.0
- AlicenseBqualityDmaintenanceAdvanced MCP server for Godot 4.6+ with 63 professional tools, enabling AI-assisted game development with backup/rollback, deep script validation, and project health diagnostics.63194 npm5MIT
- AlicenseAqualityFmaintenanceA Godot 4 MCP server for AI-assisted project inspection, editing, validation, and runtime automation via stdio and optional WebSocket bridge.389MIT