MCP.Market

ScratchRun MCP server

by scratchrun.dev·dev.scratchrun/mcp·v0.1.1

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

B74/100grade B
What users say
No reviews yet
Be the first
Safety scan
B74/100

full report

Adoption
New

0 stars21 downloads/wk

Reviews

Write one

Nobody has reviewed ScratchRun yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

ScratchRun tools (1, 1 write)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • scratchrun_execwrite action

    Execute code in an ephemeral, MicroVM-isolated sandbox.

Public scan report

scanner v0.1.9 · 2026-09-24 · same rubric, same numbers if you re-run it

no findings
  • Code scan2 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitystatic API keys via environment variables6/15
  • Maintenancelast push 50 days ago12/15
  • Maintainer identitynamespace and repository owner differ; GitHub account older than a year5/10
Overall 74/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How ScratchRun compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
74/100
higher than 40% of 48,255 servers
Tools
1
the typical server has 7
Tools that change things
100%
typical: 0%. Fewer write tools means less an agent can break
Downloads a week
21
more than 8% of 12,191 servers with a package

What its tools let an agent do: 1 change

Install ScratchRun in Claude Code, Cursor or VS Code

Runs npx -y @scratchrun/mcp-server on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add mcp -- npx -y @scratchrun/mcp-server
Add to Cursor

What the publisher says

From the ScratchRun repository's README, as published. We do not edit it. Read it on GitHub

@scratchrun/mcp-server

MCP server for ScratchRun — ephemeral, MicroVM-isolated code execution for AI agents.

Each call runs in a fresh hardware-isolated MicroVM. The VM is hard-purged after execution. No state, no files, nothing persists between calls.

Install

Add to your claudedesktopconfig.json:

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

Get an API key at scratchrun.dev.

Tool: scratchrun_exec

Executes code in an ephemeral sandbox and returns stdout, stderr, exit code, and any output files.

Parameters:

Example — run Python and return a chart:

{
  "runtime": "python3.12",
  "code": "import matplotlib.pyplot as plt\nimport numpy as np\nx = np.linspace(0, 10, 100)\nplt.plot(x, np.sin(x))\nplt.savefig('/tmp/plot.png')",
  "return_files": ["/tmp/plot.png"]
}

Output files are returned as base64. Image files (PNG, JPG, SVG) are returned as MCP image content blocks and render inline in Claude.

Isolation

  • Hardware-virtualized MicroVM per execution (own kernel, not a shared-kernel container)
  • TerminateMicroVM called unconditionally after every run — VM destroyed, never reused
  • RFC 1918 + cloud metadata (169.254.x.x) always blocked at the network layer
  • Read-only system filesystem via OverlayFS; /tmp is RAM-backed and gone with the VM

Latency

~400ms median (warm pool). 2–8s cold start if the pool is empty.

License

MIT

Nothing above is checked by us. What we check is on the safety report.

ScratchRun: common questions

Is ScratchRun MCP server safe?
Mostly: it is graded B (74/100). Read the ScratchRun safety report
How do I install ScratchRun?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does ScratchRun need an API key?
Yes. The registry entry asks for SCRATCHRUN_API_KEY.
Is ScratchRun maintained?
The last commit was 91 days ago (2026-08-04). The latest release is v0.1.1.
How does ScratchRun compare with other MCP servers?
safety score 74/100 (higher than 40% of 48,255 servers); tools 1 (the typical server has 7); tools that change things 100% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.