cd /news/ai-agents/run-code-from-claude-or-chatgpt-in-a… · home › topics › ai-agents › article
[ARTICLE · art-177426] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Run code from Claude or ChatGPT in a microVM with a remote MCP connector

Sandscale released a remote MCP connector at mcp.sandscale.dev/mcp that lets Claude, ChatGPT, Claude Code, Codex and Cursor start and control Firecracker microVM sandboxes, run commands, move files and take snapshots directly from chat. The server exposes 15 tools, including sandbox_create, sandbox_run, sandbox_upload_file, sandbox_download_file, sandbox_snapshot and sandbox_stop, each taking a region parameter currently limited to the United States. Every tool call runs through the same API, permissions, plan limits and audit log as other Sandscale access, and the connector can list Vault secret names but never return their values.

key takeaway

Adding Sandscale's remote MCP endpoint as a custom connector gives hosted assistants 15 sandbox tools — create, run, upload, download, snapshot and stop — so code executes in an isolated Firecracker microVM with its own kernel instead of on your machine.

by read3 min views5 publishedNov 27, 2026

Short answer: add https://mcp.sandscale.dev/mcp as a custom connector in Claude, ChatGPT or any client that supports remote MCP servers, sign in, and approve the app. The assistant can then start sandboxes, run commands, move files and stop them, each sandbox a Firecracker microVM, as you and within your plan and policy. It cannot read Vault values, act as anyone else, or go unrecorded.

This guide follows Sandscale's Connect Claude or ChatGPT page, read in November 2026. The exact menus for adding a connector belong to each assistant and change often, so check your assistant's help for where custom connectors live.

Hosted assistants can already write code. A connector gives that code a real machine: install a package, run a test, process a file, and get the actual output instead of the model's guess at it. Using a sandbox means that machine is a fresh microVM with its own kernel, not your laptop and not a server with your credentials on it.

In the assistant, add a custom connector with this address:

https://mcp.sandscale.dev/mcp

The client does the rest. It finds Sandscale's sign-in at auth.sandscale.dev, registers, and opens a Sandscale sign-in page. Sign in and approve. The approval page names the app and says it is not made by Sandscale. When you approve, the connector is linked to your organization.

The remote server has 15 tools. In plain terms: start, run, , snapshot and stop sandboxes; move files in and out; list, start and stop your workspaces; look at your object storage buckets; and list the names of your Vault secrets.

The tools you will use most in chat:

Tool What it does
sandbox_create Start an isolated sandbox (Firecracker microVM, network set by your plan)
sandbox_run Run a command and return its exit code, standard output and standard error
sandbox_upload_file Write a file into a sandbox, as text or base64 bytes
sandbox_download_file Read a file from a sandbox
sandbox_snapshot Save the sandbox's /workspace as a snapshot a new sandbox can start from
sandbox_stop End a sandbox; its disk is deleted, so snapshot first to keep it

Each tool takes a region. For now the connector answers for the United States, and another region is refused with region_unavailable.

From the same page:

Every tool call goes through the same API, permissions, plan limits and audit log as everything else. A refusal comes back to the assistant with the API's own error code, so it can tell you why.

"Start a Python sandbox, write a script that reads the CSV I paste below and prints the mean of each numeric column, run it, show me the output, then stop the sandbox."

It exercises create, upload, run and stop, and you can check the answer against the data yourself. If the assistant asks before calling a tool that changes things, that is the client's approval setting at work; keep it on for sandbox_stop.

Remove the connector in the assistant, or revoke it with DELETE /api/v1/me/mcp-connectors/{id}. Revoking ends the app's sessions at once. Removing it in the assistant only stops that client from using it.

Claude Code, Codex and Cursor connect to the same https://mcp.sandscale.dev/mcp address, and the CLI also brings a local stdio server, sandscale mcp. See remote vs local Sandscale MCP server and the product page for the Sandscale MCP server.

Yes, through a remote MCP connector. Add https://mcp.sandscale.dev/mcp as a custom connector, sign in to Sandscale and approve the app, and the assistant can start Firecracker sandboxes and run commands in them as you.

No. It lists Vault secret names only, and no Sandscale MCP tool returns a value.

Yes. Every call is in your organization's audit log with the tool, the region, the outcome and the app. The arguments are not recorded.

The United States for now. A tool call for another region is refused with region_unavailable.

Originally published on the Sandscale blog.

── more in #ai-agents 4 stories · sorted by recency
── more on @sandscale 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/run-code-from-claude…] indexed:0 read:3min 2026-11-27 · —