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 an API key
- Select the
Connect tab. - Under Step 1: Get Your API Key, click Generate API Key.
- Copy the API key.
3
Set your API key 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 API key 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.