Which embedding providers are supported?
The server supports OpenAI, Ollama, Granite, and Nomic. Ollama with the `nomic-embed-text` model is recommended for best performance.
@kwanLeeFrmVi
基本信息
mcp-rag-server is a Model Context Protocol (MCP) server that enables Retrieval Augmented Generation (RAG) capabilities. It empowers Large Language Models (LLMs) to answer questions based on your document content by indexing and retrieving relevant information efficiently.
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-rag-server-kwanleefrmvi": {
"command": "npx",
"args": [
"mcp-rag-server"
]
}
}
}Add documents from directory path or file path for RAG embedding and store to DB. Supported file types: .json, .jsonl, .txt, .md, .csv
Query indexed documents using RAG
Remove a specific document from the index by file path
Remove all documents from the index
List all document paths in the index
mcp-rag-server is a Model Context Protocol (MCP) server that enables Retrieval Augmented Generation (RAG). It indexes local documents and serves relevant context to Large Language Models, integrating with MCP-compatible clients.
Install globally (npm install -g mcp-rag-server) or run via npx. Set environment variables (BASE_LLM_API, EMBEDDING_MODEL, VECTOR_STORE_PATH, CHUNK_SIZE) then start the server. Use MCP tools like embedding_documents and query_documents to index and retrieve content. An example MCP client configuration is provided in the README.
The server supports OpenAI, Ollama, Granite, and Nomic. Ollama with the `nomic-embed-text` model is recommended for best performance.
It supports `.txt`, `.md`, `.json`, `.jsonl`, and `.csv` files.
Vectors are stored locally in a SQLite database via LangChain’s LibSQLVectorStore. The path is configured with the `VECTOR_STORE_PATH` environment variable.
Key variables are `BASE_LLM_API`, `EMBEDDING_MODEL`, `VECTOR_STORE_PATH`, and `CHUNK_SIZE`. An optional `LLM_API_KEY` can be set for providers that require it.
Install globally (`npm install -g mcp-rag-server`) and run `mcp-rag-server`, or use `npx mcp-rag-server`. Ensure all required environment variables are set before starting.

Model Context Protocol Servers

The official Semantic-UI-React integration

Local AI agent for your Mac with a built-in MCP server: 18 tools for your notes and PDFs, a temporal memory graph, an on-device LLM and a neural voice. No account, no telemetry. No data centers required.

The Cloud is the AI-native workspace that gives every AI — Claude, ChatGPT, Gemini, and other Frontier & Free or Local models — shared memory and real agents. Not cloud computing: thecloud.so is one workspace where your

AI agents start every session with amnesia — you re-explain the project, repeat your preferences, and correct the same mistakes over and over. PLUR gives them a memory that persists. Your agent's corrections, preference
评论