MCP Codebase RAG Server
by di5rupt0r
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) |
Capabilities
Features and capabilities supported by this server
| 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 | |
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/di5rupt0r/codebase-rag'
If you have feedback or need assistance with the MCP directory API, please join our Discord server