RAG-Anything MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LLM_MODEL | No | Language model to use for LLM tasks (default: gpt-4o-mini). Overridden by MODEL_PROFILE. | gpt-4o-mini |
| LOG_LEVEL | No | Logging level (default: INFO). | INFO |
| UPLOAD_DIR | No | Directory for uploaded files (default: ./uploads). | ./uploads |
| VISION_MODEL | No | Vision model to use (default: gpt-4o). Overridden by MODEL_PROFILE. | gpt-4o |
| EMBEDDING_DIM | No | Dimension of embeddings (default: 3072). Overridden by MODEL_PROFILE. | 3072 |
| MAX_FILE_SIZE | No | Maximum file size in MB (default: 100). | 100 |
| MODEL_PROFILE | No | Name of a model profile defined in MODEL_PROFILES or MODEL_PROFILES_PATH. When set, overrides LLM_MODEL, VISION_MODEL, EMBEDDING_MODEL, and EMBEDDING_DIM. | |
| MODEL_PROFILES | No | JSON string containing profile definitions. Used if MODEL_PROFILE is set. Alternative to MODEL_PROFILES_PATH. | |
| OPENAI_API_KEY | Yes | Your OpenAI API key. Required. | |
| EMBEDDING_MODEL | No | Embedding model to use (default: text-embedding-3-large). Overridden by MODEL_PROFILE. | text-embedding-3-large |
| OPENAI_BASE_URL | No | Optional base URL for OpenAI API (e.g., https://api.openai.com/v1). | |
| RAG_STORAGE_DIR | No | Directory for RAG storage (default: ./rag_storage). | ./rag_storage |
| MODEL_PROFILES_PATH | No | Path to a JSON file with model profiles (default: ./model_profiles.json). Used if MODEL_PROFILE is set. | ./model_profiles.json |
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
- 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/nguyenngocdue/RAG-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server