kb-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| KB_TENANT_ID | Yes | Tenant ID (UUID) from Supabase auth.users | |
| SUPABASE_URL | Yes | Supabase project URL | |
| SILICONFLOW_API_KEY | Yes | SiliconFlow API key for embeddings | |
| SUPABASE_SERVICE_ROLE_KEY | Yes | Supabase service role key |
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
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_knowledge_baseA | 语义检索知识库,返回与查询最相关的若干片段(含相似度与所属文档标题)。 |
| list_documentsA | 列出当前知识库的全部文档及元数据(id、标题、类型、状态、片段数、创建时间)。 |
| get_document_contentA | 按 document_id 拉取并拼接单篇文档全文。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| kb_qa | 知识库问答提示词模板:把用户原始问题包装成"先检索后作答 + 标注来源"的指令。 用法:在 Desktop "Prompts" 面板选择 kb_qa,填入 question,即发送为一条用户消息。 |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| documents_snapshot | 知识库文档清单的只读快照(JSON 字符串)。 与 list_documents tool 的区别: - Resource:**客户端主动读取**的上下文数据,Desktop 用户可在"附件/资源"面板里 手动挂载;模型不会自动调用,适合作为对话起手的背景资料 - Tool:**模型决策调用**,模型在需要时自行触发(如用户问"知识库有什么") 返回与 list_documents 同结构的 JSON;空清单返回中文文案。 |
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/code-runner-xx/kb-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server