Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| XAI_API_KEY | Yes | Your xAI API key from x.ai/api (starts with 'xai-'). |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |