# ParallelSandbox [Health: Active]

**Category:** ☁️ Cloud Platforms  
**Repository:** https://github.com/parallel-sandbox/parallelsandbox-mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 3438  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/parallelsandbox-2

## Description
Remote Linux boxes for coding agents: Docker, a browser, screenshots, logs, human takeover.

## Tools
Capabilities this server exposes over MCP:

- **parallelsandbox_connect** — Connect ParallelSandbox, or check sign-in status. If sign-in is pending, show the person the returned link to sign in and allow their AI tool. Call again after they finish.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "parallelsandbox": {
    "command": "npx",
    "args": ["-y","parallelsandbox-mcp"]
  }
}
```

## Documentation

## What ParallelSandbox MCP server does

ParallelSandbox MCP server gives an MCP-compatible coding agent access to remote Linux boxes managed by ParallelSandbox. The remote environment supports the capabilities described by the service, including Docker, a browser, screenshots, logs, and human takeover. The adapter exposes the service's `sandbox_*` and `logs_*` tools through the MCP endpoint.

The package is a local stdio adapter rather than a separate sandbox implementation. It connects to `https://mcp.parallelsandbox.com/mcp` by default and adds two operations that need access to the developer's machine: `sandbox_sync` uploads a working directory without requiring a commit, and `sandbox_pull` downloads files or directories from a box.

## How it works

Start the adapter with `npx -y parallelsandbox-mcp`, then configure an MCP client to launch it as a stdio server. On the first connection, `parallelsandbox_connect` reports sign-in status and opens a browser for OAuth. If sign-in is still pending, the tool returns a link for the user to approve; call it again after approval. Clients that do not refresh their tool list may need to reconnect once authentication finishes.

Authentication state is stored under `~/.parallelsandbox` with restrictive file permissions and is shared across conversations using the same endpoint. Existing API-key configurations can bypass OAuth. The adapter also serializes token refreshes with a file lock.

## Setup and configuration

Run:

```bash
npx -y parallelsandbox-mcp
```

For Claude Code, add it with:

```bash
claude mcp add parallelsandbox -- npx -y parallelsandbox-mcp
```

Set `PARALLELSANDBOX_NO_BROWSER=1` when the sign-in URL should be returned without opening a browser. `PARALLELSANDBOX_API_KEY` can provide an existing key. `PARALLELSANDBOX_AUTH_DIR` changes where OAuth files and locks are stored. Development deployments require both `PARALLELSANDBOX_MCP_URL` and `PARALLELSANDBOX_API_URL` to be set to their development addresses.

## Tools and capabilities

ParallelSandbox MCP server provides:

- `parallelsandbox_connect` for starting or checking authentication.
- Remote `sandbox_*` tools for working with boxes.
- Remote `logs_*` tools for inspecting service logs.
- `sandbox_sync` for comparing a local project with a box and uploading changed files.
- `sandbox_pull` for downloading a file or directory into a local path.

Sync supports dry runs, exclusions, pruning stale remote files, progress reporting, size limits, selected Git revisions, and optional initialized submodules. It omits common generated or dependency directories such as `.git`, `node_modules`, build output, and coverage data. Pull can merge extracted contents into an existing directory or replace an eligible directory with `clean`.

## Limitations and notes

The local sync and pull operations are implemented by the stdio adapter and are unavailable when connecting directly over plain HTTP; those remote calls return errors. Sync paths must be absolute or resolve relative to the adapter's working directory, which may differ from the agent's working directory. Uploads over 100 MB are blocked unless a larger `maxMB` value is supplied.

Files deleted locally remain in the box unless pruning is requested. `sandbox_pull` merges by default, and its clean mode is refused for Git checkouts, home directories, the adapter's working directory, and their parents. A hand-off copy used for pulling is deleted from ParallelSandbox after about a day. Authentication waits five minutes before a cancelled or unfinished sign-in must be retried.

_Full upstream README: https://allmcps.com/mcp/parallelsandbox-2/readme_

