Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CODETEX_DATA_DIRNoBase directory for storage (SQLite DB and cloned repos). Defaults to ~/.codetex.
ANTHROPIC_API_KEYYesAnthropic API key for LLM summarization. Required for indexing and most MCP tools.
CODETEX_LLM_MODELNoModel used for summarization (e.g., claude-sonnet-4-5-20250929).
CODETEX_LLM_PROVIDERNoLLM provider. Currently only 'anthropic'.
CODETEX_EMBEDDING_MODELNoSentence-transformers model for embeddings. Default: all-MiniLM-L6-v2.
CODETEX_TIER1_THRESHOLDNoThreshold ratio to rebuild repo overview on sync. Default: 0.10.
CODETEX_MAX_FILE_SIZE_KBNoMaximum file size in KB to index. Default: 512.
CODETEX_MAX_CONCURRENT_LLMNoMaximum concurrent LLM calls during indexing. Default: 5.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

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/mrosata/codetex-mcp'

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