MCP-RAGAnything
by SoluDevTech
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HOST | No | Server bind address. | 0.0.0.0 |
| PORT | No | Server port. | 8000 |
| BASE_URL | No | Override base URL for LLM. | |
| BM25_RRF_K | No | RRF constant K for hybrid search. | 60 |
| CHAT_MODEL | No | Chat completion model. | openai/gpt-4o-mini |
| MINIO_HOST | No | MinIO endpoint (host:port). | localhost:9000 |
| OUTPUT_DIR | No | Temporary directory for downloaded files. | system temp |
| MAX_WORKERS | No | Workers for folder processing. | 3 |
| BM25_ENABLED | No | Enable BM25 full-text search. | true |
| MINIO_ACCESS | No | MinIO access key. | minioadmin |
| MINIO_BUCKET | No | Default bucket name. | raganything |
| MINIO_SECRET | No | MinIO secret key. | minioadmin |
| MINIO_SECURE | No | Use HTTPS for MinIO. | false |
| VISION_MODEL | No | Vision model for image processing. | openai/gpt-4o |
| EMBEDDING_DIM | No | Embedding vector dimension. | 1536 |
| POSTGRES_HOST | No | PostgreSQL host. | localhost |
| POSTGRES_PORT | No | PostgreSQL port. | 5432 |
| POSTGRES_USER | No | PostgreSQL user. | raganything |
| BRICKS_API_KEY | No | API key for Bricks API authentication (publish). | |
| MAX_TOKEN_SIZE | No | Max token size for embeddings. | 8192 |
| ALLOWED_ORIGINS | No | CORS allowed origins. | ["*"] |
| CLASSICAL_RRF_K | No | RRF constant K for classical hybrid search. | 60 |
| DOCUMENT_PARSER | No | Document parser for LightRAG pipeline. | kreuzberg |
| EMBEDDING_MODEL | No | Embedding model. | text-embedding-3-small |
| BM25_TEXT_CONFIG | No | PostgreSQL text search configuration. | english |
| COSINE_THRESHOLD | No | Similarity threshold for vector search. | 0.2 |
| RAG_STORAGE_TYPE | No | Storage backend: postgres or local. | postgres |
| POSTGRES_DATABASE | No | PostgreSQL database name. | raganything |
| POSTGRES_PASSWORD | No | PostgreSQL password. | raganything |
| UVICORN_LOG_LEVEL | No | Uvicorn log level. | critical |
| BRICKS_API_BASE_URL | No | Bricks platform base URL. | https://analyse.bricks.co |
| BRICKS_BEARER_TOKEN | No | Bearer token for Bricks API authentication (list documents). | |
| OPEN_ROUTER_API_KEY | Yes | Required. OpenRouter API key for LLM access. | |
| OPEN_ROUTER_API_URL | No | OpenRouter base URL. | https://openrouter.ai/api/v1 |
| CLASSICAL_CHUNK_SIZE | No | Max characters per chunk for classical RAG. | 1000 |
| MAX_CONCURRENT_FILES | No | Concurrent file processing limit. | 1 |
| BRICKS_PUBLISH_DRY_RUN | No | When true, publish_section_version returns a payload preview. | true |
| CLASSICAL_TABLE_PREFIX | No | Prefix for PGVectorStore table names. | classical_rag_ |
| CLASSICAL_CHUNK_OVERLAP | No | Overlap characters between chunks. | 200 |
| ENABLE_IMAGE_PROCESSING | No | Process images during indexing. | true |
| ENABLE_TABLE_PROCESSING | No | Process tables during indexing. | true |
| CLASSICAL_LLM_TEMPERATURE | No | Temperature for LLM calls. | 0.0 |
| ENABLE_EQUATION_PROCESSING | No | Process equations during indexing. | true |
| CLASSICAL_RELEVANCE_THRESHOLD | No | Minimum LLM judge score. | 5.0 |
| CLASSICAL_NUM_QUERY_VARIATIONS | No | Number of multi-query variations. | 3 |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/SoluDevTech/mcp-raganything'
If you have feedback or need assistance with the MCP directory API, please join our Discord server