Before you begin
- A Zapier account.
- Python 3.10 or later.
Connect Python to Zapier MCP
1
Create an MCP server
- Go to mcp.zapier.com.
- Click Add MCP server.
- Under Choose your AI agent, search for and select Python.
2
Generate a connection token
- Select the
Settings tab. - In the API token section, click Generate token.
- Copy the Token.
3
Set your token as an environment variable
4
Install FastMCP
5
Connect and list your tools
This script uses FastMCP, but any MCP SDK that supports Streamable HTTP works. It sends your token in an
Authorization: Bearer header:Next steps
How tools work
What each meta-tool does, and how dynamic tool discovery works.
How connections work
How connection tokens work, and how to manage them.