r2r-mcp-server
Verified Safeby evgenygurin
Overview
Expose R2R's powerful RAG capabilities (document management, search, RAG, agents, knowledge graphs) to AI assistants via a standardized Model Context Protocol (MCP) interface.
Installation
docker compose up -dEnvironment Variables
- R2R_BASE_URL
- R2R_EMAIL
- R2R_PASSWORD
- ENABLE_AUTHENTICATION
- MCP_API_KEYS
Security Notes
The server implements API key authentication for protected tools (e.g., delete_document, update_graph_entities) through `R2RAuthMiddleware`. API keys and R2R connection credentials (email, password) are loaded from environment variables, preventing hardcoding. It logs a warning if authentication is disabled. The overall security also depends on the security of the connected R2R API.
Similar Servers
5ire
A desktop AI assistant client that integrates with various LLM providers and connects to Model Context Protocol (MCP) servers for extended tool-use and knowledge base capabilities.
UltraRAG
An open-source RAG framework for building, experimenting, and evaluating complex Retrieval-Augmented Generation (RAG) pipelines with low-code YAML configurations and native multimodal support.
context-portal
Manages structured project context for AI assistants and developer tools, enabling Retrieval Augmented Generation (RAG) and prompt caching within IDEs.
mem-agent-mcp
Provides a Model Context Protocol (MCP) server for a memory agent, enabling LLMs to interact with an Obsidian-like memory system for contextual assistance and RAG.