Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 922 Bytes

File metadata and controls

50 lines (35 loc) · 922 Bytes

Quick Setup

Prerequisites

  • Python >=3.11 per pyproject.toml
  • Access to download embedding model (all-MiniLM-L6-v2) on first startup

Local install

python -m venv .venv
. .venv/bin/activate
pip install -e "[dev]"

Minimal env config

export RAG_MCP_HOST=127.0.0.1
export RAG_MCP_PORT=8080
export RAG_MCP_METRICS_ENABLED=true
export RAG_MCP_METRICS_REQUIRE_AUTH=false
export RAG_MCP_UPLOAD_SESSION_SECRET='replace-with-strong-secret'

Primary settings are defined in Settings.

Run

. .venv/bin/activate
python -m rag_mcp.main

Docker

docker compose up --build

Uses Dockerfile and docker-compose.yml.

Verify

curl -i http://127.0.0.1:8080/mcp
curl -i http://127.0.0.1:8080/sse
curl -i http://127.0.0.1:8080/metrics