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

Anysphere · Cursor editor · Cursor CLI

Cursor

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

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.

Instructions live in .cursor/rules/*.mdc files with description, globs and alwaysApply frontmatter, or in plain AGENTS.md, including nested AGENTS.md files in subdirectories. A plain .md file inside .cursor/rules is ignored.

Sources (checked Oct 16, 2026): cursor.com/docs/mcp · cursor.com/docs/rules · AGENTS.md vs CLAUDE.md vs Cursor rules →

Add an MCP server to Cursor

Uses the "mcpServers" key. Remote servers take a "url" (plus optional "headers").

Guides, pricing & comparisons