Before you begin
- A Zapier account.
- An OpenAI account.
Connect the OpenAI API 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 OpenAI API.
2
Generate a connection token
- Select the
Connect tab. - Under MCP server information, click Generate token.
- Copy the token.
3
Set your credentials as environment variables
Make sure you have a valid OpenAI API key. To create one, go to the API keys page on the OpenAI platform.Export your OpenAI API key and your Zapier MCP token:
4
Send a request with Zapier as an MCP tool
Add Zapier to the For request options, check OpenAI’s Responses API documentation.
tools array as an mcp tool, with your token in the tool’s Authorization: Bearer header. The request reads your keys from the OPENAI_API_KEY and ZAPIER_MCP_TOKEN environment variables:- cURL
- JavaScript
- Python
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.