Agents & Workflows
How to Set Up MCP in Cursor
MCP (Model Context Protocol) lets Cursor's agent call external tools and pull in context from outside your repo - Jira, Postgres, docs and more. You install a server with one click from the Cursor Marketplace, or add it yourself in Settings → Tools & MCP or a .cursor/mcp.json file with a command or URL. Most setup problems are a bad command/path or too many tools enabled.
On this page
What is MCP in Cursor?
MCPModel Context Protocol. A standard that lets an AI agent pull in context from outside the repo, like Jira tickets or internal docs. Press Enter for the full definition. is an open standard for connecting AI agents to external tools and data sources. In Cursor, an MCP server exposes tools (query a database, read a ticket, call an API) that the agent can use mid-task - so it isn't limited to your codebase.
The practical framing from people who use this daily: MCPModel Context Protocol. A standard that lets an AI agent pull in context from outside the repo, like Jira tickets or internal docs. Press Enter for the full definition. servers are how you connect Cursor to your internal knowledge bases. Think in two buckets. Personal MCPs are tools only you use (Figma, a meeting-notes service like Granola). Team MCPs are the shared systems your whole org reads from - your data warehouse (e.g. Databricks), your experiment platform (e.g. Statsig), your backend services. Once an MCP is connected you can even steer a confused agent back on track mid-run by telling it which one to use, like "use the Databricks MCP."
One Cursor growth engineer keeps her personal MCPs pointed at Figma and her notes tool, and her team MCPs pointed at the company database, the experiment platform, and the backend services.
MCPModel Context Protocol. A standard that lets an AI agent pull in context from outside the repo, like Jira tickets or internal docs. Press Enter for the full definition. servers are a great way to actually connect Cursor to your internal knowledge bases.
Connecting a server is not free from the agent's side, and the two-bucket framing leaves that out. Every enabled tool is another option the model weighs on each turn, and Cursor's own advice for an agent that keeps reaching for the wrong thing is to trim the enabled set back to what you need. Keep the personal bucket small, and switch team servers on for the work that uses them instead of leaving all of them lit.
This is covered hands-on in Agent Mode Foundations — 6 short modules, free to read.
How do I add an MCP server to Cursor?
You point Cursor at the server, give it any keys it needs, and confirm its tools show up. Add it in Settings → Tools & MCPModel Context Protocol. A standard that lets an AI agent pull in context from outside the repo, like Jira tickets or internal docs. Press Enter for the full definition. or write a .cursor/mcp.json in your project; a global ~/.cursor/mcp.json covers every project, and the project file wins when names clash. A local server gets a command to launch; a hosted one gets a URL.
- 1Open Cursor Settings → Tools & MCPModel Context Protocol. A standard that lets an AI agent pull in context from outside the repo, like Jira tickets or internal docs. Press Enter for the full definition. (or create a
.cursor/mcp.jsonin your project). - 2Add the server: a command (stdio, e.g.
npx -y some-mcp-server) or a remote URL (streamable HTTP or SSE). - 3Provide any required env vars / API keys - marketplace remote servers can authenticate with OAuth instead.
- 4Reload; toggle the server on and confirm its tools show as enabled.
- 5Ask the agent to use a tool - by default it requests approval before calling it.
{
"mcpServers": {
"example": {
"command": "npx",
"args": ["-y", "@example/mcp-server"],
"env": { "API_KEY": "..." }
}
}
}Which of the two files you write it into deserves a moment of thought. A global ~/.cursor/mcp.json follows you into every project, and the project file wins when both define the same server name, so a global entry can sit there being shadowed while you edit it and wonder why nothing changes. The project file also sits inside the repository, so an API key pasted into env is one commit away from travelling with every clone. Marketplace remote servers authenticate over OAuth instead and sidestep that question.
Which MCP servers do people actually connect?
The most useful MCPs are the systems your team already lives in. A few that show up again and again, with the workflow each one enables:
Name the MCP servers before you approve another
0:20 · narratedRead this demo as text
- Tools and MCPs is where connected servers live. Mobbin, PostHog, Railway — each row is a real capability boundary. Name the tool you need before you approve another server.
Practice next: Practice this yourself in the hands-on module.
Simulated Cursor 3.12 (macOS, light) — beta educational reconstruction, not the real product.
- MCP
- Linear
- What the agent can do
- Read tickets, comment, and create tickets and projects - use Cursor as a Linear front-end.
- MCP
- Datadog
- What the agent can do
- Sift logs, compare timestamps, and resolve findings against the code to investigate a production issue.
- MCP
- Slack
- What the agent can do
- Fetch context from a thread and post messages back.
- MCP
- Notion
- What the agent can do
- Query an internal knowledge base.
- MCP
- Figma
- What the agent can do
- Read a design system's tokens and publish components back out (see the round-trip below).
- MCP
- Jira / Confluence
- What the agent can do
- Query those knowledge bases from Ask modeA read-only mode for asking questions about a codebase without changing files; the safe way to explore unfamiliar or legacy code. Press Enter for the full definition. through a community server.
| MCP | What the agent can do |
|---|---|
| Linear | Read tickets, comment, and create tickets and projects - use Cursor as a Linear front-end. |
| Datadog | Sift logs, compare timestamps, and resolve findings against the code to investigate a production issue. |
| Slack | Fetch context from a thread and post messages back. |
| Notion | Query an internal knowledge base. |
| Figma | Read a design system's tokens and publish components back out (see the round-trip below). |
| Jira / Confluence | Query those knowledge bases from Ask modeA read-only mode for asking questions about a codebase without changing files; the safe way to explore unfamiliar or legacy code. Press Enter for the full definition. through a community server. |
Official plugins live in the Cursor Marketplace; the rest are community servers. None are built into the editor itself.
Point the agent at a project and let it triage one ticket at a time. For each ticket it pulls the ticket context, jumps to the code, checks git history for relevant commits, decides whether the problem still exists, updates the comments, and surfaces open questions back to you. Hours of manual triage, run as one task.
You can actually just have Cursor agent go one by one and determine: has the problem in this ticket actually been solved.
Datadog has a Cursor / VS Code extension that also installs its MCPModel Context Protocol. A standard that lets an AI agent pull in context from outside the repo, like Jira tickets or internal docs. Press Enter for the full definition.. Once it's plugged in, hand the agent a user ID or a wrong-data symptom and it sifts logs, compares timestamps, and returns an analysis that's often more thorough than you'd do by hand. It's also a far more ergonomic interface than the Datadog UI.
I use the Datadog MCPModel Context Protocol. A standard that lets an AI agent pull in context from outside the repo, like Jira tickets or internal docs. Press Enter for the full definition. extremely heavily.
Cursor now ships a marketplace of official plugins - Jira included. Hit Add to Cursor on a listing and the server installs without hand-written config; remote servers authenticate with OAuth instead of pasted API keys. Enterprise admins can distribute a curated set through a team marketplace.
To see what's available, browse the Cursor Marketplace for official plugins first, then cursor.directory for community servers - between them, that's the discovery surface for checking whether a given tool (Excalidraw, Lucidchart, whatever) has a server.
How does the Figma round-trip work?
The Figma MCPModel Context Protocol. A standard that lets an AI agent pull in context from outside the repo, like Jira tickets or internal docs. Press Enter for the full definition. runs both directions, which is why designers reach for it. Inbound, you paste a Figma file link into the prompt - "use the design system at this link to inform the design of my dashboard" - and Cursor reads the tokens, typography, colors, and variable definitions, takes screenshots, and applies them to your live code. Outbound, you select a rendered component in design mode, ⌘L it into chat, and say "publish this component back to Figma" with the target file link. Cursor recreates it there with the same colors, fonts, and width, split into proper layers; the published-back layers show up in purple.
Interactive diagram. Step through it with the Next and Previous controls below, or Tab to a region to read its detail.
Design system into Cursor, prototype, then publish components back to a shareable Figma file.
I'm able to get context from Figma into Cursor, and then I'm able to get anything that I prototype or I build in Cursor back to Figma. And so, it's this beautiful dance.
Why does my MCP server show 'no tools found'?
Almost always it means the server never started. The usual culprits are a bad command or path, a missing API key, or a stdio/remote mismatch. Run the exact command in a terminal first to see it start before you blame Cursor.
- The command/path is wrong or the package isn't installed - test it in a terminal first.
- Missing env vars / API keys so the server fails to start.
- stdio vs remote mismatch - a remote server needs a URL, not a command.
- Too many tools enabled across servers - trim to what you need so the agent isn't overwhelmed.
- Still stuck? Open the Output panel (⌘Ctrl⇧U) and pick MCPModel Context Protocol. A standard that lets an AI agent pull in context from outside the repo, like Jira tickets or internal docs. Press Enter for the full definition. Logs - the server's startup errors land there.
Frequently asked questions
What's the difference between stdio and remote MCP servers?
A stdio server runs locally as a command Cursor launches; a remote server is hosted and connected with a URL over streamable HTTP or SSE. Use stdio for local tools, remote for shared/hosted ones.
Why isn't my MCP server connecting in Cursor?
Most often the start command fails - wrong path, missing dependency or a missing API key. Run the exact command in a terminal to confirm it starts, then check the env vars in your MCP config.
Can I limit which MCP tools the agent uses?
Yes - enable only the servers and tools you need. Fewer, relevant tools produce more reliable agent behavior than a large, noisy tool list.
Sources & last verified
Cursor ships frequently. Last updated July 28, 2026.
Keep reading
Rather do it than read about it? Run 11 interactive Cursor walkthroughs in a simulated editor. Free, no account needed.