Nihilantropy/godot-mcp-docs
If you are the rightful owner of godot-mcp-docs and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
A Model Context Protocol (MCP) server for serving Godot documentation to AI assistants.
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 structureget_documentation_file(file_path: str)
- Retrieve the content of specific documentation files
Sample Usage
Explore documentation structure:
What documentation is available for Godot?
Get specific class documentation:
Show me the documentation for CharacterBody2D
Learn about tutorials:
What tutorials are available for 2D game development?
Get specific tutorial content:
Show me the first 2D game tutorial
Compare classes:
What's the difference between Node2D and CharacterBody2D?
Recommended System Prompt
For optimal results when working with Godot, use this system prompt:
"When working with Godot game development questions, always search for the latest available documentation using the godot-mcp-docs tools. Start with
get_documentation_tree()
to understand the documentation structure, then useget_documentation_file()
to retrieve specific information about classes, tutorials, or features. Prioritize official Godot documentation over general knowledge when providing Godot-related assistance."
Screenshots
MCP Integration in Claude Desktop
Documentation Access Example
Updating Documentation
To update to a newer version of Godot documentation:
Option 1: Rebuild the image
docker build -f deploy/Dockerfile -t godot-mcp-docs:local . --no-cache
Option 2: Update manually inside container
docker run -it --entrypoint /bin/bash godot-mcp-docs:local
# Inside container:
python docs_converter/godot_docs_converter.py
tree docs/. > docs/docs_tree.txt
License
This project is licensed under the MIT License - see the file for details.
The Godot documentation content follows the original Godot documentation licensing:
- Documentation content (excluding
classes/
folder): CC BY 3.0 - Class reference files (
classes/
folder): MIT License - Attribution: "Juan Linietsky, Ariel Manzur and the Godot community"