Back to Home

r2r-mcp-server

Verified Safe

by 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

Run Command
docker compose up -d

Environment 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

Stats

Interest Score0
Security Score9
Cost ClassHigh
Avg Tokens1500
Stars0
Forks0
Last Update2025-11-24

Tags

RAGAI AgentDocument ManagementKnowledge GraphMCP Server