Gemini

Google Gemini supports MCP through Gemini CLI, letting you use Toolcog for API operations from your terminal.

Prerequisites

Configuration

Gemini CLI uses a JSON settings file for MCP servers.

Settings File Location

Edit ~/.gemini/settings.json:

{
"mcpServers": {
"toolcog": {
"url": "https://mcp.toolcog.com"
}
}
}

Using Toolcog

Start Gemini CLI and ask:

Terminal window
gemini

Then in the session:

“@toolcog Find operations for creating Stripe invoices”

Or without the prefix:

“What HubSpot operations are available for contacts?”

Gemini will use Toolcog to discover operations, show interfaces, and help you execute them.

Authentication

When Gemini needs to access your Toolcog account:

  1. Gemini displays an authorization link
  2. Open the link in your browser
  3. Sign in to Toolcog
  4. Return to Gemini CLI

For downstream services (Stripe, HubSpot, etc.), the same pattern applies.

Catalogs

Connect to specific catalogs:

{
"mcpServers": {
"toolcog-internal": {
"url": "https://mcp.toolcog.com/mycompany/internal-apis"
}
}
}

Google’s Managed MCP Servers

Google offers managed MCP servers for Google services (Maps, BigQuery, GCE, GKE). You can use these alongside Toolcog for comprehensive access to both Google and third-party APIs.

Verify It’s Working

In Gemini CLI, ask:

“What operations does Toolcog have for Zendesk?”

If you see a list of operations, Toolcog is connected.

Troubleshooting

Server not connecting

Tools not appearing

Authentication errors

Next Steps