Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GEMINI_API_KEYNoAPI key for the Google Gemini embedding provider.
HF_HUB_OFFLINENoSet to 1 to use cached Hugging Face models offline.
OPENAI_API_KEYNoAPI key for the OpenAI or OpenAI-compatible embedding provider.
OLLAMA_BASE_URLNoOllama server base URL; defaults to http://localhost:11434.
OPENAI_BASE_URLNoOptional base URL for an OpenAI-compatible embedding provider.
INDEXER_DATA_DIRYesPath to the project's .lancedb_data directory containing the LanceDB index and index_state.json.
PYTHONUNBUFFEREDNoSet to 1 to keep Python output unbuffered for MCP stdio.
MICROINDEX_EMBEDDING_MODELNoEmbedding model name for the selected provider.
MICROINDEX_EMBEDDING_PROVIDERNoEmbedding 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

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": true
}
resources
{
  "subscribe": false,
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.3/5.0

Scored across 2 tools

Disambiguation4/5

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.

Naming Consistency5/5

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.

Tool Count3/5

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.

Completeness3/5

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.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues