MCP servers for Codex CLI
LocalCodex CLI, OpenAI's open-source coding agent, declares MCP servers in ~/.codex/config.toml. Each runs over stdio and its tools are available in every session.
How to add an MCP server to Codex CLI
- Open or create ~/.codex/config.toml.
- Add a [mcp_servers.<name>] table with command and args, plus an optional env table for secrets.
- Start a new codex session and run /mcp to see the loaded servers and their tools.
[mcp_servers.filesystem] command = "npx" args = ["-y", "@modelcontextprotocol/server-filesystem", "/Users/you/projects"] [mcp_servers.filesystem.env] EXAMPLE_TOKEN = "..."
The example uses the reference filesystem server. Every listing on mcp.site shows its own command, args and environment variables, usually with a ready-made snippet for Codex CLI.
Hosted servers. For a hosted server, use a stdio bridge: set command = "npx" and args = ["-y", "mcp-remote", "https://example.com/mcp"].
Config formats change between releases. If a step looks different in your version, the OpenAI documentation ↗ is the source of truth.
Servers to try in Codex CLI
All 40,821 →Give Claude and ChatGPT long-term memory. Save notes by text, voice or share sheet, and your AI finds and updates them in any future chat.
run any ai model. compose agents, stack knowledge, connect tools. one api, pay per run.
Remote MCP server for Tandem docs, install guides, SDKs, workflows, and agent setup help.
Telegram ad exchange: estimate reach and cost with no account, then create and run campaigns.
Manage your real-estate stock on Propick (Dubai): bulk listing sync, lookups and run reports.
Resolve .hood names on Robinhood Chain — forward/reverse, text records, availability & pricing.
Answers on AEO, SEO, web and brand from GOJI's published material. Melbourne, Australia.
Screen regulated-health marketing copy against source-cited rulesets, all 50 states.
Crypto market signals, technical indicators, and sentiment analysis for AI agents.
Actwise Ideation helps founders benchmark startup and product ideas before they build.
Query Meta Ads performance data — accounts, campaigns, ad sets, ads, metrics & settings.
Google Ads reporting and campaign management. Everything it creates starts paused.