Cursor

by Anysphere

MCP Client Featured Verified
  • IDE & Code Editors
  • macOS
  • Windows
  • Linux
  • #ide
  • #coding
  • #agent
  • #mcp

AI-native code editor with deep Model Context Protocol support for tool-using agents.

About

Cursor is an AI-first code editor built for pair-programming with models. It supports the Model Context Protocol so agents can call external tools — databases, browsers, docs, APIs — without leaving your project.

Use MCP servers to give Cursor live context: search your codebase, hit internal APIs, manage tickets, or run browser automation while you code.

Highlights

  • Native MCP tool calling inside the editor agent
  • Project-level and global MCP server configs
  • Works with stdio and remote MCP transports
  • Great for repo-aware coding with external tools

Details

Author
Anysphere
Category
IDE & Code Editors
Platforms
macOS, Windows, Linux
Website
cursor.com
Docs
Official docs
Repository
getcursor/cursor
Config path
~/.cursor/mcp.json (global) or .cursor/mcp.json (project)

Enable MCP in Cursor

Config file: ~/.cursor/mcp.json (global) or .cursor/mcp.json (project)

  1. Open Cursor Settings (Cmd/Ctrl + ,) and go to MCP
  2. Click “Add new Global MCP server” (or edit the JSON file)
  3. Paste a server config using the example shape below
  4. Save — Cursor starts the server and lists its tools in chat/agent

Note: Project configs in `.cursor/mcp.json` override or extend your global servers for that repo.

Example MCP config

{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/allowed"]
    }
  }
}

Looking for servers to connect? Browse MCP servers for Cursor