AGENTIC COMMONSAI industry briefings

繁中EN

TopicAI Coding & Developer ToolsPublished

All English articles

Best MCP Servers for Claude Code and Codex in 2026 (Tried and Tested)

Summary: Rhys Hanak’s 2026 Firecrawl ranking compares 12 MCP servers for Claude Code and Codex and supplies install commands for both CLIs. It positions MCP as the shared interface that replaces separate client-tool integrations, citing more than 17,000 public servers. Firecrawl MCP is the standout because its Developer Index searches over 70 million developer artifacts and ranked first on the DevDex benchmark.

Claude Code and Codex are quick, file-editing CLIs whose base installs stay quiet on purpose. Read a file, edit a file, run a shell command—that is the entire surface. The moment you want either one to pull real docs, hit a real browser, or check a real deployment, MCP servers are what you are missing.

Rhys Hanak, who works at Firecrawl and moves between the two CLIs every day, assembled a tried-and-tested ranking of the best MCP servers for Claude Code and Codex in 2026. The post is CLI-first: it repeats every install command twice, one for claude mcp add and one for codex mcp add, and includes the exact JSON and TOML config snippets.

What MCP actually solves

MCP (Model Context Protocol) is an open standard from Anthropic. It gives an AI client one shared interface for reaching external tools and data sources. Before MCP, each pairing of client and tool needed its own integration—GitHub had to be wired up separately for Claude, Cursor, ChatGPT, and VS Code. Anthropic named that the “N x M problem.” A single JSON-RPC 2.0 protocol is what MCP puts in its place.

Since Anthropic released MCP in November 2024, the ecosystem has reached more than 17,000 publicly listed servers on mcp.so. OpenAI adopted MCP for Codex in early 2025, Google DeepMind followed suit, and in December 2025 the standard was donated to the Linux Foundation’s Agentic AI Foundation. Zuplo’s State of MCP survey found 72% of users expecting their MCP usage to grow over the next 12 months, 70% already running 2 to 7 servers simultaneously, and 49% naming developer productivity as the primary ROI.

The config difference between Claude Code and Codex

Both CLIs handle the two transports that cover 99% of servers: stdio (a local subprocess) and HTTP (remote, usually with OAuth). Claude Code goes further and also supports SSE and WebSocket; Codex limits itself to stdio and HTTP.

Where the config lives also diverges. Claude Code stores JSON under a top-level mcpServers object in ~/.claude.json (user scope) or .mcp.json (project scope). Codex stores TOML under [mcp_servers.<name>] tables in ~/.codex/config.toml. Hanak flags two gotchas: in Claude Code, a remote server entry that carries a url but no type counts as a config error, and Codex skips misnamed sections without complaint—the table has to be mcp_servers, not mcp.servers.

Hand-editing files is seldom necessary, because each CLI writes the config itself:

# Claude Code, remote HTTP with OAuth
claude mcp add --scope user --transport http firecrawl https://mcp.firecrawl.dev/v2/mcp-oauth

# Codex, remote HTTP with OAuth
codex mcp add firecrawl --url https://mcp.firecrawl.dev/v2/mcp-oauth
codex mcp login firecrawl

Codex separates registration from authentication: codex mcp add writes the config, and then codex mcp login <name> opens the browser to finish OAuth. Claude Code instead triggers OAuth inline on first use. Inside either CLI, /mcp shows every configured server, whether it is connected, and which tools it exposes.

The server that stands out: Firecrawl MCP

Hanak’s top pick is Firecrawl MCP, which exposes Firecrawl’s web context stack—Search, Scrape, Parse, Crawl, Map, Interact, Agent, and Monitor—so Claude Code and Codex can both call each endpoint directly. Out of the box, neither CLI has a dependable route to the live web: shelling out to curl returns raw HTML, gets blocked on most modern sites, and cannot render JavaScript.

What makes this MCP different for coding agents is firecrawl_developer_search. It queries the Firecrawl Developer Index, a semantic index over 70M+ developer artifacts refreshed daily: READMEs, GitHub issues, pull requests, OpenAPI specs, changelogs, and external docs sites. The index ranked #1 overall on the DevDex benchmark, which scores how often a tool returns the artifact an agent actually needs. In practice that means fewer hallucinated APIs and answers that cite a real PR or issue instead of a plausible-sounding paragraph.

Installation is straightforward, with both keyless and OAuth routes available:

# Claude Code, keyless (Search / Scrape / Parse only, rate-limited per IP)
claude mcp add --scope user --transport http firecrawl https://mcp.firecrawl.dev/v2/mcp

# Codex, keyless
codex mcp add firecrawl --url https://mcp.firecrawl.dev/v2/mcp

Hanak is candid about his own usage: “This is the one MCP I refuse to work without in either Claude Code or Codex.” Thanks to the keyless endpoint, a teammate can be searching the live web thirty seconds after a Firecrawl URL reaches their hands. The main con: extracting web data at scale drains Firecrawl credits fast, so demanding crawl or agent workloads need a higher-tier plan.

The rest of the list, briefly

The full post works through 12 servers, each handling a specific job that neither CLI can do out of the box. Among the highlights: Playwright MCP for browser automation via the accessibility tree, Chrome DevTools MCP for console and network traces on a running app, GitHub MCP for PRs and cross-repo code search, Linear MCP for tickets and cycles from the terminal, Vercel MCP for build logs and deploys, Sentry MCP for full error context, and Sequential Thinking MCP for structured, revisable reasoning on hard problems.

Where two servers covered the same job, Hanak kept the one with the cleaner surface and the more permissive auth story. Every install block lists the command for both CLIs, so the same open protocol can be wired into whichever agent you happen to be using that day.

Sources

AGENTIC COMMONSOperated by PHLEGON LABS
ShareXEmail
Support us

Related reading

  1. Twelve Cursor Plugins Worth Your First Install

    Cursor's marketplace passed a year old in 2026; here's what a curated twelve-plugin setup actually adds to your agent.

    Cursor

  2. Claude Code Is More Than a Terminal: How Artifacts, Auto Mode, and /Design Made It a Platform

    From June's artifacts beta to August's auto-mode default and self-hosted beta, Claude Code became a collaboration platform in two months. The official timeline and what it signals for agent products.

    Claude Code

  3. Claude Code Remote Control: Phone Drives Your Local Agent

    Anthropic shipped Claude Code Remote Control on Feb 24: a local agent session you drive from web or phone. Design details, security model, and Simon Willison's field-tested rough edges.

    Claude Code