mcp tool in the Responses API. OpenAI lists the Firecrawl tools, and the model calls them to search the web and read pages.
OpenAI’s documentation says Agent Builder is scheduled to shut down on November 30, 2026. The remote MCP tool on this page does not depend on Agent Builder.
Requirements
- An OpenAI API key in
OPENAI_API_KEYand theopenaiPython package. - A Firecrawl API key in
FIRECRAWL_API_KEY.
Quick setup
Add the Firecrawl server to thetools list. The authorization field carries your Firecrawl API key, and allowed_tools limits what the model can call:
authorization value, so send it on every request. Set require_approval to "always" if you want to review each tool call before data is sent to the server.
See Configure an API key for more on key-based connections. This setup makes no direct Firecrawl API calls from your code, because OpenAI connects to the MCP server for you.
Try it
What you can do
Search
Find current information and read the content of relevant results.
Scrape
Turn URLs into clean markdown or structured data.
Interact
Navigate, click, and fill forms to reach the data you need.
Alexandria
Discover structured data tools, inspect inputs and pricing, then run them through Firecrawl.
Troubleshooting
- The request fails while listing tools: confirm
server_urlis exactlyhttps://mcp.firecrawl.dev/v2/mcpand thatFIRECRAWL_API_KEYis set in the environment that runs the script. - The server returns
401: replace the key and send the request again, since OpenAI does not keep theauthorizationvalue between requests. - A tool is missing: add its name to
allowed_tools, or removeallowed_toolsto import every tool the server exposes. - The model answers without using Firecrawl: name the tool in your prompt, for example “Use firecrawl_search to find…”.

