MCP Codebase RAG Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | Host address for HTTP transport (default: 127.0.0.1) | 127.0.0.1 |
| MCP_PORT | No | Port for HTTP transport (default: 8080) | 8080 |
| LOG_LEVEL | No | Log level (default: INFO) | INFO |
| MCP_TRANSPORT | No | Transport mode for MCP server (default: stdio, set to 'streamable-http' for HTTP) | stdio |
| CHROMA_DB_PATH | No | Path to ChromaDB storage directory (default: ./data/chroma_db) | ./data/chroma_db |
| EMBEDDING_MODEL | No | Embedding model name (default: all-MiniLM-L6-v2) | all-MiniLM-L6-v2 |
| MCP_ALLOWED_HOST | No | Allowed host for reverse proxy or Tailscale Funnel (optional) |
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_codebaseA | Search the indexed codebase for relevant code snippets. |
| reindex_projectA | Re-index a project (useful after major code changes). |
| list_indexed_projectsA | List all projects that have been indexed. |
| get_filesA | List all files that have been indexed for a project. |
| get_file_contentA | Return the full content of a given file path. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
Each tool has a clearly distinct purpose: search, reindex, list projects, list files, and get file content. There is no meaningful overlap; even the two 'get' tools are unambiguous because one returns metadata for files and the other returns the actual content.
All tool names follow a consistent verb_noun pattern: search_codebase, reindex_project, list_indexed_projects, get_files, get_file_content. The verbs are distinct and descriptive, and the pattern is uniformly applied without mixing styles.
With 5 tools, the server is well-scoped for a codebase RAG system. Each tool addresses a core need (indexing, search, and file retrieval) without unnecessary bloat, fitting comfortably in the ideal range and making the surface easy to navigate.
The tool set covers the primary lifecycle: index (reindex), list indexed projects, search, list files, and fetch file content. Minor gaps exist, such as no explicit delete project or incremental update mechanism, but these are not critical for core RAG workflows and can be worked around.