{"slug": "run-code-from-claude-or-chatgpt-in-a-microvm-with-a-remote-mcp-connector", "title": "Run code from Claude or ChatGPT in a microVM with a remote MCP connector", "summary": "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.", "body_md": "**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.\n\nThis guide follows Sandscale's [Connect Claude or ChatGPT](https://sandscale.dev/docs/guides/connect-claude-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.\n\nHosted 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.\n\nIn the assistant, add a custom connector with this address:\n\n```\nhttps://mcp.sandscale.dev/mcp\n```\n\nThe 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.\n\nThe remote server has 15 tools. In plain terms: start, run, pause, 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.\n\nThe tools you will use most in chat:\n\n| Tool | What it does | \n|---|---|\n| `sandbox_create` | Start an isolated sandbox (Firecracker microVM, network set by your plan) | \n| `sandbox_run` | Run a command and return its exit code, standard output and standard error | \n| `sandbox_upload_file` | Write a file into a sandbox, as text or base64 bytes | \n| `sandbox_download_file` | Read a file from a sandbox | \n| `sandbox_snapshot` | Save the sandbox's `/workspace` as a snapshot a new sandbox can start from | \n| `sandbox_stop` | End a sandbox; its disk is deleted, so snapshot first to keep it | \n\nEach tool takes a `region`. For now the connector answers for the United States, and another region is refused with `region_unavailable`.\n\nFrom the same page:\n\nEvery 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.\n\n\"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.\"\n\nIt 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`.\n\nRemove 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.\n\nClaude 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](https://sandscale.dev/blog/remote-vs-local-sandscale-mcp-server) and the product page for the [Sandscale MCP server](https://sandscale.dev/sandboxes/mcp).\n\nYes, 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.\n\nNo. It lists Vault secret names only, and no Sandscale MCP tool returns a value.\n\nYes. Every call is in your organization's audit log with the tool, the region, the outcome and the app. The arguments are not recorded.\n\nThe United States for now. A tool call for another region is refused with `region_unavailable`.\n\n*Originally published on the [Sandscale blog](https://sandscale.dev/blog/run-code-from-claude-or-chatgpt-in-a-microvm).*", "url": "https://wpnews.pro/news/run-code-from-claude-or-chatgpt-in-a-microvm-with-a-remote-mcp-connector", "canonical_source": "https://dev.to/sandscale/run-code-from-claude-or-chatgpt-in-a-microvm-with-a-remote-mcp-connector-9k0", "published_at": "2026-11-27 18:34:51+00:00", "updated_at": "2026-11-27 18:44:54.652245+00:00", "lang": "en", "topics": ["ai-agents", "agent-protocols", "ai-tools", "developer-tools", "ai-infrastructure"], "entities": ["Sandscale", "Claude", "ChatGPT", "Claude Code", "Codex", "Cursor", "Firecracker", "MCP"], "also_reported_by": [], "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.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/run-code-from-claude-or-chatgpt-in-a-microvm-with-a-remote-mcp-connector", "markdown": "https://wpnews.pro/news/run-code-from-claude-or-chatgpt-in-a-microvm-with-a-remote-mcp-connector.md", "text": "https://wpnews.pro/news/run-code-from-claude-or-chatgpt-in-a-microvm-with-a-remote-mcp-connector.txt", "jsonld": "https://wpnews.pro/news/run-code-from-claude-or-chatgpt-in-a-microvm-with-a-remote-mcp-connector.jsonld"}}