Best MCP Servers for Codex (2026)

Codex is OpenAI's coding agent, available as a terminal CLI and as IDE extensions. It treats MCP servers as tool sources configured in its own TOML file: a [mcp_servers] block per server, each launching a local stdio command. That makes Codex a good fit for the same local toolbelt other agents use — filesystem access, databases, browsers, documentation search — configured once and available in every session.

Because Codex's documented configuration is stdio-based, this list only includes servers that run as local commands (npx, uvx or docker). The selection bar is the same as every page on this site — 10+ GitHub stars, 100+ monthly downloads, or a verified official tier — ranked by stars, maintenance recency and downloads, with no paid placement.

A data-ranked shortlist of the 12 strongest MCP servers for Codex — every entry links to its full page with copy-paste configs. List compiled 2026-10-28; rankings refresh as the underlying data updates.

How entries are picked: An entry is eligible only if it meets at least one of: 10+ GitHub stars, 100+ monthly npm/PyPI downloads, or a verified official/reference tier on its brand page; entries meeting none of the three are excluded, as are archived repositories. Eligible entries are ranked by a score built from: GitHub stars — multiplied by 10 when the entry has a verified official/reference tier, so official status counts as ten times the community traction rather than a flat bonus; maintenance recency (last push); and npm/PyPI downloads where available. Two tie-break rules keep the list honest: when the same repository is shared by several listings, its star count does not contribute to ranking (the shared figure would otherwise swamp independent projects), and when several implementations share a product name, only the highest-scoring one is listed — the others stay in the directory. Data comes from the public MCP Registry (description, install method), GitHub repository stats and package download counts — no editorial scoring, no paid inclusion, and sponsorship never affects these lists.

Connecting MCP servers to Codex

Codex reads MCP configuration from ~/.codex/config.toml (TOML, not JSON). Per server: [mcp_servers.name] with command = "npx" and args = ["-y", "package-name"] for npm servers, "uvx" for Python ones, "docker" for containers; environment keys go in an env table. The JSON blocks on each entry's full page translate directly — command and args carry over one-to-one, and env keys become the env table. Restart the Codex session after editing so the server is picked up. Remote MCP endpoints: Codex's remote support has been changing release to release, so verify against OpenAI's current documentation rather than relying on a tutorial; everything on this page works regardless because it is all stdio.

The shortlist at a glance

Full commands and configs are on each entry below and on the server's own page.

#ServerWhat it doesStarsInstallTransport
1REAReverse engineer anything from your terminal or agent with one CLI and MCP server.391,152npx rea-agentsnpm
2Browser UseBrowser agents and stealth cloud browsers for AI: run web tasks, fill forms, extract data.118,349uvx browser-usePython, Streamable HTTP
3Scrapling MCP ServerWeb scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.88,324uvx scraplingPython, Docker
4Firecrawl🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM…7,627npx firecrawl-mcpstdio
5Context7Up-to-date code docs for any prompt63,214npx @upstash/context7-mcpnpm, mcpb, Streamable HTTP
6Chrome DevTools MCPMCP server for Chrome DevTools54,205npx chrome-devtools-mcpnpm
7ExaNeural web search built for AI — semantic search, company and people research, and deep content retrieval.5,139npx exa-mcp-servernpm
8Codebase MemoryCodebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.46,788npx codebase-memory-mcpnpm, Python, mcpb
9CCXTOfficial CCXT MCP server - Market data and trading across 100+ exchanges and prediction markets44,588npx ccxt-mcpnpm
10NotionOfficial Notion MCP Server4,671npx @notionhq/notion-mcp-serverstdio
11Azure MCP ServerAll Azure MCP tools to create a seamless connection between AI agents and Azure services.3,804npx @azure/mcpnuget, npm, Python, mcpb
12PlaywrightPlaywright Tools for MCP38,340npx @playwright/mcpnpm
#1

REA

by morluto

Reverse engineer anything from your terminal or agent with one CLI and MCP server.

⭐ 391,152 starsLast push: 2026-10-26License: MITRepository ↗Full page & details →

Install with your client

Claude Desktopconfig JSON
Claude Desktop
{
  "mcpServers": {
    "rea": {
      "command": "npx",
      "args": [
        "-y",
        "rea-agents"
      ]
    }
  }
}
Claude CodeCLI command
Claude Code
claude mcp add rea -- npx -y rea-agents
Cursorconfig JSON
Cursor
{
  "mcpServers": {
    "rea": {
      "command": "npx",
      "args": [
        "-y",
        "rea-agents"
      ]
    }
  }
}
VS Codeconfig JSON
VS Code
{
  "servers": {
    "rea": {
      "command": "npx",
      "args": [
        "-y",
        "rea-agents"
      ]
    }
  }
}
Windsurfconfig JSON
Windsurf
{
  "mcpServers": {
    "rea": {
      "command": "npx",
      "args": [
        "-y",
        "rea-agents"
      ]
    }
  }
}
#2

