MCP & Connectors

How do you add an MCP server to Cursor?

QUICK ANSWER

To add an MCP server to Cursor, navigate to Cursor Settings > Features > MCP, click + Add New MCP Server, choose the transport type (stdio or SSE), and insert your command or connection URL.

Steps to Add Server

  1. Open Cursor and open the preferences dashboard (Gear icon).
  2. Select the Features tab on the sidebar.
  3. Scroll down to the MCP section.
  4. Click + Add New MCP Server.
  5. Select type (e.g. stdio), name your server, and insert your execution command (e.g. npx @modelcontextprotocol/server-postgres).
  6. Save. Cursor Composer can now immediately access and use the registered tools.
Verified against: Cursor v0.45.0