Skip to main content
Glama

Ultimate MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoLogging level (DEBUG, INFO, WARNING, ERROR, CRITICAL)INFO
GROK_API_KEYNoYour Grok API key for xAI API
GEMINI_API_KEYNoYour Google AI Studio API key for Gemini API
OPENAI_API_KEYNoYour OpenAI API key
DEEPSEEK_API_KEYNoYour DeepSeek API key
USE_RICH_LOGGINGNoSet to false for plain text logstrue
ANTHROPIC_API_KEYNoYour Anthropic API key
GATEWAY_CACHE_DIRNoDirectory for disk cache storage./.cache
GATEWAY_CACHE_TTLNoDefault Time-To-Live in seconds (24 hours)86400
GATEWAY_API_PREFIXNoURL prefix for all API endpoints
GATEWAY_CACHE_TYPENoCache backend type (memory, redis, diskcache)
OPENROUTER_API_KEYNoYour OpenRouter API key
GATEWAY_SERVER_HOSTNoHost or IP address to bind the server to. Change to 0.0.0.0 to listen on all interfaces127.0.0.1
GATEWAY_SERVER_PORTNoPort the server listens on8013
GATEWAY_CACHE_ENABLEDNoGlobally enable or disable response cachingtrue
GATEWAY_CACHE_MAX_SIZENoMax number of items for memory cache or size for disk cache
GATEWAY_PROVIDER_TIMEOUTNoDefault timeout in seconds for API calls
GATEWAY_AGENT_MEMORY_DB_PATHNoPath for agent memory databaseunified_agent_memory.db
GATEWAY_GEMINI_DEFAULT_MODELNoCustomize default Gemini model
GATEWAY_OPENAI_DEFAULT_MODELNoCustomize default OpenAI model
GATEWAY_PROMPT_TEMPLATES_DIRNoDirectory for prompt templates./prompt_templates
GATEWAY_PROVIDER_MAX_RETRIESNoDefault max retries on failure
GOOGLE_APPLICATION_CREDENTIALSNoPath to your Google service account key JSON file for Vertex AI
FILESYSTEM__ALLOWED_DIRECTORIESNoJSON array of allowed directories for filesystem tools
GATEWAY_ANTHROPIC_DEFAULT_MODELNoCustomize default Anthropic model

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

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/Dicklesworthstone/ultimate_mcp_server'

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