PY

rag-mcp

by zivshek/rag-mcp

0 views

No description available

pythondatabaseReference & Lookup

Godot RAG MCP

A Model Context Protocol (MCP) tool that retrieves relevant information about Godot game engine from a local ChromaDB database.

Although this tool is for Godot in particular, but with small changes to the tool description, it can be used for any chroma database.

Usage

  • Get the chroma_db vector store ready using the web2embeddings tool.
  • Download or clone this repository to your local disk.
  • Configure the MCP server in VSCode Insiders (see below config instructions).

Configuration with Visual Studio Code Insiders

NOTE: You may need to download Visual Studio Code Insiders version to use MCP or Agent mode.

The system is configured through settings.json:

"mcp": {
    "inputs": [],
    "servers": {
        "godot_rag": { // or whatever name you want
            "command": "cmd", // replace this with "uv" on Mac or Linux
            "args": [
                "/c", // remove this on Mac or Linux
                "uv", // remove this on Mac or Linux
                "run",
                "path to the server script 'server.py'", // C:\\dev\\rag-mcp\\server.py
                "-d",
                "path to the chroma_db on your computer", // C:\\dev\\web2embeddings\\artifacts\\vector_stores\\chroma_db
                "-c",
                "name of the collection in the chroma_db" // godotengine_chunks_SZ_400_O_20_all-MiniLM-L6-v2
            ]
        }
    }
}

Install

{
  "mcpServers": {
    "rag-mcp": {
      "command": "cmd",
      "args": [
        "/c",
        "uv",
        "run",
        "path to the server script 'server.py'",
        "-d",
        "path to the chroma_db on your computer",
        "-c",
        "name of the collection in the chroma_db"
      ]
    }
  }
}
For more configuration details, refer to the content on the left

Related

Related projects feature coming soon

Will recommend related projects based on sub-categories