Writing your own integration rather than connecting a client? Python and TypeScript cover the same token flow with runnable code.
Before you begin
- A Zapier account.
- An AI client that supports the Model Context Protocol over Streamable HTTP. If your organization manages your AI client, an admin or owner may need to approve the Zapier connector first.
Connect with a connection token
1
Create a MCP server
- Go to mcp.zapier.com.
- Click + Add MCP Server.
- Under Choose your AI agent, click See all, then select Other.
2
Generate a connection token
- Select the
Connect tab. - Click Generate token.
The token is only shown once. If you lose it, you cannot retrieve it. Regenerate the token to get a new one.
3
Add the token to your client
Your client needs the token in one of two forms. Use whichever your client supports.Authorization header (recommended)Point your client at the connect URL:Then add this header to your client’s MCP configuration:URL with tokenPoint your client at the full server URL, with the token as a query parameter:The
Connect tab shows this complete URL, ready to copy.
Connect tab shows this complete URL, ready to copy.Regenerate a token
If your token is exposed, or you need to invalidate the current one:- Go to mcp.zapier.com and select your server.
- Select the
Connect tab. - Click Regenerate token.
- Copy and store the new token immediately. It is only visible once.
Next steps
Run your first tool call
Run the onboarding Skill and make your first tool call.
How tools work
Learn how dynamic tool discovery works and what the meta-tools do.