mcp-local-rag
by damoqiongqiu
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DB_PATH | No | Vector database path. | ./lancedb/ |
| BASE_DIR | No | Document root (security boundary). The folder you want to search. | cwd |
| BASE_DIRS | No | JSON array of roots, overrides BASE_DIR. Example: '["/path1","/path2"]' | |
| CACHE_DIR | No | Model cache directory. Recommend absolute path. | ./models/ |
| RAG_DTYPE | No | Quantization precision (fp32/fp16/q8). | fp32 |
| RAG_WATCH | No | File watching (true/1 enables). | |
| MODEL_NAME | No | HuggingFace model ID for embeddings. | all-MiniLM-L6-v2 |
| RAG_DEVICE | No | ONNX execution device (cpu or webgpu). | cpu |
| HF_ENDPOINT | No | Manual mirror override for HuggingFace. | huggingface.co |
| HTTPS_PROXY | No | Model download proxy. Example: http://127.0.0.1:7890 | |
| RAG_GROUPING | No | Grouping strategy: 'similar' or 'related'. | |
| MAX_FILE_SIZE | No | Max file size in bytes. | 100 |
| RAG_MAX_FILES | No | Limit results to top N files. | |
| HF_AUTO_MIRROR | No | Auto-detection of mirror (true/1 enables, false disables). | true |
| CHUNK_MIN_LENGTH | No | Minimum chunk length (1–10000 characters). | 50 |
| RAG_MAX_DISTANCE | No | Maximum distance threshold for search results. | |
| RAG_HYBRID_WEIGHT | No | Keyword boost weight: 0 = semantic only, 1 = keyword only. | 0.6 |
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
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/damoqiongqiu/mcp-local-rag'
If you have feedback or need assistance with the MCP directory API, please join our Discord server