Codex reads its servers from ~/.codex/config.toml. Of the 31 603 we track, 10 529 answer right now without any credentials, 3 367 sign you in through the browser and 1 322 want an API key you paste into the config. The blocks below are ready to paste — each is built from the address we actually reached, in the format this client expects.
One file for everything — there is no per-project variant to forget about.
open ~/.codex/config.toml
Each server is its own table. The name in brackets is what you will see when the tool is called.
[mcp_servers.example]
url = "https://example.com/mcp"
The file is read at start, so an already running session will not notice the change.
~/.codex/config.toml
Playwright MCP →
[mcp_servers.playwright-mcp]
command = "npx"
args = ["-y", "@playwright/mcp"]
Playwright Tools for MCP
Gives AI development tools Firebase-specific capabilities and expertise.
Up-to-date code docs for any prompt
Control a real Chrome browser to complete any task: fill forms, extract data, book flights.
Help agents automatically write and test stories for your UI components.
MCP server for Chrome DevTools
Easily find and fix security issues in your applications leveraging Snyk platform capabilities.
Cross-cloud GPU orchestration CLI.
AWS MCP Server lets AI securely access AWS using docs, API calls, and SOP workflows.
Marketing on autopilot from your agent. 847 tools, usable alone. Publishing and ads cost no credits.
Official TypeScript library for the Telnyx API
Open-source SEC EDGAR toolkit — 11 tools, 7 prompts, every filing type. No API key required.
Written from how Codex reads its config, not from its release notes.
Editor with the agent built in. Takes stdio, streamable HTTP and SSE, and can carry an OAuth login for each of the three.
Autonomous agent living inside VS Code. Handles local processes and remote endpoints over streamable HTTP or SSE, but authorisation is on you — through headers or environment variables.
Google's command-line agent. Takes all three transports and carries a full OAuth flow for remote servers, including service-account impersonation.
Built into the JetBrains IDEs. Configured through the settings dialog rather than a file, and it can import a config you already wrote for another client.
Open-source terminal agent. Local and remote servers sit in the same mcp object, told apart by a type field, and tokens are kept outside the config.
Adds servers by command, so nothing to edit by hand. Handles both local processes and remote endpoints, including OAuth logins.
Config sits in the project folder, so servers can differ per repository — useful when one project needs database access and another must not have it.
Works through GitHub Copilot's agent mode. Like Cursor, the config is per workspace rather than global.
One global config for everything, so a server added here is available in every conversation.