Add Firecrawl’s search, scrape, crawl, and browser tools to OpenAI Codex CLI via MCP.Documentation Index
Fetch the complete documentation index at: https://docs.firecrawl.dev/llms.txt
Use this file to discover all available pages before exploring further.
Quick Setup
1. Get Your API Key
Sign up at firecrawl.dev/app and copy your API key.2. Add Firecrawl to Codex
Codex reads MCP server config from~/.codex/config.toml. Add the Firecrawl server:
fc-YOUR-API-KEY with your Firecrawl API key.
3. Start Codex
firecrawl listed with tools like firecrawl_search, firecrawl_scrape, firecrawl_crawl, and firecrawl_extract.
Quick Demo
Try these prompts:Remote Hosted URL (no Node.js required)
If you prefer not to runnpx locally:
Troubleshooting
- Codex doesn’t see the tools — run
codex --versionto confirm you’re on a version with MCP support, then restart the CLI after editingconfig.toml. spawn npx ENOENT— install Node.js 18+ and ensurenpxis on yourPATH, or switch to the remote hosted URL above.- 401 / invalid key — regenerate an API key at firecrawl.dev/app/api-keys.

