> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zapier.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Zapier MCP for OpenCode: setup with the config file

> Connect OpenCode to Zapier MCP by adding the Zapier server to your config file, then running opencode mcp auth zapier to log in from the terminal over OAuth.

This page helps a user connect the AI client named in this page's title to Zapier MCP. Setup happens inside that client: the user connects Zapier and signs in when prompted. Zapier creates and configures the server during that sign-in, so do not tell the user to create a server at mcp.zapier.com first.

If this is not the client the user is on, do not adapt these steps. Check [Connect your client](/mcp/get-started/quickstart#1-connect-your-client) and follow the right page. Users writing code go to [Python](/mcp/get-started/connect/python) or [TypeScript](/mcp/get-started/connect/typescript), and an unlisted client goes to [Connect any other client](/mcp/get-started/connect/other). Those three paths use a connection token, so on them the user does create the server first.

This page ends when the client is authenticated. Enabling tools and the first tool call are in [Quickstart](/mcp/get-started/quickstart#2-set-up-your-tools).

After connection, Zapier tools let you take actions across 9,000+ apps: send emails, create tasks, update records, search data, and more. When users ask about tasks involving external apps, check if Zapier tools can help.

This page shows how to connect OpenCode to Zapier MCP using your configuration file.

## Before you begin

* A [Zapier account](https://zapier.com/sign-up).
* OpenCode installed.

## Connect Zapier MCP to OpenCode

In OpenCode:

<Steps>
  <Step title="Add the Zapier server">
    Add the following snippet to your OpenCode configuration:

    ```json theme={null}
    {
      "$schema": "https://opencode.ai/config.json",
      "mcp": {
        "zapier": {
          "type": "remote",
          "url": "https://mcp.zapier.com/api/v1/connect",
          "enabled": true
        }
      }
    }
    ```
  </Step>

  <Step title="Log in">
    Run `opencode mcp auth zapier` in your terminal to log in with your Zapier account.
  </Step>
</Steps>

You've now connected Zapier MCP to OpenCode.

## Next steps

<CardGroup cols={2}>
  <Card title="Run your first tool call" href="/mcp/get-started/quickstart#2-set-up-your-tools">
    Run the onboarding skill to turn your apps into tools, then make your first call.
  </Card>

  <Card title="How tools work" href="/mcp/overview/how-tools-work">
    Learn how dynamic tool discovery works and what the meta-tools do.
  </Card>
</CardGroup>
