Why embed Zapier MCP?
Embedding Zapier MCP lets your users stay within your agent interface while connecting to thousands of apps, granting access to Zapier’s entire ecosystem of 8,000+ applications and services. It’s secure—domain restrictions and authentication secrets keep your embeds safe—and easy to set up, with simple configuration and generated code snippets for quick integration.Prerequisites
- A Zapier account (sign up free)
- Must be an Admin of the Zapier account if on a team or organization account
- Have or be building an MCP-compatible AI client
To get started with embedding Zapier MCP:
1
Embed configuration
Configure your embed settings. You can set your Company Name for how it’ll show up in user’s Zapier MCP server list. Then for security purposes, you can set Allowed Domains.Domain examples:
www.company.comcompany.com(note:www.company.comwon’t be allowed by simply addingcompany.com)staging.company.com*.company.com
.com will be ignored. localhost is not allowed, we highly recommend using ngrok or something similar for local development.2
Secret Management
With Secret Management, you can generate and manage secrets to secure your embed endpoint.You can always rotate the secret at any point here: https://mcp.zapier.com/manage/embed/secrets
Treat your embed secret like a password. Keep it secure and never share it publicly. If you suspect it has been compromised, rotate it immediately. When connecting to a Zapier MCP server created through your embed, you will need to provide this secret as a Bearer token inside of an Authorization header:
Authorization: Bearer (your secret)3
Get embed code
Generate embed code snippets for integrating Zapier MCP into your application.Check out the available guide within the “Embedding Zapier MCP” docs section for different guides for different languages and frameworks.
4
Connect your agent to Zapier MCP
Learn how to connect to your users’ MCP servers.See the guides for TypeScript and Python to get started.
Integration Flow
1
User interacts with embed
When a user interacts with the Zapier MCP embed, it dispatches an
mcp-server-url event with their unique server URL.2
Store the URL for the user
Capture this URL and store it in your database associated with the user.
3
Connect to Zapier MCP
Use the stored URL along with your secret to connect to the user’s MCP server
and execute tools on their behalf.
4
Execute tools with MCP
List available tools and call them to automate workflows for your users across thousands of applications.