MCP RAG Server
About
# MCP RAG Server <!-- Badges --> [](https://www.npmjs.com/package/@sylphlab/mcp-rag-server) [](LICENSE) [![CI…
Details
- Author
- sylphlab
- Downloads
- 373
- Categories
- Knowledge Base
Jump to
- Automatic indexing of project files on startup (configurable)
- Supports .txt, .md, code files, .json, .jsonl, .csv
- Hierarchical chunking for Markdown (text and code blocks separated)
- Uses ChromaDB for persistent vector storage
- Local embeddings via Ollama (default: nomic-embed-text)
- Exposes all RAG functions as standard MCP tools
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
MCP RAG ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
The recommended setup uses Docker Compose: clone the repository, run docker-compose up -d --build, then pull the default embedding model with docker exec ollama ollama pull nomic-embed-text. Configure environment variables (e.g., CHROMA_URL, OLLAMA_HOST, INDEX_PROJECT_ON_STARTUP) in the docker-compose.yml file. The server exposes five MCP tools (indexDocuments, queryDocuments, removeDocument, removeAllDocuments, listDocuments) for integration with any MCP client.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"mcp rag server": {
"rag-server-mcp-sylphlab": {
"command": "docker",
"args": [
"exec",
"ollama",
"ollama",
"pull",
"nomic-embed-text"
]
}
}
}
}
McpServers
{
"rag-server-mcp-sylphlab": {
"command": "docker",
"args": [
"exec",
"ollama",
"ollama",
"pull",
"nomic-embed-text"
]
}
}
MCP RAG Server
<!-- Badges -->
<!-- --> <!-- TODO: Add coverage badge once setup -->
mcp-rag-server is a Model Context Protocol (MCP) server that enables Retrieval Augmented Generation (RAG) capabilities for connected LLMs. It indexes documents from your project and provides relevant context to enhance LLM responses.
Built with Google Genkit, ChromaDB, and Ollama.
Quick Start
(Provide a minimal runnable example here, assuming Docker setup is complete)
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.


