Free toolGenerate .mcp.json configs for Claude Code, Cursor & Codex →
✦ 5 agents · checked against official docs Oct 16, 2026

Every AI coding agent, side by side

Where each agent keeps its MCP config, which instruction files it reads, and how many SaaS tools we have verified in it. Pick one to see setup steps and the tools that work best.

AgentMCP configRules filesSkillsUsed by*Tools verified
C Claude Code .mcp.json (project, shared)~/.claude.json (user / local scope) CLAUDE.md.claude/rules/*.md .claude/skills/, ~/.claude/skills/ 65.5% 104 / 107
X OpenAI Codex ~/.codex/config.toml (user).codex/config.toml (project, trusted projects only) AGENTS.mdAGENTS.override.md .codex/skills/ 29.5% 16 / 107
▲ Cursor .cursor/mcp.json (project)~/.cursor/mcp.json (global) .cursor/rules/*.mdcAGENTS.md.cursorrules (legacy) .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/ 25.5% 22 / 107
G GitHub Copilot .vscode/mcp.json (workspace; labeled deprecated in the guided flow, still supported)User-profile mcp.json (same label).mcp.json at the workspace root (portable, mcpServers; experimental in MCP: Add Server) .github/copilot-instructions.md.github/instructions/*.instructions.mdAGENTS.md — 58.7% 16 / 107
A Google Antigravity ~/.gemini/config/mcp_config.json (global).agents/mcp_config.json (workspace) AGENTS.mdGEMINI.md.agents/rules/*.md .agents/skills/, ~/.gemini/config/skills/ 16% 14 / 107

*Share of developers who used it, Stack Overflow Developer Survey 2026. Config paths from each vendor’s docs; see each agent page for sources. How we rate

Which is the best AI for coding?

It depends on where you write code, not on a leaderboard. Every agent below can plan a task, edit files, run commands and call external tools over MCP. They differ in where they run, which instruction files they read and how you wire up tools. We do not publish benchmark scores or an overall ranking. We publish facts you can check, each linked to the vendor’s own documentation.

How we rate AI coding agents

  1. Official docs only. Every config path, rules file and skills folder comes from the vendor’s documentation, linked on each agent page with the date we checked it.
  2. No overall winner. We do not score the agents themselves. We score SaaS tools per agent (1–5) on official MCP servers, OAuth for remote connections, official plugins or skills and documented setup.
  3. Usage from a public survey. The “Used by” column is the share of developers who used each tool in the Stack Overflow Developer Survey 2026. It weights our Agent-Ready score and tells you which agents vendors support first.
  4. Re-checked monthly. Agents change fast. We re-verify each agent every month and never fill gaps with guesses. Full rules are on our methodology page.

The five AI coding agents, in brief

C Claude Code

Anthropic’s agentic coding tool. Runs in your terminal, IDE and desktop app, with plugins, MCP servers and skills.

Runs in
Terminal CLI, VS Code & JetBrains extensions, Desktop app, Web
Reads AGENTS.md
Only when no CLAUDE.md / CLAUDE.local.md exists (default, v2.1.277+); or import it with @AGENTS.md
MCP config
.mcp.json (project, shared); ~/.claude.json (user / local scope)
Skills
.claude/skills/, ~/.claude/skills/
Used by
65.5% of developers (Stack Overflow Developer Survey 2026)

Claude Code connects to SaaS tools through MCP servers (claude mcp add, then /mcp to sign in), plugins that bundle MCP servers, skills, hooks and subagents into one install, and skills (SKILL.md files that load only when relevant). Anthropic runs the official claude-plugins-official marketplace, and vendors can publish their own.

Sources: code.claude.com, code.claude.com · checked Nov 2, 2026 · Full Claude Code guide

X OpenAI Codex

OpenAI’s coding agent, shared across the Codex CLI, IDE extension and ChatGPT desktop app.

Runs in
Codex CLI, IDE extension, ChatGPT desktop app
Reads AGENTS.md
Yes: global ~/.codex/AGENTS.md plus one AGENTS.md (or AGENTS.override.md) per directory from the repo root down
MCP config
~/.codex/config.toml (user); .codex/config.toml (project, trusted projects only)
Skills
.codex/skills/
Used by
29.5% of developers (Stack Overflow Developer Survey 2026)

The Codex CLI, IDE extension and ChatGPT desktop app share one MCP configuration in ~/.codex/config.toml, or a project .codex/config.toml in trusted projects. Add servers with codex mcp add <name> -- <command> for stdio or --url for Streamable HTTP. Codex supports bearer tokens and OAuth (codex mcp login <name>), and plugins can bundle MCP servers and skills.

Sources: developers.openai.com · checked Oct 16, 2026 · Full OpenAI Codex guide

▲ Cursor

The AI-first code editor (a VS Code fork) with an agent mode, rules files and MCP support.

Runs in
Cursor editor, Cursor CLI
Reads AGENTS.md
Yes, in the project root and in subdirectories (nested files combine)
MCP config
.cursor/mcp.json (project); ~/.cursor/mcp.json (global)
Skills
.cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Used by
25.5% of developers (Stack Overflow Developer Survey 2026)

Cursor supports MCP over stdio, SSE and Streamable HTTP, with OAuth for remote servers. Configure servers in .cursor/mcp.json (project) or ~/.cursor/mcp.json (global), or install official plugins from the Cursor Marketplace with Add to Cursor. Remote servers that need a fixed OAuth client take an auth block in mcp.json.

Sources: cursor.com, cursor.com · checked Oct 16, 2026 · Full Cursor guide

G GitHub Copilot

GitHub’s assistant. Agent mode in VS Code supports MCP servers configured in mcp.json.

Runs in
VS Code agent mode, JetBrains, Visual Studio & others, Copilot CLI, Copilot coding agent (github.com)
Reads AGENTS.md
Yes on most surfaces (cloud agent, CLI, VS Code chat, code review); not Copilot Chat on GitHub.com
MCP config
.vscode/mcp.json (workspace; labeled deprecated in the guided flow, still supported); User-profile mcp.json (same label); .mcp.json at the workspace root (portable, mcpServers; experimental in MCP: Add Server)
Skills
No skills folder documented
Used by
58.7% of developers (Stack Overflow Developer Survey 2026)

In VS Code, Copilot agent mode reads MCP servers from .vscode/mcp.json (top-level servers key) or the portable workspace-root .mcp.json (mcpServers). MCP: Add Server only offers .mcp.json when the experimental chat.mcp.workspaceRootConfig.enabled setting is on, and its guided flow labels .vscode/mcp.json and the user-profile mcp.json deprecated, though they still work. You can also install servers from the GitHub MCP Registry or with code --add-mcp. Copilot CLI uses ~/.copilot/mcp-config.json, .mcp.json or .github/mcp.json and adds servers with /mcp add or copilot mcp add. It does not read .vscode/mcp.json.

Sources: code.visualstudio.com · checked Nov 2, 2026 · Full GitHub Copilot guide

A Google Antigravity

Google’s agent-first IDE and CLI. It replaced Gemini CLI for consumers in June 2026.

Runs in
Antigravity IDE, Antigravity CLI (replaced Gemini CLI), Antigravity app
Reads AGENTS.md
Yes: AGENTS.md or GEMINI.md at any directory level, always on
MCP config
~/.gemini/config/mcp_config.json (global); .agents/mcp_config.json (workspace)
Skills
.agents/skills/, ~/.gemini/config/skills/
Used by
16% of developers (Stack Overflow Developer Survey 2026)

The Antigravity app, IDE and CLI (agy) share one MCP config: ~/.gemini/config/mcp_config.json globally, or .agents/mcp_config.json per workspace. Remote servers use Streamable HTTP with the serverUrl key (url also works); the httpUrl key from the old Gemini CLI and legacy HTTP+SSE are not supported. The config supports headers, OAuth client credentials and Google ADC, and the IDE has a built-in MCP Store.

Sources: antigravity.google, www.antigravity.google · checked Nov 2, 2026 · Full Google Antigravity guide

Questions about AI coding agents

What is the best AI for coding?

There is no single best AI for coding. The five agents we track (Claude Code, Codex, Cursor, GitHub Copilot and Antigravity) can all edit code, run commands and connect to tools over MCP. The right pick depends on where you work: the terminal, a VS Code fork, GitHub, or Google's IDE. We compare what each one reads and supports, with links to the vendor docs.

What is the difference between an AI coding agent and an AI coding assistant?

An assistant suggests code or answers questions while you drive. An agent takes a task, plans it, edits files and runs commands on its own, then reports back. All five tools on this page now ship an agent mode or agent surface alongside their chat and completion features.

Which AI coding agent do most developers use?

In the Stack Overflow Developer Survey 2026, Claude Code was used by 65.5% of respondents, GitHub Copilot by 58.7%, Codex by 29.5%, Cursor by 25.5% and Antigravity by 16%. Usage is not quality, but it tells you which tools vendors are most likely to support first.

Do these agents share the same config files?

Partly. All five read AGENTS.md in some form (Claude Code only when no CLAUDE.md exists). MCP config does not transfer as-is: Claude Code, Cursor and Antigravity use an mcpServers JSON object, VS Code uses a servers key, and Codex uses [mcp_servers] tables in TOML. Our MCP config generator writes the right format for each.

How do you rate AI coding agents?

We do not give agents an overall score. We check each agent against its official docs, record where it keeps MCP config, which rules files it reads and whether it supports skills, and re-check every month. Tools get per-agent scores of 1 to 5, and each score links to its source and the date we checked.

Comparing two agents head to head? See our agent comparisons.

MCP config generator

Pick a server and your agents. Get the exact JSON, TOML or CLI command for each one, with the right keys.

Rules-file converter

Write your project rules once. Get AGENTS.md, CLAUDE.md, a Cursor .mdc rule and copilot-instructions.md.