Zapier MCP

How to Connect Zapier MCP to Gemini CLI and Gemini Enterprise

Add Zapier's app actions to Gemini in a few lines of config.

Zapier MCPGeminiAI Agents

By Troy Tessalone · · 8 minutes

Zapier MCP

A practical field guide from Automation Ace.

Short answer: for Gemini CLI, create a server at Zapier MCP, then add it under mcpServers in ~/.gemini/settings.json (or the project's .gemini/settings.json) with the server URL and an Authorization: Bearer header, restart the CLI, and run /mcp to confirm the Zapier tools loaded. For Gemini Enterprise, custom MCP servers are controlled by your administrators, so the options are an admin-approved connection or a custom agent that uses MCP tools.

Short answer

  1. Create a Zapier MCP server and enable a few actions.
  2. Gemini CLI: add the URL and token to settings.json, restart, run /mcp.
  3. Gemini Enterprise: ask an admin, or build an agent that calls Zapier MCP.
  4. Test with a read-only request first.

Step 1: Create the Zapier MCP server

  1. Sign in at mcp.zapier.com, create a server, and choose Gemini CLI or a generic client.
  2. Add the actions you need and pick the app connection for each.
  3. Copy the server URL and connection token from the Connect tab.

Step 2: Add it to Gemini CLI settings.json

Gemini CLI reads MCP servers from mcpServers in its settings file. A remote HTTP server uses httpUrl:

// ~/.gemini/settings.json (user) or .gemini/settings.json (project)
{
  "mcpServers": {
    "zapier": {
      "httpUrl": "https://mcp.zapier.com/api/v1/connect",
      "headers": {
        "Authorization": "Bearer $ZAPIER_MCP_TOKEN"
      },
      "timeout": 30000
    }
  }
}

Gemini CLI can expand environment variables in settings, so keep the token in ZAPIER_MCP_TOKEN rather than in the file. Restart the CLI and run /mcp to list connected servers and their tools.

Or use the command

Recent versions also have an mcp add command. Check gemini mcp add --help for the exact flags in your version:

gemini mcp add --transport http zapier https://mcp.zapier.com/api/v1/connect \
  --header "Authorization: Bearer $ZAPIER_MCP_TOKEN"
gemini mcp list

Step 3: Limit the tools Gemini can use

ControlWhereUse it to
Actions on the Zapier servermcp.zapier.comExpose only the actions this workflow needs
includeTools / excludeToolsThe server entry in settings.jsonAllow or block specific tool names in the CLI
trustThe server entry in settings.jsonLeave off so Gemini CLI asks before calling tools
Separate serversmcp.zapier.comGive each project or teammate its own server and token

Least privilege matters more for agents than for people; see how to limit AI agent app actions.

Gemini Enterprise

Gemini Enterprise is managed by your Google Workspace or Google Cloud administrators. Whether users can add a custom MCP server depends on your edition and admin settings at the time you read this. Practical options:

  • Ask an admin to approve Zapier MCP as a connector or tool, if your edition supports custom MCP servers.
  • Build a custom agent with Google's Agent Development Kit, which can use MCP tools, connect it to Zapier MCP, and make it available to your organization through the admin console.
  • Use Zapier from the other side: trigger Zaps with webhooks from an agent, or let a scheduled Zap send results into Google Chat or Gmail.

Compare where to build agents in where to build AI agents.

The Gemini app

The consumer Gemini app uses Google's own apps and extensions. If it does not offer custom MCP servers in your account, use Gemini CLI or a custom agent for Zapier actions.

Troubleshooting

  • Server shows disconnected in /mcp: check that you used httpUrl (not url, which is for SSE servers) and that the token variable is set in the shell that runs Gemini.
  • 401 errors: the token was regenerated or is missing the Bearer prefix.
  • Too many tools: trim actions on the Zapier server or use includeTools.
  • Timeouts on slow actions: raise timeout and keep actions small; see API request timeouts.

Create your server at Zapier MCP and add it to Gemini CLI in a few minutes.

Frequently asked questions

How do I connect Zapier MCP to Gemini CLI?

Add a zapier entry under mcpServers in ~/.gemini/settings.json with httpUrl set to your Zapier MCP server URL and an Authorization: Bearer header with your connection token, then restart Gemini CLI and run /mcp to confirm the tools loaded.

Where is the Gemini CLI settings file?

User settings live in ~/.gemini/settings.json and project settings in .gemini/settings.json inside the project folder. Project settings apply only when you run Gemini CLI in that project.

Can I use Zapier MCP with Gemini Enterprise?

It depends on your edition and admin settings. Ask an administrator whether custom MCP servers can be approved, or build a custom agent with Google's Agent Development Kit that uses Zapier MCP as a tool.

How do I stop Gemini CLI from calling every Zapier tool?

Enable only the actions you need on the Zapier MCP server, and use includeTools or excludeTools in the server's settings.json entry. Leave trust off so the CLI asks before each tool call.

Does Zapier MCP in Gemini CLI use Zapier tasks?

Yes. Each tool call that runs a Zapier action uses tasks from your Zapier plan.

Zapier MCPGeminiAI Agents

Disclaimer: Gemini CLI flags, settings keys, and Gemini Enterprise features change between releases; check Google's current documentation and your admin settings. Automation Ace is not affiliated with Google. This article may include links to apps, products, or services; some links may be affiliate links, which means Automation Ace may earn a commission at no extra cost to you.

Build Better Systems

Ready to automate with confidence?

Share your tools, process, and goals. Automation Ace can design the Zapier, AI, and automation setup that fits your business.

Start a Project →