
nihilantropy/godot-mcp-docs 是从 https://github.com/nihilantropy/godot-mcp-docs. 导入的 MCP 服务器候选
概览
nihilantropy/godot-mcp-docs 是从 https://github.com/nihilantropy/godot-mcp-docs. 导入的 MCP 服务器候选
概述(AI 翻译)
一个模型上下文协议(MCP)服务器,为AI助手提供完整的Godot引擎文档访问权,通过直接向LLM提供文档,帮助开发者完成Godot开发。
目的
该服务器弥合了 AI 助手与 Godot 文档之间的差距,使开发者能够在不离开 AI 聊天界面的情况下,即时、准确地获得关于 Godot 类、教程和功能的答案。
部署
-
克隆仓库:
-
构建Docker镜像:
-
配置你的MCP客户端(Claude Desktop示例):
文档结构
服务器提供访问完整的官方Godot文档,结构如下:
可用工具
get_documentation_tree()- 获取整个文档结构的树状概述get_documentation_file(file_path: str)- 检索特定文档文件的内容
示例使用
探索文档结构:
获取具体课程文档:
了解教程:
获取特定的教程内容:
比较课程:
推荐系统提示
为了在使用Godot时获得最佳效果,请使用以下系统提示:
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Godot MCP Documentation Server
A Model Context Protocol (MCP) server that provides AI assistants with access to the complete Godot Engine documentation, helping developers with Godot development by serving documentation directly to LLMs.
Purpose
This server bridges the gap between AI assistants and Godot documentation, allowing developers to get instant, accurate answers about Godot classes, tutorials, and features without leaving their AI chat interface.
Deployment
-
Clone the repository:
git clone https://github.com/Nihilantropy/godot-mcp-docs.git cd godot-mcp-docs -
Build the Docker image:
docker build -f deploy/Dockerfile -t godot-mcp-docs:local . -
Configure your MCP client (Claude Desktop example):
{ "mcpServers": { "godot-mcp-docs": { "command": "docker", "args": [ "run", "--rm", "-i", "godot-mcp-docs:local" ] } } }
Documentation Structure
The server provides access to the complete official Godot documentation with this structure:
docs/
├── _styleguides
├── _tools
│ └── redirects
├── about
├── classes
├── community
│ └── asset_library
├── contributing
│ ├── development
│ │ ├── compiling
│ │ ├── configuring_an_ide
│ │ ├── core_and_modules
│ │ ├── debugging
│ │ │ └── vulkan
│ │ ├── editor
│ │ └── file_formats
│ ├── documentation
│ └── workflow
├── getting_started
│ ├── first_2d_game
│ ├── first_3d_game
│ ├── introduction
│ └── step_by_step
├── img
└── tutorials
├── 2d
├── 3d
│ ├── global_illumination
│ ├── particles
│ └── procedural_geometry
├── animation
├── assets_pipeline
│ ├── escn_exporter
│ └── importing_3d_scenes
├── audio
├── best_practices
├── editor
├── export
├── i18n
├── inputs
├── io
├── math
├── migrating
├── navigation
├── networking
├── performance
│ └── vertex_animation
├── physics
│ └── interpolation
├── platform
│ ├── android
│ ├── ios
│ └── web
├── plugins
│ └── editor
├── rendering
├── scripting
│ ├── c_sharp
│ │ └── diagnostics
│ ├── cpp
│ ├── debug
│ ├── gdextension
│ └── gdscript
├── shaders
│ ├── shader_reference
│ └── your_first_shader
├── ui
└── xr
Available Tools
get_documentation_tree()- Get a tree-style overview of the entire documentation structure
安装
docker run --rm -i godot-mcp-docs:local配置
{
"mcpServers": {
"godot-mcp-docs": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"godot-mcp-docs:local"
]
}
}
}