mcp-code-indexer
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| STALE_TTL | No | Seconds between staleness re-scans | 60 |
| INDEX_ROOT | No | State directory | ~/.mcp-code-indexer |
| OLLAMA_URL | No | Ollama base URL | http://192.168.X.X:11434 |
| QDRANT_URL | No | Qdrant base URL | http://192.168.X.X:6333 |
| EMBED_BATCH | No | Texts per Ollama embed request | 48 |
| EMBED_MODEL | No | Embedding model | qwen3-embedding:8b |
| UPSERT_BATCH | No | Points per Qdrant upsert | 256 |
| MAX_FILE_BYTES | No | Skip files larger than this | 1048576 |
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 |
|---|---|
| add_projectA | Register an absolute project directory for semantic indexing. |
| remove_projectA | Deregister a project and DELETE its Qdrant collection + manifest + registry entry entirely. |
| list_projectsA | List registered projects with per-project index summary and staleness. |
| semantic_searchA | Semantic code search across indexed projects. THE hot path. |
| index_statusA | Check indexing state for a project: idle | indexing | stale | error, plus last-pass progress. Also triggers the staleness check. |
| reindex_projectA | Force a full rebuild of a project's index (chunker/model change, suspected corruption). |
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 6 tools
Each tool has a clearly distinct purpose: add_project registers, remove_project deregisters, list_projects lists, semantic_search searches, index_status checks status, and reindex_project forces rebuild. No overlapping or ambiguous functions.
All tool names follow a consistent verb_noun pattern (add_project, remove_project, list_projects, semantic_search, index_status, reindex_project) with snake_case throughout.
Six tools perfectly cover the lifecycle of project management and indexing for a code indexer: add, remove, list, search, status, and reindex. No tool is extraneous or missing.
The tool set provides complete CRUD for projects (add, remove, list) plus essential operations for indexing and searching (semantic_search, index_status, reindex_project). This covers all core workflows for a code indexer.