Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
XAI_API_KEYYesYour xAI API key from x.ai/api (starts with 'xai-').

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
generate_image

Generate images from text descriptions using xAI's Grok Imagine model. Returns image URLs or base64 data.

chat

Chat with xAI's Grok models. Send messages and receive AI-generated responses.

analyze_image

Analyze images using xAI's vision-capable Grok models. Describe, extract text, or answer questions about images.

live_search

Perform real-time web search using xAI's Grok. Search web, news, or X/Twitter for current information.

generate_video

Generate videos from text descriptions using xAI. Can also animate images or edit existing videos.

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/joemccann/xai-mcp-server'

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