Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Transports: stdio vs HTTP
  • State of MCP (stats)
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI → MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE ↗ (opens in a new tab)
  • llms.txt ↗ (opens in a new tab)
  • Catalog JSON ↗ (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub ↗ (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. MCP Clients
  3. OpenAI Codex CLI
Terminal CLI

How to Install MCP Servers in OpenAI Codex CLI

How to add MCP servers to the OpenAI Codex CLI — the [mcp_servers] tables in ~/.codex/config.toml, the codex mcp add command, and how to confirm tools loaded.

Configuring OpenAI Codex CLI

Config file: config.toml

User (global) path~/.codex/config.toml
Configuration snippet
# ~/.codex/config.toml
[mcp_servers.filesystem]
command = "npx"
args = ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/allowed/dir"]

[mcp_servers.filesystem.env]
# API_KEY = "..."

Step-by-step Installation Guide

  1. 1

    Add the server with the CLI or config file

    Run "codex mcp add <name> -- <command> [args...]", or add an [mcp_servers.<name>] table to ~/.codex/config.toml. Codex uses TOML, not JSON, so each server is its own table.

  2. 2

    Set command, args, and env

    Each server table takes a "command" string and an "args" array. Put secrets in a nested [mcp_servers.<name>.env] table rather than in the args.

  3. 3

    Verify inside a session

    Start Codex and run the /mcp command to list configured servers and their tools. If a server is missing, check the TOML syntax — a malformed table silently drops the entry.

Popular MCP servers to try in OpenAI Codex CLI

  • .
    .prompts
    .prompts, the home to all your AI prompts, everywhere you need them.
    0 0
  • ~
    ~alter
    Identity infrastructure for the AI economy. Verify humans, query traits, earn USDC via x402.
    0 0
  • �
    💯 YouTube Transcript + YouTube Search MCP for AI Agents
    The fastest YouTube transcript + YouTube search MCP for AI agents. Try for free.
    0 0
  • Matter Controller MCP logo
    Matter Controller MCP0x1abin
    An MCP server for Matter Controller, enabling AI agents to control and interact with Matter devices.
    0 0
  • 1
    1Claw Vault
    HSM-backed vault secrets for AI agents (JIT fetch) plus prompt-injection and threat scanning.
    0 0
  • 1
    1ClickReport
    40 tools for marketing analytics, campaign management, and AI monitoring across 6 platforms.
    0 0
  • 1
    1inch MCP
    Doc search, intent & cross-chain swaps, limit orders, portfolio, spot prices, gas & all APIs.
    0 0
  • 1
    1password
    MCP server for 1Password service accounts
    0 0
  • 2
    2Captcha MCP
    Full 2Captcha API (43 tools) for Claude Code: 31 captcha solvers + management + webhook.
    0 0
  • 2
    2ools
    Build, version, review, and export websites, web apps, and games from a conversation.
    0 0
  • 2
    2ools
    Build, version, review, and export websites, web apps, and games from a conversation.
    0 0
  • 3
    370.ai — AI Gateway: Video (Seedance 2.0, Wan, HappyHorse), Image, Speech + 100+ Chat Models
    One key, 100+ models — chat with any LLM and generate video, images, speech. Free trial at 370.ai.
    0 0

Frequently Asked Questions

Run codex mcp add <name> -- <command> [args...], or add an [mcp_servers.<name>] table with command and args to ~/.codex/config.toml. Use /mcp inside Codex to confirm it loaded.

Install MCP servers in other clients

  • Claude Desktop
  • Cursor
  • Cline / VS Code
  • Windsurf
  • Claude Code
  • VS Code (GitHub Copilot)
  • Zed
  • Gemini CLI
  • JetBrains AI Assistant
  • Roo Code
  • Continue
  • LM Studio