Codex MCP: add outbound.dev to OpenAI Codex
Add outbound.dev's MCP server to OpenAI Codex with one command or a few lines of config.toml. Then Codex can find leads, get work emails and run outreach.
Updated
MCP server URL
https://mcp.outbound.devContents
Codex is OpenAI's coding agent, in the terminal, in your editor and in the ChatGPT desktop app. Add outbound.dev and it can work on outbound too: find people and companies, get their work emails and phone numbers, write them to a file, and run email and LinkedIn campaigns once you approve them.
Codex comes with every ChatGPT plan, Free included, and its docs set no plan limit on MCP servers. So if your ChatGPT plan can't add a custom MCP server in ChatGPT itself, Codex is a way in.
Add outbound.dev to Codex
Run this in a terminal. It adds outbound.dev to ~/.codex/config.toml, which the CLI, the IDE extension and the ChatGPT desktop app all read:
codex mcp add outbound --url https://mcp.outbound.dev[mcp_servers.outbound]
url = "https://mcp.outbound.dev"codex mcp add outbound --url https://mcp.outbound.dev \
--bearer-token-env-var OUTBOUND_API_KEYAdd the server. Run the command above, or add the
[mcp_servers.outbound]table toconfig.tomlyourself.--urlmakes it a remote server, so there's nothing to install or run.Sign in. Codex sees that outbound.dev supports sign-in and opens it in your browser. If it doesn't, or you added the server by hand, run
codex mcp login outbound.Approve it. On the outbound.dev page that opens, pick the organization, the access Codex gets and an optional daily spending cap, then choose Approve.
Check it's there. In Codex, run
/mcp. outbound is listed with the other active servers.
Where Codex keeps it
Codex reads MCP servers from ~/.codex/config.toml, for every project. To keep a server to one project, put the same table in .codex/config.toml inside it. Codex reads that file only in projects you trust.
With an API key, config.toml names the environment variable that holds the key, so the key itself never sits in the file:
[mcp_servers.outbound]
url = "https://mcp.outbound.dev"
bearer_token_env_var = "OUTBOUND_API_KEY"Check, sign out and remove
# List every server, then show outbound's
codex mcp list
codex mcp get outbound
# Sign out, then remove it
codex mcp logout outbound
codex mcp remove outboundlogout signs Codex out of outbound.dev, and remove takes the server out of your config. To cut the connection off on outbound.dev's side as well, disconnect Codex in the outbound.dev console under MCP.
Your first prompts
Start with a count. It's free, and it tells you whether a list is worth paying for before Codex spends anything.
Codex · outbound.dev MCP
How many CTOs at Series A and Series B startups in the United States are there? What would their work emails cost?
count_people"CTOs at Series A and Series B startups in the United States"
3,096 people match · free
get_prices{}
search record $0.001 · work email $0.02, charged only when one is found
3,096 people match. Listing them costs $3.10, at $0.001 a record, and their work emails cost at most $61.92, since an email is only charged when one is found. Want me to write the first 200 to a CSV?
Prompts that suit Codex, priced at list prices:
- "Find the first 200, get their work emails, and write them to leads.csv." $0.20 for the people, then $0.02 for each email found.
- "Check which addresses in leads.csv can receive mail." $0.01 a verdict; an unknown one is free.
- "Write a script that runs this search through the API every Monday and adds the new people to the CSV." Free to write; each run costs what its calls cost.
- "Draft a two-step campaign to this list and show me every step before you create it." Free.
Make Codex ask before it acts
outbound.dev marks every tool that only reads, such as a count or a list of campaigns, as read-only. Codex can use that mark: set the server's approval mode to writes, and Codex asks you before any outbound.dev tool that isn't read-only, which is every tool that spends, sends, adds, changes or removes something.
[mcp_servers.outbound]
url = "https://mcp.outbound.dev"
default_tools_approval_mode = "writes"outbound.dev adds its own checks on top. It tells Codex to confirm before any tool that spends, sends or deletes, and a campaign sends nothing until you launch it. When you approve the connection, you can also make it read only or set a daily spending cap.
What it costs in Codex
Codex adds nothing to the price: each tool call costs what its API call costs. A person or company returned is $0.001, a work email found $0.02 and a phone number found $0.05. Counts, lists, campaigns and sending are free, lookups that find nothing cost nothing, and new accounts start with $1 of free usage.
Frequently asked questions
How do I add an MCP server to Codex?
Run codex mcp add with a name and the server's URL. For outbound.dev: codex mcp add outbound --url https://mcp.outbound.dev. Codex saves it to ~/.codex/config.toml and opens the sign-in. You can also add an [mcp_servers.outbound] table with the url to that file yourself.
Where is the Codex MCP config?
In ~/.codex/config.toml for every project, or in .codex/config.toml inside a trusted project for that project alone. The Codex CLI, the IDE extension and the ChatGPT desktop app share it.
Which ChatGPT plans include Codex?
OpenAI includes Codex in every ChatGPT plan: Free, Go, Plus, Pro, Business, Edu and Enterprise. Its MCP docs set no plan limit on adding servers.
How do I sign in to outbound.dev from Codex?
Codex opens the sign-in when you add the server. For a server you added to config.toml by hand, or to sign in again, run codex mcp login outbound.
Can I use an API key instead?
Yes. Add --bearer-token-env-var OUTBOUND_API_KEY to the codex mcp add command, or bearer_token_env_var = "OUTBOUND_API_KEY" to config.toml, and keep the key in that environment variable. The key's own access and daily cap apply.