# Grok

Use Covo from the xAI API as a remote MCP tool, and add it to grok.com as a custom connector.

## xAI API

POST https://api.x.ai/v1/responses:

```json
{
  "model": "grok-4.7",
  "input": "List my Concierges.",
  "tools": [
    {
      "type": "mcp",
      "server_url": "https://covo.lanaai.io/mcp",
      "server_label": "covo",
      "authorization": "Bearer cc_pat_...",
      "allowed_tools": [
        "list_agents",
        "get_agent"
      ]
    }
  ]
}
```

xAI sets the `authorization` value as the Authorization header, so include `Bearer `. The xAI API connects over Streamable HTTP and does not support approval prompts, so limit `allowed_tools` to what the task needs.

## grok.com

Open grok.com/connectors, choose **New Connector**, then **Custom**, enter `https://covo.lanaai.io/mcp`, and complete the sign-in. xAI has not published which sign-in methods custom connectors support; Covo offers standard OAuth, which MCP hosts use.
