Free toolGenerate .mcp.json configs for Claude Code, Cursor & Codex →

Compiled from official documentation, checked

Claude Code vs OpenAI Codex: documented features compared

Short answer

Both are agentic coding tools with a CLI, IDE integration and a desktop app, and both document support for local and remote MCP servers with OAuth, skills and plugins. Claude Code is at 2.1.330 with Opus 5.5 as the default model, and Codex CLI is at rust-v0.171.0 with GPT-6.2 Sol as the default. The clearest documented differences are the instruction file (Codex is built around AGENTS.md, Claude Code around CLAUDE.md), where MCP config lives, how plans are packaged, and sandbox and approval behavior. From December 2026, ChatGPT and Codex will share one token-based usage allowance on Plus, Pro and Business plans.

How this comparison was made: we have not run hands-on tests or benchmarks of either agent. Every row summarises the vendor’s own documentation and links to it. Prices are list prices as published on the date above and can change.
Claude CodeOpenAI Codex
Surfaces Terminal CLI, VS Code and JetBrains extensions, desktop app source Codex CLI, IDE extension, ChatGPT desktop app, Codex cloud, iOS source
Version and default model 2.1.330 (November 20, 2026); Opus 5.5 is the default model, with Fable 5.2, Sonnet 5.5 and Haiku 5.5 source rust-v0.171.0 (November 20, 2026); GPT-6.2 Sol is the default catalog selection, with GPT-6.2 Astra for the hardest projects source
Add an MCP server claude mcp add (use --transport http for remote servers); claude mcp add-json reads server JSON from stdin (2.1.327+) source codex mcp add <name> -- <command>, or --url for Streamable HTTP source
MCP config location .mcp.json (project) or ~/.claude.json (user/local) source ~/.codex/config.toml, or .codex/config.toml in trusted projects source
Remote MCP auth OAuth sign-in from /mcp inside a session source Bearer tokens and OAuth (codex mcp login), incl. CIMD and dynamic client registration source
Instruction file CLAUDE.md; reads AGENTS.md only when no CLAUDE.md exists (v2.1.277+), or via an @AGENTS.md import. A Project instructions setting can also read both files together source AGENTS.md: global ~/.codex/AGENTS.md plus one file per directory, 32 KiB default cap source
Plugins and skills Plugin marketplaces (official claude-plugins-official) and SKILL.md skills; both tools support Agent Plugins 1.0 source Plugins can bundle MCP servers and skills in one directory; Agent Plugins 1.0 support arrived in v0.147.0 source
Sandbox and approvals Six permission modes (Manual, Accept edits, Plan, Auto, Do not ask, Bypass permissions); Auto is the starting mode from 2.1.283. Sandbox is OS enforced: Seatbelt on macOS, bubblewrap on Linux and WSL2 source Three sandbox modes (read-only, workspace-write, danger-full-access); workspace-write is the default. Approval policy is on-request or never, plus Approve for me, which sends approvals to a reviewer agent source
Individual pricing Included in paid plans: Pro $20/mo, or $17/mo billed annually; Max $100/mo, 5x Pro usage, $100/mo API credits; Ultra $200/mo, 10x Pro weekly usage, $200/mo API credits. Ultra is the renamed Max 20x tier (October 30, 2026). Or pay-as-you-go API usage via a Console account source Included in ChatGPT plans: Free and Go give GPT-6 Luna in the desktop app; Plus adds Codex in the CLI, IDE extension, web and iOS; Pro and Business add more, with Pro in three tiers. From December 2026, Plus, Pro and Business share one token-based usage allowance across ChatGPT and Codex. Or API-key usage at API rates. See the official pricing page for dollar amounts source

Which fits your setup?

Based on documented features, not our own testing. See how SaaS tools are supported in each: Claude tools · Codex tools

Full pricing details: Claude Code pricing, plans & limits · OpenAI Codex pricing, plans & limits

Related

AGENTS.md vs CLAUDE.md vs Cursor rules

→

How to add an MCP server to Codex

→

Codex sandbox modes and approval policies explained

→

How to install Claude Code on macOS, Linux and Windows

→

How to install the OpenAI Codex CLI

→

Claude Code auto mode: what runs, what gets blocked, how to turn it off

→

Claude Code in VS Code: install, shortcuts and CLI differences

→

What is AGENTS.md? The open instruction file for coding agents

→

Claude Code on Windows: native, WSL and common errors

→

Codex skills: create, install and use SKILL.md skills in Codex

→

GPT-6.1 Terra in Codex and the API: setup, pricing and limits

→

Codex config.toml: location, precedence and the settings to change

→

Codex on Windows: native sandbox setup, WSL and fixes

→

Claude Code tips from Anthropic’s best practices

→

Claude Code with OpenRouter: setup, models and troubleshooting

→

Claude Code in JetBrains IDEs: install, connect and fix issues

→

Claude Code subagents: create, configure and run them

→

CLAUDE.md examples: instructions your team can actually use

→

MCP token usage: output limits and context cost

→

Cursor vs Claude Code: documented features compared

→

Claude Code vs GitHub Copilot: documented features compared

→

OpenAI Codex vs Cursor: documented features compared

→

Cursor vs GitHub Copilot: documented features compared

→

Google Antigravity vs Claude Code: documented features compared

→

OpenAI Codex vs GitHub Copilot: documented features compared

→

Google Antigravity vs Cursor: documented features compared

→

MCP config generator for every agent

→

Frequently asked questions

We have not run hands-on tests, so we do not rank them. According to their documentation, both support MCP (local, and remote with OAuth), skills and plugins. Choose on instruction-file conventions, where you already pay, and which vendor plugins your stack uses.

Sources