A MCP server for Godot RAG
This MCP server is used to provide Godot documentation to the Godot RAG model.
Screenshot
Before using

After using

MCP server config
{
"mcpServers": {
"godot-rag": {
"command": "python",
"args": [
"<path to the server script 'main.py'>",
"-d",
"<path to the chroma_db on your computer>",
"-c",
"<name of the collection in the chroma_db>"
]
}
}
}
Setup
uv venv --python 3.12
source ./.venv/bin/activate
uv sync
cp .env.example .env.local
Initiation steps
# clone godot docs
python download_godot_docs.py
# convert rst to markdown
python convert_rst2md.py
# chunk markdown files
python chunker.py -i artifacts
# create vector database
python vectorizer.py -i artifacts/chunks/artifacts_chunks_SZ_400_O_20.jsonl
# python vectorizer_api.py -i artifacts/chunks/artifacts_chunks_SZ_400_O_20.jsonl -m BAAI/bge-m3
# start mcp server
python main.py -d artifacts/vector_stores/chroma_db -c artifacts_chunks_SZ_400_O_20_all-MiniLM-L6-v2
# python main_with_api.py -d artifacts/vector_stores/chroma_db -c artifacts_chunks_SZ_400_O_20_BAAI-bge-m3 -k <your openai api key>
Debug
npx @modelcontextprotocol/inspector \\
uv \\
--directory . \\
run \\
main.py \\
--chromadb-path artifacts/vector_stores/chroma_db \\
--collection-name artifacts_chunks_SZ_400_O_20_all-MiniLM-L6-v2
Use Another Model
Other
mcp_godot_rag is indexed and certified by MCP Review
Recommend MCP Servers 💡
@makeplane/plane-mcp-server
An official Model Context Protocol server for Plane, enabling AI agents and developer tools to programmatically interact with Plane workspaces for project, issue, and task management.
@kontent-ai/mcp-server
Official Kontent.ai MCP server enabling AI tools to interact with Kontent.ai content management via Model Context Protocol.
Demontie/mcp-google-sheets
A Model Context Protocol (MCP) server for reading and writing data to Google Sheets via the Google Sheets API.
aim-guard-mcp
A Model Context Protocol (MCP) server that provides AI-powered security analysis and safety instruction tools. This server helps protect AI agents by providing security guidelines, content analysis, and cautionary instructions when interacting with various MCPs and external services.
mcp-server-docy
A MCP server enabling LLMs to access and retrieve documentation content via crawl4ai scraping.
py-mcp-line
A Model Context Protocol server implementation in Python that provides access to LINE Bot messages, enabling Language Models to read and analyze LINE conversations.