Skip to main content
Glama
Krat12
by Krat12

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
QDRANT_URLNoQdrant endpointhttp://localhost:6333
QDRANT_API_KEYNoOptional Qdrant key
CODE_INDEX_ROOTNoDefault project root (single-project / fallback).
CODE_INDEX_SEMANTICNoSet 0 to disable semantic layer1
CODE_INDEX_CACHE_HOMENoWhere SQLite indexes live~/.cache/code-index
CODE_INDEX_CONFIG_HOMENoWhere projects.toml lives~/.config/code-index
CODE_INDEX_EMBED_MODELNofastembed modelBAAI/bge-small-en-v1.5
CODE_INDEX_REINDEX_ON_STARTNo1 = background reindex on server start0

Capabilities

Features and capabilities supported by this server

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

Tools

Functions exposed to the LLM to take actions

NameDescription
search_textA

Exact full-text search across a service (FTS5). Returns path:line: content.

Use for known strings, identifiers, config keys, error messages. Supports FTS5 syntax, e.g. "foo AND bar", "exact phrase", prefix*. service selects which microservice index to search (name or id); omit for the default service.

search_symbolB

Find symbol definitions (function/class/method/record/...) by name.

Use to jump to where something is DEFINED. Set exact=true for an exact name match, otherwise substring matching is used. service selects the index.

file_symbolsA

List all symbols (outline) of a single file, ordered by line.

search_semanticA

Fuzzy meaning-based search (vector similarity via Qdrant).

Use for conceptual queries like "where do we validate refunds" when you don't know exact identifiers. service selects the index.

search_hybridA

Best-effort combined search: symbols + text + semantic for one service.

Prefer this when you're not sure which layer fits. service selects the index (name or id); omit for the default service.

list_servicesA

List indexable microservices from the external registry.

Returns name, id and path for each. Pass a name or id as the service argument of the search tools to target a specific microservice.

reindexA

Rebuild the index from disk for one service. Use after large changes.

full=true forces a complete re-index; otherwise only changed files are updated.

index_statsB

Show how many files and symbols are currently indexed for a service.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/Krat12/mcp-code-index'

If you have feedback or need assistance with the MCP directory API, please join our Discord server