Skip to main content

Cursor

Cursor is an AI code editor and MCP client that supports easily connecting to your MCP.run tools.

Video

Quick Install / Remote

For a quick, automated setup, click "Connect" on your profile of choice and click on the "Cursor" tab. Then push the install button. After installing click "Needs login" to authenticate the profile.

Manual Install / Local

  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.