Skip to main content
The MCP server is a thin STDIO server that wraps the Podflare SDK. Every MCP client gets run_python, run_bash, fork, diff, merge_into, upload, and download as tools for free.

Install + run

The binary lands at mcp/dist/index.js. Make sure podflare-hostd is running on PODFLARE_HOSTD_URL before launching the MCP server.

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
Restart Claude Desktop. In a conversation, Claude will list Podflare’s tools alongside its own.

Cursor / Cline / Zed / Windsurf

Any MCP client that reads an mcpServers config in the same shape works. See each client’s docs for the exact config file location.

Tools exposed

run_python
tool
Execute Python in a Podflare sandbox. State persists across calls (REPL). Returns {stdout, stderr, exit_code}.
run_bash
tool
Execute a bash snippet. Fresh subprocess each call.
fork
tool
Spawn N children from current sandbox state. Returns a list of child sandbox IDs.
diff
tool
Filesystem diff between two sandboxes.
merge_into
tool
Commit a winner fork as the new parent state.
upload
tool
Copy base64-encoded bytes into a path inside the sandbox.
download
tool
Read a file from the sandbox, return base64.

Session model

One MCP session = one Podflare sandbox. The sandbox is lazily created on the first tool call and destroyed on SIGTERM/SIGINT. If the MCP client reopens the connection, a fresh sandbox is created — prior state is lost. This matches MCP’s own session model.