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, run this command in your terminal:
npx --yes -p @dylibso/mcpx@latest install --client cursor --url "<sse-url>"
Get SSE url
To get an SSE url, choose a profile over on your profiles page
and click the SSE
button. It will also generate the whole command for you there.
Manual Install / Local
- Install Cursor
- Open it up and create your account and connect to a model provider
- Open
Cursor
->Settings
->Cursor Settings
->Mcp
Add new global MCP Server
- 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.
- Save the file. Go back to the
Cursor Settings
tab. You should see mcpx listed and the dot should go green. - Open
Composer
view and toggle fromnormal
toagent
(small text on bottom of input) - Ask "log me into mcp.run" to authenticate
mcpx
to mcp.run - 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.