Skip to content

Grok / xAI Responses API

AI Crawler / Raw View: Fetch this page as raw Markdown at /ai-tools/grok.md.

API Configuration

When using the xAI Responses API with remote tool calling, pass the static API gateway endpoint in your request tool definitions:

json
{
  "tools": [
    {
      "type": "mcp",
      "mcp": {
        "server_url": "https://api.harness.zuey.me/mcp",
        "headers": {
          "Authorization": "Bearer <YOUR_DASHBOARD_API_KEY>"
        }
      }
    }
  ]
}

Ensure only required write tools are allowlisted if running unattended tasks.

Released under the MIT License. Single-owner private remote coding harness.