Skip to content
Cursor

ScratchRun for Cursor

dev.scratchrun/mcp

Ephemeral MicroVM-isolated code execution for AI agents. Fresh VM per call, hard-purged after.

client:Cursor transport:stdio runtime:npm

Install ScratchRun in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@scratchrun/mcp-server"
      ],
      "env": {
        "SCRATCHRUN_API_KEY": "<SCRATCHRUN_API_KEY>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

ScratchRun in other clients