Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AUTO_UPLOADNoAutomatically upload indexes on changesfalse
AUTO_DOWNLOADNoAutomatically download indexes on clonetrue
MCP_LOG_LEVELNoLogging level for the MCP serverINFO
MCP_SERVER_HOSTNoHost address for the MCP server0.0.0.0
MCP_SERVER_PORTNoPort for the MCP server8000
MCP_ARTIFACT_SYNCNoEnable GitHub Artifact sync for index sharingfalse
MCP_MAX_FILE_SIZENoMaximum file size in bytes (default 10MB)10485760
VOYAGE_AI_API_KEYNoYour Voyage AI API key for semantic search capabilities (get one at https://voyageai.com)
MCP_WORKSPACE_ROOTNoRoot directory for the workspace.
INDEXING_BATCH_SIZENoBatch size for indexing operations
INDEXING_MAX_WORKERSNoNumber of workers for parallel indexing
MCP_PLUGIN_LAZY_LOADNoLoad plugins on-demandtrue
MCP_MAX_PLUGIN_MEMORYNoMaximum memory for plugins in MB1024
INDEXING_MAX_FILE_SIZENoMaximum file size for indexing
MCP_DISPATCHER_TIMEOUTNoPlugin loading timeout in seconds5
MCP_BM25_BYPASS_ENABLEDNoEnable direct BM25 bypass for performancetrue
SEMANTIC_SEARCH_ENABLEDNoEnable semantic search capabilities using Voyage AI embeddingsfalse
HYBRID_SEARCH_BM25_WEIGHTNoWeight for BM25 in hybrid search0.3
MCP_USE_SIMPLE_DISPATCHERNoUse simple dispatcher for lightweight operationfalse
HYBRID_SEARCH_FUZZY_WEIGHTNoWeight for fuzzy search in hybrid search0.2
HYBRID_SEARCH_SEMANTIC_WEIGHTNoWeight for semantic search in hybrid search0.5

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/ViperJuice/Code-Index-MCP'

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