ScratchRun
Ephemeral MicroVM-isolated code execution for AI agents. Fresh VM per call, hard-purged…
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.1.1
- Listing updated
- 4 months ago
About ScratchRun
ScratchRun is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Ephemeral MicroVM-isolated code execution for AI agents. Fresh VM per call, hard-purged after.
Install
Run in a terminal
claude mcp add mcp --env SCRATCHRUN_API_KEY='<SCRATCHRUN_API_KEY>' -- npx -y @scratchrun/mcp-serverAdd to claude_desktop_config.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@scratchrun/mcp-server"
],
"env": {
"SCRATCHRUN_API_KEY": "<SCRATCHRUN_API_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@scratchrun/mcp-server"
],
"env": {
"SCRATCHRUN_API_KEY": "<SCRATCHRUN_API_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@scratchrun/mcp-server"
],
"env": {
"SCRATCHRUN_API_KEY": "<SCRATCHRUN_API_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@scratchrun/mcp-server"
],
"env": {
"SCRATCHRUN_API_KEY": "<SCRATCHRUN_API_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@scratchrun/mcp-server"
],
"env": {
"SCRATCHRUN_API_KEY": "<SCRATCHRUN_API_KEY>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
SCRATCHRUN_API_KEYScratchRun API key — get one at https://scratchrun.devRequired
Pricing
Open source
ScratchRun FAQ
Is ScratchRun free?
Yes. ScratchRun is open source, so you can use and self-host it for free.
How do I add ScratchRun to Claude Code?
Run this command in your terminal: claude mcp add mcp --env SCRATCHRUN_API_KEY='<SCRATCHRUN_API_KEY>' -- npx -y @scratchrun/mcp-server
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.