Browser Use

Referenceby browser-use

Browser agents and stealth cloud browsers for AI: run web tasks, fill forms, extract data.

⭐ 118,349 starsLast push: 2026-10-17License: MIT8,061,974/mo downloadsRepository ↗Full page & details →

Install with your client

Claude Desktopconfig JSON
Claude Desktop
{
  "mcpServers": {
    "browser-mcp": {
      "command": "uvx",
      "args": [
        "browser-use"
      ]
    }
  }
}
Claude CodeCLI command
Claude Code
claude mcp add browser-mcp -- uvx browser-use
Cursorconfig JSON
Cursor
{
  "mcpServers": {
    "browser-mcp": {
      "command": "uvx",
      "args": [
        "browser-use"
      ]
    }
  }
}
VS Codeconfig JSON
VS Code
{
  "servers": {
    "browser-mcp": {
      "command": "uvx",
      "args": [
        "browser-use"
      ]
    }
  }
}
Windsurfconfig JSON
Windsurf
{
  "mcpServers": {
    "browser-mcp": {
      "command": "uvx",
      "args": [
        "browser-use"
      ]
    }
  }
}
Keys / environment: X-Browser-Use-API-Key

Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.

⭐ 88,324 starsLast push: 2026-10-17License: BSD-3-Clause919,855/mo downloadsRepository ↗Full page & details →

Install with your client

Claude Desktopconfig JSON
Claude Desktop
{
  "mcpServers": {
    "scrapling": {
      "command": "uvx",
      "args": [
        "scrapling"
      ]
    }
  }
}
Claude CodeCLI command
Claude Code
claude mcp add scrapling -- uvx scrapling
Cursorconfig JSON
Cursor
{
  "mcpServers": {
    "scrapling": {
      "command": "uvx",
      "args": [
        "scrapling"
      ]
    }
  }
}
VS Codeconfig JSON
VS Code
{
  "servers": {
    "scrapling": {
      "command": "uvx",
      "args": [
        "scrapling"
      ]
    }
  }
}
Windsurfconfig JSON
Windsurf
{
  "mcpServers": {
    "scrapling": {
      "command": "uvx",
      "args": [
        "scrapling"
      ]
    }
  }
}
#4

Firecrawl

Officialby firecrawl

🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients.

⭐ 7,627 starsLast push: 2026-10-17License: MITRepository ↗Full page & details →

Install with your client

Claude Desktopconfig JSON
Claude Desktop
{
  "mcpServers": {
    "firecrawl": {
      "command": "npx",
      "args": [
        "-y",
        "firecrawl-mcp"
      ]
    }
  }
}
Claude CodeCLI command
Claude Code
claude mcp add firecrawl -- npx -y firecrawl-mcp
Cursorconfig JSON
Cursor
{
  "mcpServers": {
    "firecrawl": {
      "command": "npx",
      "args": [
        "-y",
        "firecrawl-mcp"
      ]
    }
  }
}
VS Codeconfig JSON
VS Code
{
  "servers": {
    "firecrawl": {
      "command": "npx",
      "args": [
        "-y",
        "firecrawl-mcp"
      ]
    }
  }
}
Windsurfconfig JSON
Windsurf
{
  "mcpServers": {
    "firecrawl": {
      "command": "npx",
      "args": [
        "-y",
        "firecrawl-mcp"
      ]
    }
  }
}
#5

Context7

by upstash

Up-to-date code docs for any prompt

⭐ 63,214 starsLast push: 2026-10-17License: MIT2,685,137/mo downloadsRepository ↗Full page & details →

Install with your client

Claude Desktopconfig JSON
Claude Desktop
{
  "mcpServers": {
    "context7": {
      "command": "npx",
      "args": [
        "-y",
        "@upstash/context7-mcp"
      ]
    }
  }
}
Claude CodeCLI command
Claude Code
claude mcp add context7 -- npx -y @upstash/context7-mcp
Cursorconfig JSON
Cursor
{
  "mcpServers": {
    "context7": {
      "command": "npx",
      "args": [
        "-y",
        "@upstash/context7-mcp"
      ]
    }
  }
}
VS Codeconfig JSON
VS Code
{
  "servers": {
    "context7": {
      "command": "npx",
      "args": [
        "-y",
        "@upstash/context7-mcp"
      ]
    }
  }
}
Windsurfconfig JSON
Windsurf
{
  "mcpServers": {
    "context7": {
      "command": "npx",
      "args": [
        "-y",
        "@upstash/context7-mcp"
      ]
    }
  }
}
#6

