Skip to main content
This page shows how to use Zapier MCP tools in OpenAI API requests using a connection token.

Before you begin

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 link icon Connect tab.
  • Under MCP server information, click Generate token.
  • Copy the token.
The token is only shown once. If you lose it, click Rotate token to get a new one. The previous token stops working straight away, so update anywhere you used it.
Treat your connection token like a password. Anyone with the token, or with a server URL that contains it, can run tools on this server and access your data.
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 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:
For request options, check OpenAI’s Responses API documentation.
You’ve now connected the OpenAI API to Zapier MCP.

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.
Last modified on September 24, 2026