Isorun Docs
Integrations

MCP Server

Drive Isorun sandboxes from any MCP-compatible client (Claude Desktop, Cursor, Zed). Speaks JSON-RPC over stdio.

The isorun package ships an MCP server CLI, isorun-mcp, that any Model Context Protocol client can drive: Claude Desktop, Cursor, Zed, or anything else that speaks MCP. It exposes the canonical Isorun primitives as MCP tools over stdio.

Install

Terminal
npm install -g isorun @modelcontextprotocol/sdk zod

This puts isorun-mcp on your PATH. (Install locally instead and reference the binary by path if you prefer.)

Tools

ToolWhat it does
create_sandboxBoot a fresh sandbox, return its ID
execRun a command in a sandbox
urlPublic URL for an in-sandbox port
hibernatePause a sandbox to disk, free runner resources
resumeBring a hibernated sandbox back
checkpointSnapshot a running sandbox, return a snapshot ID
restoreCreate a new sandbox from a snapshot
list_sandboxesList live sandboxes for the API key
destroy_sandboxFree a sandbox and return usage stats

Tools take a sandboxId, so the model can create_sandbox once, run several exec calls against that ID, then destroy_sandbox when done.

Wire into Claude Desktop

Add the server to claude_desktop_config.json:

JSON
{
  "mcpServers": {
    "isorun": {
      "command": "isorun-mcp",
      "env": {
        "ISORUN_API_KEY": "isorun_live_..."
      }
    }
  }
}

Restart Claude. The model now has isorun:create_sandbox, isorun:exec, isorun:hibernate, and the rest as native tools.

Wire into Cursor

Add to ~/.cursor/mcp.json (or your project's .cursor/mcp.json):

JSON
{
  "mcpServers": {
    "isorun": {
      "command": "isorun-mcp",
      "env": { "ISORUN_API_KEY": "isorun_live_..." }
    }
  }
}

Wire into Zed

Add to settings.json:

JSON
{
  "context_servers": {
    "isorun": {
      "source": "custom",
      "command": {
        "path": "isorun-mcp",
        "env": { "ISORUN_API_KEY": "isorun_live_..." }
      }
    }
  }
}

Embed the server in your own host

buildServer() returns a configured MCP server without binding it to stdio, so you can compose Isorun's tools with your own inside one process.

TypeScript
import { buildServer } from 'isorun/mcp'
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js'

const server = await buildServer()
// register your own tools on `server` here, then:
await server.connect(new StdioServerTransport())

Next steps

On this page