Supported clients
Claude Desktop
macOS and Windows desktop app by Anthropic.
Cursor
AI-first code editor with MCP tool support.
Cline
VS Code extension for autonomous coding agents.
Zed
High-performance editor with built-in AI assistant.
Configure the MCP server
Open your MCP client config file
Locate the config file for your client:For Cursor, Cline, and Zed, consult their respective MCP configuration docs — the JSON structure below is the same.
- Claude Desktop (macOS)
- Claude Desktop (Windows)
Add the Podflare server entry
Add a Replace
podflare entry under mcpServers. Set the absolute path to
the compiled MCP server entry point and supply your Podflare credentials
as environment variables:/absolute/path/to/podflare/mcp/dist/index.js with the real
path on your machine and pk_your_key_here with your API key.Available tools
After connecting, Claude can see and invoke the following tools:| Tool | Description |
|---|---|
run_python | REPL-persistent Python execution |
run_bash | Fresh shell for each invocation |
fork | N-way copy-on-write sandbox fork |
diff | Filesystem diff between two sandboxes |
merge_into | Commit a fork as the new sandbox state |
upload | Transfer a file into the sandbox |
download | Retrieve a file from the sandbox |
Example prompt
You do not need special syntax to invoke tools. Ask Claude naturally:“Use run_python to load /data/customers.csv with pandas and tell me the top 5 regions by revenue.”Claude selects
run_python, the MCP server routes the call to Podflare, the sandbox executes the code, and the result flows back into Claude’s response.
Session model
Each Claude conversation gets one Podflare sandbox. The sandbox is created on the first tool call and destroyed when your MCP client quits the server process. Reopening a conversation starts a fresh sandbox — any in-memory Python state from the previous session is gone.Troubleshooting
Tools don't appear in the composer
Tools don't appear in the composer
Check the MCP server log at
~/Library/Logs/Claude/mcp-server-podflare.log
(macOS). The most common cause is that the Podflare host is not reachable at
the address set in PODFLARE_HOST. Verify the host is running and the URL
is correct.Tool calls time out
Tool calls time out
The MCP server applies a 5-minute timeout per tool call. Long-running code
inside the sandbox can exceed this limit. Use the
fork tool to split work
across parallel sandboxes and reduce per-call execution time.