Chrome DevTools MCP

by ChromeDevTools

MCP server for Chrome DevTools

⭐ 54,205 starsLast push: 2026-10-26License: Apache-2.0Repository ↗Full page & details →

Install with your client

Claude Desktopconfig JSON
Claude Desktop
{
  "mcpServers": {
    "chrome-devtools": {
      "command": "npx",
      "args": [
        "-y",
        "chrome-devtools-mcp"
      ]
    }
  }
}
Claude CodeCLI command
Claude Code
claude mcp add chrome-devtools -- npx -y chrome-devtools-mcp
Cursorconfig JSON
Cursor
{
  "mcpServers": {
    "chrome-devtools": {
      "command": "npx",
      "args": [
        "-y",
        "chrome-devtools-mcp"
      ]
    }
  }
}
VS Codeconfig JSON
VS Code
{
  "servers": {
    "chrome-devtools": {
      "command": "npx",
      "args": [
        "-y",
        "chrome-devtools-mcp"
      ]
    }
  }
}
Windsurfconfig JSON
Windsurf
{
  "mcpServers": {
    "chrome-devtools": {
      "command": "npx",
      "args": [
        "-y",
        "chrome-devtools-mcp"
      ]
    }
  }
}
#7

Exa

Officialby exa-labs

Neural web search built for AI — semantic search, company and people research, and deep content retrieval.

⭐ 5,139 starsLast push: 2026-10-07License: MITRepository ↗Full page & details →

Install with your client

Claude Desktopconfig JSON
Claude Desktop
{
  "mcpServers": {
    "exa": {
      "command": "npx",
      "args": [
        "-y",
        "exa-mcp-server"
      ]
    }
  }
}
Claude CodeCLI command
Claude Code
claude mcp add exa -- npx -y exa-mcp-server
Cursorconfig JSON
Cursor
{
  "mcpServers": {
    "exa": {
      "command": "npx",
      "args": [
        "-y",
        "exa-mcp-server"
      ]
    }
  }
}
VS Codeconfig JSON
VS Code
{
  "servers": {
    "exa": {
      "command": "npx",
      "args": [
        "-y",
        "exa-mcp-server"
      ]
    }
  }
}
Windsurfconfig JSON
Windsurf
{
  "mcpServers": {
    "exa": {
      "command": "npx",
      "args": [
        "-y",
        "exa-mcp-server"
      ]
    }
  }
}
#8

Codebase Memory

by DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

⭐ 46,788 starsLast push: 2026-10-18License: MIT7,001/mo downloadsRepository ↗Full page & details →

Install with your client

Claude Desktopconfig JSON
Claude Desktop
{
  "mcpServers": {
    "codebase-memory-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "codebase-memory-mcp"
      ]
    }
  }
}
Claude CodeCLI command
Claude Code
claude mcp add codebase-memory-mcp -- npx -y codebase-memory-mcp
Cursorconfig JSON
Cursor
{
  "mcpServers": {
    "codebase-memory-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "codebase-memory-mcp"
      ]
    }
  }
}
VS Codeconfig JSON
VS Code
{
  "servers": {
    "codebase-memory-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "codebase-memory-mcp"
      ]
    }
  }
}
Windsurfconfig JSON
Windsurf
{
  "mcpServers": {
    "codebase-memory-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "codebase-memory-mcp"
      ]
    }
  }
}
#9

CCXT

by ccxt

Official CCXT MCP server - Market data and trading across 100+ exchanges and prediction markets

⭐ 44,588 starsLast push: 2026-10-26License: MITRepository ↗Full page & details →

Install with your client

Claude Desktopconfig JSON
Claude Desktop
{
  "mcpServers": {
    "ccxt-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "ccxt-mcp"
      ]
    }
  }
}
Claude CodeCLI command
Claude Code
claude mcp add ccxt-mcp -- npx -y ccxt-mcp
Cursorconfig JSON
Cursor
{
  "mcpServers": {
    "ccxt-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "ccxt-mcp"
      ]
    }
  }
}
VS Codeconfig JSON
VS Code
{
  "servers": {
    "ccxt-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "ccxt-mcp"
      ]
    }
  }
}
Windsurfconfig JSON
Windsurf
{
  "mcpServers": {
    "ccxt-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "ccxt-mcp"
      ]
    }
  }
}
#10

Notion

Officialby makenotion

Official Notion MCP Server

⭐ 4,671 starsLast push: 2026-09-20License: MITRepository ↗Full page & details →

