MCP RAG
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPENAI_MODEL | No | The OpenAI model to use | gpt-4o-mini |
| OPENAI_API_KEY | Yes | Your OpenAI API key | |
| OPENAI_API_BASE | No | The base URL for OpenAI API | https://api.openai.com/v1 |
| OPENAI_TEMPERATURE | No | The temperature setting for OpenAI model | 0 |
| OPENAI_EMBEDDING_MODEL | No | The OpenAI embedding model to use | text-embedding-3-large |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| learn_textA | 向 RAG 知识库添加一段新文本以供将来参考。 使用场景:
参数: text: 要学习并存储在知识库中的文本内容。 source_name: 来源的描述性名称(例如 "user_notes", "research_paper", "conversation_summary")。 |
| learn_documentA | 使用高级非结构化处理技术(包含真正的语义分块)读取和处理文档文件,并将其添加到知识库。 当您想通过智能处理文档文件来训练人工智能时,可以使用此功能。 支持的文件类型:PDF、DOCX、PPTX、XLSX、TXT、HTML、CSV、JSON、XML、ODT、ODP、ODS、RTF、 图像(PNG、JPG、TIFF、带 OCR 的 BMP)、电子邮件(EML、MSG)以及超过 25 种格式。 高级功能:
使用示例:
文档将通过 REAL 语义分块进行智能处理,并与增强的元数据一起存储。 将保存处理后文档的副本以供验证。 参数: file_path:要处理的文档文件的绝对路径或相对路径。 |
| ask_ragA | 向 RAG 知识库提问,并根据存储的信息返回答案。 使用场景:
参数: query: 要向知识库提出的问题或查询。 |
| ask_rag_filteredA | 向 RAG 知识库提问,并使用特定过滤器聚焦搜索。 使用场景:
参数: query: 要向知识库提出的问题或查询。 file_type: 按文件类型过滤(例如 ".pdf", ".docx", ".txt")。 min_tables: 文档必须包含的最小表格数量。 min_titles: 文档必须包含的最小标题数量。 processing_method: 按处理方法过滤(例如 "unstructured_enhanced", "markitdown")。 |
| get_knowledge_base_statsA | 获取有关知识库的综合统计信息,包括文档类型、处理方法和结构信息。 使用场景:
返回: 有关知识库内容的详细统计信息。 |
| get_embedding_cache_statsA | 获取有关嵌入缓存性能的详细统计信息。 使用场景:
返回: 有关嵌入缓存性能的详细统计信息。 |
| clear_embedding_cache_toolA | 清除嵌入缓存以释放内存和磁盘空间。 使用场景:
返回: 有关缓存清理操作的确认消息。 |
| optimize_vector_databaseA | 优化向量数据库以提高搜索性能。 使用场景:
返回: 有关优化过程的信息。 |
| get_vector_database_statsB | 获取向量数据库的详细统计信息。 使用场景:
返回: 向量数据库的详细统计信息。 |
| reindex_vector_databaseA | 使用优化配置重新索引向量数据库。 使用场景:
参数: profile: 配置文件('small', 'medium', 'large', 'auto')。 'auto' 会自动检测最佳配置文件 返回: 有关重新索引过程的信息。 |
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/kalicyh/mcp-rag'
If you have feedback or need assistance with the MCP directory API, please join our Discord server