Gemini CLI
Connect AllMCP to Google’s Gemini CLI.
Get your API key Browse providersFastest way: one command
Section titled “Fastest way: one command”Run this in your terminal, replacing YOUR_API_KEY with your AllMCP key:
gemini mcp add --transport http allmcp https://go.allmcp.co/mcp/ --header "X-API-Key: YOUR_API_KEY"The --header flag is repeatable, so you can pass Authorization: Bearer YOUR_API_KEY instead if you prefer.
Or edit the config file
Section titled “Or edit the config file”Gemini CLI reads MCP servers from ~/.gemini/settings.json (user-level) or .gemini/settings.json (project-level). Note the key is httpUrl for HTTP servers:
{ "mcpServers": { "allmcp": { "httpUrl": "https://go.allmcp.co/mcp/", "headers": { "X-API-Key": "YOUR_API_KEY" } } }}Verify it’s working
Section titled “Verify it’s working”List your configured servers:
gemini mcp listThen start Gemini CLI and ask:
What integrations does AllMCP support?Scoping to a specific user
Section titled “Scoping to a specific user”To keep each person’s connected providers separate, add user_id to the URL:
{ "mcpServers": { "allmcp": { "httpUrl": "https://go.allmcp.co/mcp/?user_id=your-user-id", "headers": { "X-API-Key": "YOUR_API_KEY" } } }}Next steps
Section titled “Next steps” Quickstart Connect AllMCP to your agent in under 2 minutes.
All providers Browse every connected provider.
Multi-tenancy How clients, organizations, and users map to credentials.