Install with your client

Claude Desktopconfig JSON
Claude Desktop
{
  "mcpServers": {
    "notion": {
      "command": "npx",
      "args": [
        "-y",
        "@notionhq/notion-mcp-server"
      ]
    }
  }
}
Claude CodeCLI command
Claude Code
claude mcp add notion -- npx -y @notionhq/notion-mcp-server
Cursorconfig JSON
Cursor
{
  "mcpServers": {
    "notion": {
      "command": "npx",
      "args": [
        "-y",
        "@notionhq/notion-mcp-server"
      ]
    }
  }
}
VS Codeconfig JSON
VS Code
{
  "servers": {
    "notion": {
      "command": "npx",
      "args": [
        "-y",
        "@notionhq/notion-mcp-server"
      ]
    }
  }
}
Windsurfconfig JSON
Windsurf
{
  "mcpServers": {
    "notion": {
      "command": "npx",
      "args": [
        "-y",
        "@notionhq/notion-mcp-server"
      ]
    }
  }
}
#11

Azure MCP Server

Officialby microsoft

All Azure MCP tools to create a seamless connection between AI agents and Azure services.

⭐ 3,804 starsLast push: 2026-10-26License: MIT9,993/mo downloadsRepository ↗Full page & details →

Install with your client

Claude Desktopconfig JSON
Claude Desktop
{
  "mcpServers": {
    "azure": {
      "command": "npx",
      "args": [
        "-y",
        "@azure/mcp"
      ]
    }
  }
}
Claude CodeCLI command
Claude Code
claude mcp add azure -- npx -y @azure/mcp
Cursorconfig JSON
Cursor
{
  "mcpServers": {
    "azure": {
      "command": "npx",
      "args": [
        "-y",
        "@azure/mcp"
      ]
    }
  }
}
VS Codeconfig JSON
VS Code
{
  "servers": {
    "azure": {
      "command": "npx",
      "args": [
        "-y",
        "@azure/mcp"
      ]
    }
  }
}
Windsurfconfig JSON
Windsurf
{
  "mcpServers": {
    "azure": {
      "command": "npx",
      "args": [
        "-y",
        "@azure/mcp"
      ]
    }
  }
}
#12

Playwright

by microsoft

Playwright Tools for MCP

⭐ 38,340 starsLast push: 2026-10-16License: Apache-2.0Repository ↗Full page & details →

Install with your client

Claude Desktopconfig JSON
Claude Desktop
{
  "mcpServers": {
    "playwright-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@playwright/mcp"
      ]
    }
  }
}
Claude CodeCLI command
Claude Code
claude mcp add playwright-mcp -- npx -y @playwright/mcp
Cursorconfig JSON
Cursor
{
  "mcpServers": {
    "playwright-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@playwright/mcp"
      ]
    }
  }
}
VS Codeconfig JSON
VS Code
{
  "servers": {
    "playwright-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@playwright/mcp"
      ]
    }
  }
}
Windsurfconfig JSON
Windsurf
{
  "mcpServers": {
    "playwright-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@playwright/mcp"
      ]
    }
  }
}

How does Codex support MCP servers?

Through stdio commands declared in ~/.codex/config.toml under [mcp_servers.<name>]: a command, its args and optional env. Codex launches the process and speaks MCP over standard input/output — the same mechanism Claude Desktop and Cursor use for local servers.

Can Codex connect to remote MCP servers?

Codex's remote-endpoint support has been evolving across releases, so check OpenAI's current documentation for your version before relying on it. This page deliberately lists only stdio servers, which work on any Codex version that supports MCP at all.

Where is Codex's MCP config file?

~/.codex/config.toml in your home directory. It is TOML rather than JSON: each server gets a [mcp_servers.<name>] table with command, args and env. JSON configs from other clients translate field-for-field (command → command, args → args, env → env).

Why won't my mcpServers JSON work in Codex?

Codex does not read JSON config files — it reads TOML. Copy the command and args values out of the JSON block and put them in a [mcp_servers.<name>] table in config.toml. A server that still fails is usually missing an environment variable, which goes in the same table under env.

Other best-of lists

Sources & last verified

  • ▸ Server descriptions, categories and install methods: the public MCP Registry (modelcontextprotocol.io) as of 2026-10-28.
  • ▸ Stars, last-push dates and licenses: GitHub repository API, fetched per entry's own repository on 2026-10-28.
  • ▸ Download counts: npm and PyPI public APIs where a package is listed.
  • ▸ Official / Reference labels follow MCPNav's verified brand table (each verified against the publisher's own repository and documentation).

Last verified: 2026-10-28. Entries change as the underlying data changes; archived repositories are excluded.