godot-docs-mcp
Godot Documentation MCP Server
A Model Context Protocol (MCP) server that provides queryable access to Godot Engine documentation.
Features
Full-text search across 1066+ Godot classes using SQLite FTS5
8 powerful tools for querying classes, methods, properties, signals, and inheritance
Fast queries with indexed database (~50-100MB)
Zero deployment dependencies - single SQLite file
Installation
cd C:\GodotProjects\godot-docs-mcp
pip install -e .Build Documentation Database
git -C C:\GodotProjects\godot-docs switch stable
git -C C:\GodotProjects\godot-docs pull --ff-only
python scripts/build_index.py C:\GodotProjects\godot-docs --version 4.7This will parse the Godot 4.7 stable RST files and create src/data/godot_docs.db,
which is the database loaded by the MCP server.
Usage with OpenCode
Add to your OpenCode configuration:
{
"mcpServers": {
"godot-docs": {
"command": "python",
"args": ["-m", "src.server"],
"cwd": "C:\\GodotProjects\\godot-docs-mcp"
}
}
}Available Tools
search_class- Search for classes by name or descriptionget_class_docs- Get full documentation for a classget_method_docs- Get documentation for a specific methodsearch_methods- Search methods across all classeslist_class_members- List all members of a classget_inheritance_tree- Get inheritance hierarchysearch_by_return_type- Find methods by return typesearch_guides- Search tutorial documentation
Example Queries
# Search for Node class
search_class(query="Node")
# Get all methods of Control class
list_class_members(class_name="Control", member_type="methods")
# Find methods that return Vector2
search_by_return_type(return_type="Vector2")
# Get inheritance tree for CanvasItem
get_inheritance_tree(class_name="CanvasItem", direction="both")Architecture
Database: SQLite with FTS5 full-text search
Parser: Regex-based RST parser for Godot class documentation
Server: Python MCP server using official SDK
Schema: Normalized tables for classes, methods, properties, signals, enums
License
MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/15195999826/godot-docs-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server