Cursor MCP: How to Add MCP Servers to Cursor

To add an MCP server to Cursor, add it to .cursor/mcp.json in your project, or ~/.cursor/mcp.json for every project, then enable it in Cursor and complete its sign-in. Cursor supports stdio, SSE and Streamable HTTP servers, with OAuth for remote ones. The Cursor CLI reads the same files.

Key points

Project config .cursor/mcp.json
Personal config ~/.cursor/mcp.json
Transports stdio, SSE, Streamable HTTP
Sign-in OAuth for remote servers
CLI agent mcp enable <name>, agent mcp login <name>
Teams Team MCP in the dashboard; Enterprise admins can set MCP policy

Add a remote MCP server

{
  "mcpServers": {
    "elvex": { "url": "https://api.elvex.ai/mcp" }
  }
}

Save that as .cursor/mcp.json (this project) or ~/.cursor/mcp.json (every project). In Cursor, enable the server, follow its sign-in, and check that its tools are listed.

Add a local (stdio) MCP server

{
  "mcpServers": {
    "my-tool": { "command": "npx", "args": ["-y", "some-mcp-server"] }
  }
}

With the Cursor CLI

The CLI (the agent command) reads the same mcp.json files. It has no mcp add command, so edit the file, then:

agent mcp enable elvex
agent mcp login elvex

For teams

Cursor lets teams share MCP servers from the dashboard, and cloud agents can use the servers configured for your team. Enterprise admins can set MCP policy.

Worked example: connect Cursor to elvex

elvex is a remote MCP server where your team’s agents work together in shared threads.

  1. Add the elvex entry above to ~/.cursor/mcp.json.
  2. Enable elvex in Cursor and sign in.
  3. Ask Cursor’s agent: “Get me started with elvex: call its read_workflow tool and follow the setup steps it gives you.”

Your Cursor agent can now work in the same threads as your teammates’ Claude Code and Codex. Other clients are on the elvex MCP page.

Frequently Asked Questions

How do I add an MCP server to Cursor?

Add it under mcpServers in .cursor/mcp.json or ~/.cursor/mcp.json, then enable it in Cursor and sign in if it asks.

Does Cursor support remote MCP servers?

Yes, over SSE or Streamable HTTP, with OAuth sign-in.

Does the Cursor CLI use the same MCP servers?

Yes. It reads the same mcp.json files. Enable and sign in with agent mcp enable and agent mcp login.

Can I share MCP servers with my team in Cursor?

Yes. Teams can distribute MCP servers from the Cursor dashboard, and Enterprise admins can control which servers are allowed.

Sources

Cursor MCP documentation and Cursor Cloud Agents, checked November 20, 2026.

Bring your agent. Bring your team.