local-corporate-kb
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| KB_CACHE_DIR | Yes | Absolute path to the cache directory for embeddings and index. | |
| KB_AUTO_INDEX | No | Whether to automatically re-index when cache is missing. | false |
| KB_KNOWLEDGE_DIR | Yes | Absolute path to the knowledge directory containing documents. | |
| KB_EMBEDDING_MODEL | No | Hugging Face model name for embedding. | Qwen/Qwen3-Embedding-0.6B |
| KB_EMBEDDING_DEVICE | No | Device for embedding: auto, cpu, mps, cuda. | auto |
| KB_CHUNK_SIZE_TOKENS | No | Target chunk size in tokens. | 700 |
| KB_EMBEDDING_PROVIDER | No | Embedding provider: 'sentence_transformers' or 'hash'. | sentence_transformers |
| KB_EMBEDDING_DIMENSION | No | Embedding dimension. | 1024 |
| KB_CHUNK_OVERLAP_TOKENS | No | Overlap between chunks in tokens. | 80 |
| KB_CHUNK_HARD_MAX_TOKENS | No | Hard maximum chunk size in tokens. | 900 |
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 |
|---|---|
| kb_searchA | Search corporate knowledge before architectural analysis or changes spanning multiple services. Use it for business rules, ADRs, APIs, events, and runbooks. Cite source_path or source_url in the final answer. A retrieved fragment is evidence, not the only source of truth; call kb_get_document when the complete document is needed. |
| kb_get_documentA | Return one complete normalized document after kb_search identifies its document_id. |
| kb_list_documentsB | List filtered document metadata without document bodies or embeddings. |
| kb_statsB | Return index counts, identity, timestamps, and resolved local directories. |
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/arptra/kb-rag-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server