# Remote or local: choosing between Sandscale's two MCP servers

> mcp.sandscale.dev and sandscale mcp compared tool by tool: transport, sign-in, which tools each offers, what each leaves out, and which one fits a coding agent, a hosted assistant or a build workflow.

mcp.sandscale.dev and sandscale mcp compared tool by tool: transport, sign-in, which tools each offers, what each leaves out, and which one fits a coding agent, a hosted assistant or a build workflow.

November 27, 2026 · 4 min read · The Sandscale team

Sandscale has two MCP servers, and the docs describe both: a remote server at `https://mcp.sandscale.dev/mcp`, and `sandscale mcp`, a local server that comes with the CLI. They talk to the same sandboxes and the same audit log, but they are different programs with different tool lists. This post lays them side by side so you can pick one, or decide to run both.

Sources: the [Connect Claude or ChatGPT guide](https://sandscale.dev/docs/guides/connect-claude-chatgpt), which carries the remote server’s tool table, and the [MCP tools reference](https://sandscale.dev/docs/reference/mcp) and [`sandscale mcp` CLI page](https://sandscale.dev/docs/reference/cli/mcp) for the local one. Both tool lists are generated from the servers themselves, so they are the place to check if this post goes out of date.

## At a glance

|   | Remote server | Local server |
| --- | --- | --- |
| Where it runs | Sandscale’s side, `https://mcp.sandscale.dev/mcp` | Your machine, started by your client |
| Transport | HTTP | stdio |
| Sign-in | OAuth in a browser the first time; each call runs as you with a short-lived credential kept on the server | Your CLI sign-in from `sandscale login` |
| Install | Nothing | The [CLI](https://sandscale.dev/cli), macOS or Linux |
| Works in hosted assistants (Claude, ChatGPT) | Yes, as a custom connector | No, it needs a local process |
| Tools | 15 | 13 |
| Regions | United States for now; others refused with `region_unavailable` | Not covered on the reference page |

## The tools, grouped

**Sandboxes.** Both servers can list, start, run commands in, and stop sandboxes.

- Remote: `sandbox_list`, `sandbox_create`, `sandbox_run`, `sandbox_stop`, plus `sandbox_pause`, `sandbox_resume` and `sandbox_snapshot`.
- Local: `sandboxes_list`, `sandbox_show`, `sandbox_start`, `sandbox_exec`, `sandbox_stop`.

So only the remote server can pause, resume and snapshot over MCP. If your agent’s workflow is “install dependencies once, snapshot, start each task from the snapshot”, the remote server is the one with the tools for it. The [snapshots guide](https://sandscale.dev/docs/guides/snapshots) covers what a snapshot keeps.

The local `sandbox_start` takes `template`, `ttl` and `network` inputs, and its description says the network is none unless asked. `sandbox_exec` takes the command as an array of strings, plus optional `workdir` and `timeout_seconds`. The remote server’s `sandbox_run` returns the exit code, standard output and standard error.

**Files.** Remote only: `sandbox_upload_file` (text in `content`, bytes in `content_base64`) and `sandbox_download_file` (text back as text, other bytes as base64). With the local server, an agent moves data with commands, or you move files with the CLI yourself.

**Workspaces.** Both. Remote: `workspace_list`, `workspace_start`, `workspace_stop`. Local: `workspaces_list`, `workspace_show`, `workspace_start`, `workspace_stop`. A [workspace](https://sandscale.dev/docs/concepts/workspaces) is a persistent cloud computer; stopping it keeps its disk.

**Storage and Vault.** Remote only: `storage_list_buckets` and `storage_describe_bucket` for your S3-compatible buckets, and `vault_list_secrets`, which lists secret names in a Vault KV mount. Values are never returned by any Sandscale MCP tool.

**Build hosts and lab hosts.** Local only, and read-only: `build_pools_list`, `build_leases_list`, `build_lease_show`, `build_lab_hosts_list`. If an agent needs to see which build machines or lab devices you have leased, this is the server.

## What each leaves out on purpose

Both servers keep secrets away from the model. The remote server lists Vault names but never values. The local server’s reference is broader: signing in, the vault and deleting anything are not offered as tools at all.

The remote server’s docs also spell out what it cannot do: act as anyone else, go unrecorded, or run without limits. Each app can make up to 120 calls a minute and each person up to 60. Every remote call is in the organization’s audit log with the tool, region, outcome and app, and never the arguments.

## Which one to use

**A coding agent on your laptop** (Claude Code, Cursor, Codex, VS Code, Windsurf). Either works. Choose the remote server if you want file upload and download, pause, resume and snapshots as tools, or if you do not want to install anything. Choose the local server if you already use the CLI, want build host and lab host visibility, or prefer the server whose reference says it offers no tools for signing in, the vault or deleting anything.

**A hosted assistant** (Claude or ChatGPT on the web). Only the remote server, added as a custom connector. There is no local process for a hosted assistant to start.

**Shared setups.** The remote entry contains no secret, so a project config file that points at it (`.mcp.json` for Claude Code, `.cursor/mcp.json` for Cursor, `.codex/config.toml` for Codex) can be committed. Each person still signs in as themselves. The local entry is just `sandscale` with the argument `mcp`, and depends on each person’s CLI sign-in.

**Both at once.** Nothing stops you adding both under different names, for example `sandscale` and `sandscale-local`. The cost is a longer tool list for the model to choose from, and two tools with similar names (`sandbox_run` and `sandbox_exec`) that do roughly the same thing. If you do it, use your client’s allow and deny settings to keep only the tools you want from each.

## Same checks behind both

Whichever you pick, the calls end up in the same place. The remote guide says every tool call goes through the same API, permissions, plan limits and audit log as everything else, and refusals come back with the API’s own error code. The local reference says each tool runs the matching `sandscale` command with your own sign-in, so every check and refusal is the command’s. In both cases your role, your plan and your organization’s policy decide what happens, not the server you came through.

Setup guides for each client: [Claude Code](https://sandscale.dev/blog/sandscale-mcp-server-in-claude-code), [Cursor](https://sandscale.dev/blog/sandscale-mcp-server-in-cursor) and [Codex](https://sandscale.dev/blog/sandscale-mcp-server-in-codex).

**On this page**

1. At a glance
2. The tools, grouped
3. What each leaves out on purpose
4. Which one to use
5. Same checks behind both

**Run your agents in a box of their own**

Each sandbox is a Firecracker microVM. Free includes 100 awake vCPU-hours a month.

[Start free](https://cloud.sandscale.dev/auth/signup)

## Keep reading

- [November 27, 2026 · **A LlamaIndex.TS data agent that runs its Python in a Sandscale sandbox** · Use LlamaIndex.TS's agent workflow with tools that write and run Python in a Firecracker sandbox, built per sandbox so a run can only reach its own box. Upload data files, answer with the numbers, clean up. Type-checked.](https://sandscale.dev/blog/llamaindex-ts-agent-with-sandscale)
- [November 27, 2026 · **Adding the Sandscale MCP server to Codex: config.toml, OAuth login and approval modes** · Configure the remote or local Sandscale MCP server in OpenAI Codex, sign in with codex mcp login, and use enabled_tools, approval modes and tool timeouts to match what each tool does.](https://sandscale.dev/blog/sandscale-mcp-server-in-codex)

---
Source: https://sandscale.dev/blog/remote-vs-local-sandscale-mcp-server
