# Zapier Integration

This guide will walk you through obtaining and configuring the MCP (Model Context Protocol) server URL from [Zapier](https://zapier.com/) (Zapier Central / Zapier for Agents) to enable your MaiAgent AI assistant to securely call external application actions through Zapier's Remote MCP service.

## ✅ Prerequisites

* You have a [Zapier](https://zapier.com/) account with access to Zapier Central / Zapier for Agents (MCP) functionality.
* You want to make Zapier-connected applications (like Google Workspace, Slack, Notion, Salesforce...) available to MaiAgent's AI assistants.
* You have authorization permissions for target applications (e.g., authorized Google / Slack accounts).

## 🌐 Step 1: Login / Register for Zapier Central (MCP Console)

1. Login to [🌐Zapier website↗](https://zapier.com/) with an admin account or account with appropriate permissions.

   Click "log in" in the top right corner to sign in, or click "Sign up" to register if you haven't already

<figure><img src="/files/f2RMTaYlo9rrlrmop8T2" alt=""><figcaption><p>Zapier Homepage</p></figcaption></figure>

## 👆 Step 2: Create MCP Server in [Zapier MCP Console](https://mcp.zapier.com/)

1. Go to [Zapier MCP Console](https://mcp.zapier.com/)

<figure><img src="/files/gVTH9vKTNHzZksmvVIoo" alt=""><figcaption><p>Zapier MCP Console Homepage</p></figcaption></figure>

On this page, you can create your own MCP Server and link different external tools as MCP services 2. Click the "+ New MCP Server" button in the top left to create an MCP Server.

<figure><img src="/files/lY9y9zx0ejKnM592mGLj" alt=""><figcaption><p>Create MCP Server (+ New MCP Server)</p></figcaption></figure>

After clicking, you'll see this screen ⬇️

<figure><img src="/files/AkNcz9KU3Y10mMkuEu77" alt=""><figcaption><p>Create MCP Server Settings Page</p></figcaption></figure>

* Select Other as MCP Client

{% hint style="info" %}
**You must select Other**, otherwise Zapier won't expose your linked tools to MaiAgent
{% endhint %}

* Name this service (in this case MCP Server)

<figure><img src="/files/ZF4sw1IDgsmh7MtZXqja" alt=""><figcaption><p>Name your MCP Server</p></figcaption></figure>

3. Click "Create MCP Server" to create the service

<figure><img src="/files/tE5Z2QleU6dgVTZmByHt" alt=""><figcaption><p>Create MCP Server</p></figcaption></figure>

After your MCP Server is successfully created, you'll see this screen and the service you just named will appear in the left sidebar menu

<figure><img src="/files/7OmygLIKPrzWse6fE9Ts" alt=""><figcaption><p>MCP Server Creation Complete</p></figcaption></figure>

## 🔧 Step 3: Choose Tools to Make Available to AI

Link MCP Server with external tools:

1. Click "+Add Tool" under the service you want to connect

<figure><img src="/files/2Oqw8y4gL8EPjJ3EnIx6" alt=""><figcaption><p>Add Tool (+Add Tool)</p></figcaption></figure>

{% hint style="info" %}
Tip: If you're unsure about requirements, start with commonly used, lower-risk read-only actions before gradually enabling write actions.

* It's recommended to only authorize work-purpose accounts and follow the organization's Least Privilege principle.
  {% endhint %}

2. After clicking, you'll see a list of all available external tools

<figure><img src="/files/HjhY0LOdamubLHAYuRxc" alt=""><figcaption><p>List of Available External Tools</p></figcaption></figure>

Using Gmail as an example, click the Gmail icon to connect.

{% hint style="info" %}
Some external services require authorization - you'll need to authorize if you want to link those tools
{% endhint %}

3. After adding, select the Google account you want to connect, choose your needed tool services, or click the "Add all Gmail tools" button to add all Gmail tools.

<figure><img src="/files/qzma5b91VzOOcmOnRgxt" alt=""><figcaption><p>Select Tools to Use</p></figcaption></figure>

<figure><img src="/files/iNsWTM2yudijZtxlkq8k" alt=""><figcaption><p>Authorize and Add Gmail Tools</p></figcaption></figure>

After completion, Gmail tools can be added and linked to that MCP Server (selected language model). Here we're only linking the Find Email tool.

<figure><img src="/files/CQBTseI22yv213Ra1xa2" alt=""><figcaption><p>Added Gmail Tool (Find Email)</p></figcaption></figure>

After linking is complete, the tool you just selected will appear in the tools list.

## ↔️ Step 4: Copy MCP endpoint

1. On the MCP Server page, switch to the "Connect" tab at the top.

<figure><img src="/files/2kVEfJ9rki56VWvAMwtX" alt=""><figcaption><p>Connect Tab</p></figcaption></figure>

2\. Get and copy the "Server URL" from this page.

<figure><img src="/files/zOnS9GQCWFw2vcGGQguq" alt=""><figcaption><p>MCP Server URL</p></figcaption></figure>

> Note: This URL is private information and should only be provided to trusted systems (like your MaiAgent environment).

## 💻 Step 5: Set Up MCP Tool in MaiAgent

1. Open the MaiAgent tools page.
2. Add a new MCP tool.
3. Fill in the tool configuration:
   * **Basic Settings**: Complete basic setup according to the user manual [Create Tool](https://docs.maiagent.ai/tools/setup) and select **MCP** as the tool type.
   * **Command or Server URL**: Paste the **Zapier MCP Server URL** you copied in step 4 here.
   * **Parameters / Environment Variables / Allowed Tools**: These fields can be left blank - MaiAgent will automatically get them from the MCP Server when saving tool settings.
4. Save settings.

<figure><img src="/files/yorIEMm1bYFvecowvsPm" alt=""><figcaption><p>Add MCP Tool</p></figcaption></figure>

After completion, you can click "<mark style="color:blue;">Refresh</mark>"

<figure><img src="/files/koUm3klnML71XxXfrRXv" alt=""><figcaption></figcaption></figure>

The system will automatically fetch linked tools and display them in the list below.

<figure><img src="/files/sjAuO3bKSLGsOnv4N18Q" alt=""><figcaption><p>List of Allowed Tools</p></figcaption></figure>

The Find email tool we just linked now appears in the list ready for use.

## Demo Video

{% embed url="<https://drive.google.com/file/d/1az-aQ5JlQvGBUd9nQN45zI-g9xcnN1Td/view?usp=drive_link>" %}

## ⚠️ Important Notes

* URL Confidentiality: Keep the MCP Server URL secure and avoid public exposure.
* Minimize Permissions: Only enable necessary applications and actions for AI assistants to reduce risk.
* Account Expiration: If Zapier connection authorization expires (e.g., key revocation, OAuth expiration), reauthorize on the Zapier side.
* Multiple Tools: To integrate multiple applications (like using both Google Drive and Slack), repeat step 3 in the Zapier MCP console to add new tools to the same MCP Server; no need to change the MCP URL. You can refresh the MCP tool in MaiAgent to sync the latest tools list.

Refreshed tools will be listed in "Allowed Tools (JSON Array)".

{% hint style="info" %}

* Logs and Auditing: Regularly review call records and audit logs on both MaiAgent and Zapier sides.
* To avoid compatibility issues or other updates due to version iterations, regularly check the [Zapier Support Center](https://help.zapier.com/) for authorization, connection and limitation information
  {% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.maiagent.ai/tech/maiagent-tech-en/remote-mcp/zapier.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
