Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
XAI_API_KEYYesYour xAI API key
LOG_REQUESTSNoLogs tool/xAI request metadata to stderrfalse
GROK_CHAT_MODELNoDefault model for ask_grok, grok_consensus, and grok_validategrok-4.3
XAI_MAX_RETRIESNoNumber of retries for transient errors2
GROK_IMAGE_MODELNoDefault model for generate_imagegrok-imagine-image-quality
SAFE_WRITE_BASE_DIRNoBase directory for image writesprocess.cwd()
LOG_REQUEST_PAYLOADSNoIncludes full request payloads in logs (use carefully)false
XAI_REQUEST_TIMEOUT_MSNoTimeout per xAI API request in milliseconds30000
XAI_RETRY_BASE_DELAY_MSNoBase delay for exponential retry backoff500

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/entropyvortex/askgrokmcp'

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