call_grok
Send a prompt to Grok (xAI) and receive an AI-generated response. Configure model, tokens, and temperature for tailored answers.
Instructions
Call Grok (xAI) from Claude or any MCP client.
Phone-first: uses only requests. Set XAI_API_KEY (or GROK_API_KEY) in the environment before starting the server.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | grok-3 | |
| prompt | Yes | ||
| system | No | ||
| max_tokens | No | ||
| temperature | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||