
MCP_GODOT_RAG
该MCP服务器用于为Godot Rag模型提供Godot文档。
1
Github Watches
0
Github Forks
3
Github Stars
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
相关推荐
Confidential guide on numerology and astrology, based of GG33 Public information
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Take an adjectivised noun, and create images making it progressively more adjective!
Reviews

user_qW2NAuOs
As a dedicated user of mcp applications, I must say that mcp_godot_rag by weekitmo is impressive. Its integration with Godot really enhances functionality and streamlines game development processes. The easy-to-follow instructions make it accessible for both beginners and experienced developers. Highly recommended for anyone looking to elevate their game development toolkit! Check it out at https://github.com/weekitmo/mcp_godot_rag for more information.