Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
XAI_API_KEYNoAPI key for X.AI (Grok) model access
DIAL_API_KEYNoAPI key for DIAL platform
DEFAULT_MODELNoThe default model to use; set to 'auto' for automatic selectionauto
DIAL_API_HOSTNoDefault DIAL host URLhttps://core.dialx.ai
CUSTOM_API_KEYNoOptional API key for custom API endpoints
CUSTOM_API_URLNoURL for custom API endpoints (e.g., Ollama, vLLM, LM Studio)
GEMINI_API_KEYNoAPI key for Gemini models from Google AI Studio
OPENAI_API_KEYNoAPI key for OpenAI models (e.g., O3 access)
DIAL_API_VERSIONNoAPI version for DIAL2024-12-01-preview
CUSTOM_MODEL_NAMENoDefault model name for the custom API endpoint
OPENROUTER_API_KEYNoAPI key for OpenRouter to access multiple models
DIAL_ALLOWED_MODELSNoRestrict to specific models on DIAL (e.g., 'o3,gemini-2.5-pro')

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/jray2123/zen-mcp-server'

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