Skip to main content

Cursor

Cursor is an AI code editor and it has MCP support.

Video

Steps

  1. Install Cursor
  2. Open it up and create your account and connect to a model provider
  3. Open Cursor -> Settings -> Cursor Settings -> Mcp
  4. Add new global MCP Server
  5. This will drop you into an editor of the JSON config. Fill in a value for the key mcpx:
{
"mcpServers": {
"mcpx": {
"command": "npx",
"args": ["-y", "@dylibso/mcpx"]
}
}
}
preserve existing servers

If there are any existing keys under mcpServer, don't delete them. Add mcpx to the end.

  1. Save the file. Go back to the Cursor Settings tab. You should see mcpx listed and the dot should go green.
  2. Open Composer view and toggle from normal to agent (small text on bottom of input)
  3. Ask "log me into mcp.run" to authenticate mcpx to mcp.run
  4. You can now use tools
Up to date instructions

If you get stuck, please refer to Cursor's guide as it should remain up to date.