Company KB MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GITLAB_TOKEN | No | Optional token for private GitLab repositories. Needs read_api and read_repository scopes. | |
| COMPANY_KB_CONFIG | No | Optional path to a YAML config file. | |
| COMPANY_KB_DATA_DIR | No | Optional local SQLite index directory. | |
| COMPANY_KB_LOG_FILE | No | Optional JSONL log file path. | |
| COMPANY_KB_CACHE_DIR | No | Optional local repository cache directory. | |
| COMPANY_KB_AUTO_SYNC_ON_STARTUP | No | Set to '1' to refresh indexed repositories when the server starts. | 0 |
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 |
|---|---|
| company_kb_statusA | Check configuration, GitLab authentication, repository sync state, and index size for the company knowledge base. Use this when search looks stale or broken, or when the user asks whether the MCP server is healthy. |
| company_kb_syncB | Synchronize repositories that have already been added to the local RAG cache and update the Markdown index. Use this before answering when the user asks for fresh docs; normal search does not require a full sync. |
| company_kb_sync_repositoryA | Synchronize one GitLab repository by URL. The repository is cloned into the local read-only cache, indexed, and made searchable. Auth defaults to env when GITLAB_TOKEN is set, otherwise anonymous. Pass authMode as anonymous, env, or ssh-agent when you need to override it; do not pass token values. |
| company_kb_list_repositoriesA | List GitLab repositories that have been synchronized into the local RAG cache, including their local index counts and last sync metadata. |
| company_kb_remove_repositoryA | Remove one synchronized GitLab repository from the local RAG system. This deletes local index entries, vectors, and by default the local cached clone. It never writes to GitLab. |
| company_kb_searchA | Search synchronized company Markdown documentation and return ranked snippets with stable GitLab citations. Use this for discovery questions, finding runbooks, locating ADRs, or collecting evidence before answering. |
| company_kb_open_docA | Open an exact document excerpt or an indexed chunk by reference. Use this after search when more surrounding context or precise source lines are needed. |
| company_kb_answerB | Retrieve a focused evidence pack for a natural-language company documentation question. This tool does not invent final policy; it returns cited evidence and guidance for Copilot to synthesize from sources. |
| company_kb_recent_changesA | List recently changed indexed Markdown documents. Use this when the user asks what changed recently or wants documentation updates within a time window. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| company-kb.answer-with-citations | |
| company-kb.find-runbook | |
| company-kb.compare-docs | |
| company-kb.explain-architecture-decision |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| index_status |
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/yunusb/mcp-knowledge'
If you have feedback or need assistance with the MCP directory API, please join our Discord server