Cursor MCP
An MCP server that allows AI agents to run Cursor's coding agent (cursor-agent CLI) from environments like Claude Code. It supports resumable sessions, input validation, and access to multiple model families including Composer, Claude, GPT, Gemini, and Grok based on the user's Cursor plan.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Run a prompt with Cursor's agent
- Continue a session
- Check models your plan offers
- View sessions of this server
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@qmediat.io/cursor-mcp 1.2.3
{
"version": "1.2.3",
"transport": "stdio",
"identifier": "@qmediat.io/cursor-mcp",
"registryType": "npm",
"environmentVariables": [
{
"name": "CURSOR_MAX_CONCURRENCY",
"format": "string",
"description": "Maximum concurrent cursor-agent processes: a positive integer; anything else is the default 3."
},
{
"name": "CURSOR_ALLOW_YOLO",
"format": "string",
"description": "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."
},
{
"name": "CURSOR_SANDBOX",
"format": "string",
"description": "`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."
},
{
"name": "CURSOR_KILL_GRACE_MS",
"format": "number",
"description": "After SIGTERM (timeout or cancellation), a child still alive this long is sent SIGKILL. A positive integer of milliseconds; default 5000."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"cursor-mcp": {
"command": "npx",
"args": [
"-y",
"@qmediat.io/cursor-mcp@1.2.3"
],
"env": {
"CURSOR_MAX_CONCURRENCY": "<YOUR_CURSOR_MAX_CONCURRENCY>",
"CURSOR_ALLOW_YOLO": "<YOUR_CURSOR_ALLOW_YOLO>",
"CURSOR_SANDBOX": "<YOUR_CURSOR_SANDBOX>",
"CURSOR_KILL_GRACE_MS": "<YOUR_CURSOR_KILL_GRACE_MS>"
}
}
}
}Cline
{
"mcpServers": {
"cursor-mcp": {
"command": "npx",
"args": [
"-y",
"@qmediat.io/cursor-mcp@1.2.3"
],
"env": {
"CURSOR_MAX_CONCURRENCY": "<YOUR_CURSOR_MAX_CONCURRENCY>",
"CURSOR_ALLOW_YOLO": "<YOUR_CURSOR_ALLOW_YOLO>",
"CURSOR_SANDBOX": "<YOUR_CURSOR_SANDBOX>",
"CURSOR_KILL_GRACE_MS": "<YOUR_CURSOR_KILL_GRACE_MS>"
}
}
}
}VS Code
{
"servers": {
"cursor-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@qmediat.io/cursor-mcp@1.2.3"
],
"env": {
"CURSOR_MAX_CONCURRENCY": "<YOUR_CURSOR_MAX_CONCURRENCY>",
"CURSOR_ALLOW_YOLO": "<YOUR_CURSOR_ALLOW_YOLO>",
"CURSOR_SANDBOX": "<YOUR_CURSOR_SANDBOX>",
"CURSOR_KILL_GRACE_MS": "<YOUR_CURSOR_KILL_GRACE_MS>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"cursor-mcp": {
"command": "npx",
"args": [
"-y",
"@qmediat.io/cursor-mcp@1.2.3"
],
"env": {
"CURSOR_MAX_CONCURRENCY": "<YOUR_CURSOR_MAX_CONCURRENCY>",
"CURSOR_ALLOW_YOLO": "<YOUR_CURSOR_ALLOW_YOLO>",
"CURSOR_SANDBOX": "<YOUR_CURSOR_SANDBOX>",
"CURSOR_KILL_GRACE_MS": "<YOUR_CURSOR_KILL_GRACE_MS>"
}
}
}
}Let your agent find its tools
Find servers like Cursor MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.