Grok (xAI)
Connect Crow to xAI's Grok using its Remote MCP Tools support.
Prerequisites
- Crow gateway deployed and healthy (Cloud Deploy Guide)
- An xAI API account
Setup Steps
Grok supports remote MCP servers through its API. Configure Crow as a remote tool source:
In your Grok/xAI configuration, add a remote MCP server:
json{ "mcp_servers": [ { "url": "https://your-gateway.onrender.com/memory/mcp", "name": "crow-memory" }, { "url": "https://your-gateway.onrender.com/research/mcp", "name": "crow-research" }, { "url": "https://your-gateway.onrender.com/tools/mcp", "name": "crow-tools" } ] }If using OAuth, the client will need to complete the authorization flow. If using bearer tokens, you can generate a token via the gateway's OAuth flow and pass it directly.
Transport
- Type: Streamable HTTP
- Protocol:
2025-03-26 - Auth: OAuth 2.1 or Bearer token
Using Bearer Tokens
If your Grok client doesn't support OAuth discovery, you can:
- Register a client manually via the
/registerendpoint - Complete the OAuth flow to get an access token
- Pass the token as a
Bearerheader in requests
Cross-Platform Context
Load Crow's shared behavioral context on Grok:
"Use the crow_get_context tool with platform set to grok"
Or fetch via HTTP: GET https://your-gateway.onrender.com/crow.md?platform=grok
Memories and research stored from any platform are shared. See the Cross-Platform Guide.
Verification
Use Grok's tool calling to test:
"Use the crow_store_memory tool to store that Grok is connected."