clients/codex
Codex CLI logo

MCP servers for Codex CLI

Local

Codex 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 a server Browse 40,821 compatible servers OpenAI website ↗

How to add an MCP server to Codex CLI

  1. Open or create ~/.codex/config.toml.
  2. Add a [mcp_servers.<name>] table with command and args, plus an optional env table for secrets.
  3. Start a new codex session and run /mcp to see the loaded servers and their tools.
~/.codex/config.toml
[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 →
NoteMCP icon
NoteMCP
Memory Remote

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.

Added today →
IN
inference.sh
AI & Agents Remote

run any ai model. compose agents, stack knowledge, connect tools. one api, pay per run.

Added 3 months ago →
Docs Mcp icon
Docs Mcp
AI & Agents Remote

Remote MCP server for Tandem docs, install guides, SDKs, workflows, and agent setup help.

★ 118 Added 3 months ago →
IA
Inside Ads
Communication Remote

Telegram ad exchange: estimate reach and cost with no account, then create and run campaigns.

Added 3 months ago →
PI
Propick Integration MCP
Finance Remote

Manage your real-estate stock on Propick (Dubai): bulk listing sync, lookups and run reports.

Added 3 months ago →
HN
hood. — .hood name service
Development Remote

Resolve .hood names on Robinhood Chain — forward/reverse, text records, availability & pricing.

Added 3 months ago →
Goji icon
Goji
Marketing Remote

Answers on AEO, SEO, web and brand from GOJI's published material. Melbourne, Australia.

Added 3 months ago →
PC
Pre-Trip compliance scanner
Security

Screen regulated-health marketing copy against source-cited rulesets, all 50 states.

Added 3 months ago →
AM
aTars MCP
AI & Agents Remote

Crypto market signals, technical indicators, and sentiment analysis for AI agents.

Added 3 months ago →
ID
Ideation
Development Remote

Actwise Ideation helps founders benchmark startup and product ideas before they build.

Added 3 months ago →
AM
AdAdvisor MCP Server
Marketing Remote

Query Meta Ads performance data — accounts, campaigns, ad sets, ads, metrics & settings.

Added 3 months ago →
GA
Google Ads
Marketing Remote

Google Ads reporting and campaign management. Everything it creates starts paused.

Added 3 months ago →
>_ esc
↑↓ navigate↵ openesc close