MicroIndex MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GEMINI_API_KEY | No | API key for the Google Gemini embedding provider. | |
| HF_HUB_OFFLINE | No | Set to 1 to use cached Hugging Face models offline. | |
| OPENAI_API_KEY | No | API key for the OpenAI or OpenAI-compatible embedding provider. | |
| OLLAMA_BASE_URL | No | Ollama server base URL; defaults to http://localhost:11434. | |
| OPENAI_BASE_URL | No | Optional base URL for an OpenAI-compatible embedding provider. | |
| INDEXER_DATA_DIR | Yes | Path to the project's .lancedb_data directory containing the LanceDB index and index_state.json. | |
| PYTHONUNBUFFERED | No | Set to 1 to keep Python output unbuffered for MCP stdio. | |
| MICROINDEX_EMBEDDING_MODEL | No | Embedding model name for the selected provider. | |
| MICROINDEX_EMBEDDING_PROVIDER | No | Embedding provider to use: local, ollama, openai, or gemini. |
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": true
} |
| logging | {} |
| prompts | {
"listChanged": true
} |
| resources | {
"subscribe": false,
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_codeB | Semantic AST code search. Always call this before reading files or running grep. |
| get_code_chunkC | Retrieve indexed AST chunks for a known file path instead of reading the whole file. |
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 2 tools
The two tools target different access patterns: search_code is query-driven semantic search, while get_code_chunk is path-driven retrieval of known files. Boundaries are mostly clear, though a caller may occasionally be unsure whether to use search_code results or fetch chunks directly for a file it already knows.
Both names use a consistent snake_case verb_noun pattern (search_code, get_code_chunk). The verbs accurately reflect their actions with no stylistic mixing.
Two tools is thin for a code-index server; the surface feels minimal and leaves no room for index management or inspection operations. It is focused but borderline under-scoped.
The read path is covered (find code, fetch chunks), but there are notable gaps: no indexing/refresh trigger, no index status or listing of indexed files/repos, and no symbol or metadata lookup. Agents can work around these only if the index is populated externally.