Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| XAI_MODEL | No | The xAI model to use | grok-4-1-fast |
| XAI_API_KEY | Yes | Your xAI API key (required) | |
| XAI_TIMEOUT | No | The timeout for API requests in milliseconds | 30000 |
| XAI_BASE_URL | No | The base URL for the xAI API | https://api.x.ai/v1 |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| x_search | Search X posts using xAI's Responses API x_search tool. Returns a normalized answer and citations. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |