MCP servers for Cursor

Anysphere · IDE

How to add an MCP server

  • Cursor is an AI code editor.
  • Add servers to ~/.cursor/mcp.json for every project, or .cursor/mcp.json for one project, under mcpServers.
  • A local server has type: "stdio", command, args and env. A remote server has url and optional headers.
  • Write ${env:NAME} to read a value from your environment.
  • Vendor docs: Cursor MCP docs.

MCP servers that work with Cursor

Skills

  • Skills are folders containing a SKILL.md file. Cursor loads them from .agents/skills, .cursor/skills, ~/.agents/skills, or ~/.cursor/skills.
  • Copy the skill folder into one of these locations. The install snippet on a skill page copies it to ~/.cursor/skills.
  • Vendor docs: Cursor skills.