🤖 AI Tools
· 1 min read

How to Use MCP with Cursor — Setup Guide


Cursor supports MCP for connecting to external tools and data sources. Here’s how to set it up.

Adding MCP servers

  1. Open Cursor Settings (Cmd+,)
  2. Navigate to the MCP section
  3. Click “Add Server”
  4. Enter the server command and arguments

Example: GitHub server

{
  "name": "github",
  "command": "npx",
  "args": ["@modelcontextprotocol/server-github"],
  "env": { "GITHUB_TOKEN": "ghp_..." }
}
ServerUse case
FilesystemProject file access
GitHubIssue/PR management
PostgresDatabase queries
Brave SearchDocumentation lookup
DockerContainer management

See our full list of 15 servers.

Cursor vs Claude Code for MCP

Both support MCP natively. Claude Code is terminal-based. Cursor is IDE-based. Same MCP servers work with both — they’re model-agnostic.

For security, review our MCP Security Checklist before adding servers with access to sensitive data.

Related: MCP + Claude Code Setup · Best MCP Servers · MCP Complete Guide