Best MCP Servers for Cursor IDE
Cursor has solid built-in AI capabilities, but MCP servers extend it into tools and data sources it cannot reach on its own. Here are the most useful MCP servers for Cursor workflows, along with setup specifics.
Cursor MCP Configuration
Cursor reads MCP server config from .cursor/mcp.json in your project root. The format is the same as Claude Desktop:
{
"mcpServers": {
"server-name": {
"command": "npx",
"args": ["package-name"],
"env": {
"API_KEY": "your-key"
}
}
}
}
After saving the file, restart Cursor or reload the window. Servers appear in the tools panel. Now, here are the servers worth adding.
Playwright MCP — Browser Automation
microsoft/playwright-mcp gives Cursor the ability to control a browser. Navigate to URLs, click elements, fill forms, take screenshots, and read page content. This is transformative for frontend development — you can ask Cursor to check a page, verify a layout, or scrape reference content without leaving the editor.
{
"playwright": {
"command": "npx",
"args": ["@anthropic-ai/mcp-server-playwright"]
}
}
Works in both headless and headed mode. Use headed mode during development to watch the browser in real time.
GitHub MCP Server
github/github-mcp-server connects Cursor to the GitHub API. Create issues, review pull requests, search code across repositories, manage branches, and read repository contents. Built by GitHub, so API coverage is comprehensive.
{
"github": {
"command": "npx",
"args": ["@anthropic-ai/mcp-server-github"],
"env": {
"GITHUB_TOKEN": "ghp_your_token"
}
}
}
Especially useful for multi-repo workflows where you need context from other repositories while coding.
Filesystem Server
modelcontextprotocol/servers (filesystem) provides sandboxed file access beyond what Cursor's built-in file reading offers. It can search across files, move directories, and write files with explicit permission boundaries.
While Cursor already reads your project files, this server is valuable when you need to access files outside the current workspace — config files, logs, or data directories elsewhere on disk.
PostgreSQL MCP
crystaldba/postgres-mcp lets Cursor query your database directly. Instead of switching to a SQL client, ask Cursor to check a table schema, run a query, or analyze slow queries. It makes data-driven development seamless — write a migration, then immediately verify the result through conversation.
See the PostgreSQL setup guide for connection details.
Sentry MCP — Error Tracking
getsentry/sentry-mcp connects Cursor to your Sentry project. When debugging a production issue, Cursor can pull the stack trace, affected user count, and error frequency directly from Sentry. No more copy-pasting stack traces — the AI sees the error in full context alongside your code.
This is one of those servers that changes your debugging workflow permanently once you try it.
Brave Search MCP
modelcontextprotocol/servers (brave-search) enables web search from within Cursor. Look up documentation, find code examples, check API references, or research error messages — all without opening a browser tab. Requires a Brave Search API key (free tier available).
Memory MCP — Persistent Context
modelcontextprotocol/servers (memory) gives Cursor persistent memory across sessions using a local knowledge graph. Store architectural decisions, project conventions, API patterns, and other context that persists between conversations.
Cursor's context window resets between sessions. This server lets you build up project knowledge over time — store your preferred patterns, database schema notes, or deployment procedures once and have them available in every future session.
Sequential Thinking MCP
modelcontextprotocol/sequentialthinking adds structured reasoning to Cursor's AI. Instead of jumping straight to code, it works through problems step by step — analyzing requirements, considering edge cases, planning the approach, then implementing. Useful for complex refactoring, architecture decisions, and multi-step tasks where thinking before coding pays off.
Context7 MCP — Up-to-Date Documentation
upstash/context7 provides Cursor with current library documentation. Instead of relying on training data that may be outdated, this server fetches live docs for the libraries you are using. When you ask about a React hook or an Express middleware, the AI gets the actual current documentation, not a cached version from months ago.
Particularly valuable when working with fast-moving libraries where APIs change between versions.
Tips for Cursor MCP Setup
Start small. Add one or two servers and get comfortable before adding more. Each server adds tools to the AI's context, and too many can slow down tool selection.
Use project-level config. Keep .cursor/mcp.json in your project root rather than using a global config. Different projects need different servers — your frontend project needs Playwright, your backend project needs PostgreSQL.
Check the tools panel. After adding a server, open Cursor's tools panel to verify it loaded correctly. If a server does not appear, check the Cursor developer console for errors.
Environment variables. Store API keys in environment variables rather than hardcoding them in mcp.json. Use your shell profile or a .env file that Cursor can read.
Explore More
Browse the full catalog for servers that match your specific stack. Check trending servers to see what the community is adopting, or explore by language or category to find the right fit.
Related guides: Best MCP Servers for Databases — deep dive into database servers. MCP Servers for Browser Automation — Playwright vs cloud browsers. 10 Best MCP Servers in 2026 — our overall top picks.