MCP Server for Godot RAG logo

MCP Server for Godot RAG

by weekitmo

This MCP server provides Godot documentation to a Godot RAG model. It enables users to query Godot documentation using a Retrieval-Augmented Generation approach.

View on GitHub

Last updated: N/A

What is MCP Server for Godot RAG?

This is an MCP (Model Context Protocol) server designed to serve Godot Engine documentation to a Retrieval-Augmented Generation (RAG) model. It involves downloading, converting, chunking, and vectorizing the Godot documentation to create a searchable vector database.

How to use MCP Server for Godot RAG?

  1. Clone the repository. 2. Set up a virtual environment using uv. 3. Install dependencies using uv sync. 4. Configure environment variables. 5. Download Godot documentation. 6. Convert RST to Markdown. 7. Chunk the Markdown files. 8. Create a vector database using the chunked files. 9. Start the MCP server, pointing it to the vector database and collection.

Key features of MCP Server for Godot RAG

  • Serves Godot documentation

  • Uses ChromaDB for vector storage

  • Supports different embedding models

  • Uses Model Context Protocol

  • Includes scripts for data processing

Use cases of MCP Server for Godot RAG

  • Providing context to a Godot RAG chatbot

  • Enabling semantic search of Godot documentation

  • Integrating Godot documentation into AI-powered tools

  • Improving the accuracy of Godot-related AI models

  • Quick access to Godot documentation

FAQ from MCP Server for Godot RAG

What is an MCP server?

MCP stands for Model Context Protocol. It's a protocol for providing context to AI models.

What is RAG?

RAG stands for Retrieval-Augmented Generation. It's an AI framework that combines information retrieval with text generation.

What is ChromaDB?

ChromaDB is an open-source embedding database. It's used to store and retrieve vector embeddings.

Which embedding models are supported?

The server supports all-MiniLM-L6-v2, bge-m3, and bge-large-zh-v1.5, but others can also be used.

How do I update the Godot documentation?

Run the download_godot_docs.py script to download the latest documentation.