Cursor's agent (cursor-agent CLI) through MCP: any model your plan offers, resumable sessions.
Connect Runs on your machine
claude mcp add cursor-mcp -e CURSOR_MAX_CONCURRENCY=<CURSOR_MAX_CONCURRENCY> -e CURSOR_ALLOW_YOLO=<CURSOR_ALLOW_YOLO> -e CURSOR_SANDBOX=<CURSOR_SANDBOX> -e CURSOR_KILL_GRACE_MS=<CURSOR_KILL_GRACE_MS> -- npx -y @qmediat.io/[email protected]
{
"mcpServers": {
"cursor-mcp": {
"command": "npx",
"args": [
"-y",
"@qmediat.io/[email protected]"
],
"env": {
"CURSOR_MAX_CONCURRENCY": "<CURSOR_MAX_CONCURRENCY>",
"CURSOR_ALLOW_YOLO": "<CURSOR_ALLOW_YOLO>",
"CURSOR_SANDBOX": "<CURSOR_SANDBOX>",
"CURSOR_KILL_GRACE_MS": "<CURSOR_KILL_GRACE_MS>"
}
}
}
}
{
"mcpServers": {
"cursor-mcp": {
"command": "npx",
"args": [
"-y",
"@qmediat.io/[email protected]"
],
"env": {
"CURSOR_MAX_CONCURRENCY": "<CURSOR_MAX_CONCURRENCY>",
"CURSOR_ALLOW_YOLO": "<CURSOR_ALLOW_YOLO>",
"CURSOR_SANDBOX": "<CURSOR_SANDBOX>",
"CURSOR_KILL_GRACE_MS": "<CURSOR_KILL_GRACE_MS>"
}
}
}
}
{
"servers": {
"cursor-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@qmediat.io/[email protected]"
],
"env": {
"CURSOR_MAX_CONCURRENCY": "<CURSOR_MAX_CONCURRENCY>",
"CURSOR_ALLOW_YOLO": "<CURSOR_ALLOW_YOLO>",
"CURSOR_SANDBOX": "<CURSOR_SANDBOX>",
"CURSOR_KILL_GRACE_MS": "<CURSOR_KILL_GRACE_MS>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
CURSOR_MAX_CONCURRENCYOptional | Maximum concurrent cursor-agent processes: a positive integer; anything else is the default 3. |
CURSOR_ALLOW_YOLOOptional | Set to `true` to run cursor-agent with --force (auto-approve every tool call) in cursor_agent and cursor_reply. DANGEROUS — trusted environments only. Never exposed as a tool parameter. |
CURSOR_SANDBOXOptional | `enabled` or `disabled`, passed to cursor-agent as --sandbox <mode>: confines what an auto-approved agent may run. Unset leaves the CLI's default; any other value ends the server at startup. |
CURSOR_KILL_GRACE_MSOptional | After SIGTERM (timeout or cancellation), a child still alive this long is sent SIGKILL. A positive integer of milliseconds; default 5000. |
Details
| Package | @qmediat.io/[email protected] (NPM, stdio) |
| First published | 6 Oct 2026 |
| Last updated | 6 Oct 2026 |
| Registry name | io.github.qmediat/cursor-mcp |
More ai and media servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
