MCP Server Studio

ScratchRun MCP server

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

Registry name: dev.scratchrun/mcp

Publisher
scratchrun.dev
Runs
Runs locally
Package
npm
Version
0.1.1
Category
AI & agents
Updated
2026-08-04

Source code on GitHub

Set up ScratchRun (run locally)

Claude Desktop

Add to claude_desktop_config.json:

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

Claude Code

Run in your terminal:

claude mcp add mcp -e SCRATCHRUN_API_KEY='<SCRATCHRUN_API_KEY>' -- npx -y @scratchrun/[email protected]

Cursor

Add to .cursor/mcp.json:

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

VS Code

Add to .vscode/mcp.json:

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

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

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

Settings

NameRequiredWhat it is
SCRATCHRUN_API_KEYYesScratchRun API key — get one at https://scratchrun.dev

More ai & agents MCP servers