Prerequisites
- Grok Build installed and signed in. Install with
curl -fsSL https://x.ai/cli/install.sh | bashon macOS or Linux, orirm https://x.ai/cli/install.ps1 | iexon Windows PowerShell. On first launch Grok opens a browser to authenticate; for headless or CI use, set anXAI_API_KEYenvironment variable instead (create the key at console.x.ai). - Access to the Gemini account you want to connect.
- The Composio MCP endpoint. Composio's server is remote and hosted, so there is nothing to run locally and no tunnel to set up.
Step-by-step: Connect Gemini to Grok Build
1. Install and verify Grok Build
Install the CLI, then restart your shell so the grok binary lands on your PATH:








