# Superserve

Gives your agent isolated Firecracker microVMs: create a sandbox, run a command, move files around. Useful when code has to run off your own machine.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 467
- Author: superserve-ai
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/superserve-ai/superserve/tree/HEAD/packages/mcp
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/mcp/superserve

## What it does

Superserve plugs into an MCP client and drives Superserve sandboxes. Locally it runs over stdio through `npx`, and each call targets a sandbox by `id`. There is also a hosted endpoint at `https://mcp.superserve.ai` over Streamable HTTP, so no local install is needed and the key travels as a bearer token.

The tool set is broad. `sandbox_create` spins up a sandbox and returns its `id`, `sandbox_exec` runs a shell command and hands back stdout, stderr and the exit code, while `sandbox_files_read` and `sandbox_files_write` handle files. `sandbox_computer` is the odd one out: it drives a GUI desktop with screenshots, mouse, keyboard, scroll and a live viewer URL. Pause, resume, kill, port publishing via `sandbox_preview_url` and outbound connection auditing are all there too.

Clients do not inherit `SUPERSERVE_API_KEY` from your shell, so it has to go into the `env` block of the config. The hosted endpoint takes a static bearer, but Claude.ai, the Custom Connector UI in Claude Desktop and ChatGPT developer mode expect OAuth, which it does not support yet. File reads reject anything over 1 MiB, and downloading a directory as a ZIP is capped at 10 MiB.

## Requirements
- Needs: Node.js (commands run via npx)
- Remote server: `https://mcp.superserve.ai`
- Environment variables: `SUPERSERVE_API_KEY`, `SUPERSERVE_BASE_URL` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

1. **Platform CLI**
```bash
claude mcp add --env SUPERSERVE_API_KEY=<SUPERSERVE_API_KEY> --env SUPERSERVE_BASE_URL=<SUPERSERVE_BASE_URL> --transport stdio mcp -- npx -y @superserve/mcp
```
Replace <…> with your own values

2. **Platform CLI: remote server**
```bash
claude mcp add --transport http mcp https://mcp.superserve.ai
```

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add mcp --url https://mcp.superserve.ai
```

2. **Platform CLI**
```bash
codex mcp add mcp --env SUPERSERVE_API_KEY=<SUPERSERVE_API_KEY> --env SUPERSERVE_BASE_URL=<SUPERSERVE_BASE_URL> -- npx -y @superserve/mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "mcp": {
            "url": "https://mcp.superserve.ai"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "mcp": {
            "command": "npx",
            "args": [
                "-y",
                "@superserve/mcp"
            ],
            "env": {
                "SUPERSERVE_API_KEY": "<SUPERSERVE_API_KEY>",
                "SUPERSERVE_BASE_URL": "<SUPERSERVE_BASE_URL>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "mcp": {
            "type": "http",
            "url": "https://mcp.superserve.ai"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "mcp": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@superserve/mcp"
            ],
            "env": {
                "SUPERSERVE_API_KEY": "<SUPERSERVE_API_KEY>",
                "SUPERSERVE_BASE_URL": "<SUPERSERVE_BASE_URL>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http mcp https://mcp.superserve.ai
```

2. **Platform CLI**
```bash
gemini mcp add -e SUPERSERVE_API_KEY=<SUPERSERVE_API_KEY> -e SUPERSERVE_BASE_URL=<SUPERSERVE_BASE_URL> mcp npx -y @superserve/mcp
```
Replace <…> with your own values

## When to use it
- run untrusted code away from your own machine
- execute a shell command and capture its output
- read or write a file inside a sandbox
- publish a port and get a preview URL
- audit a sandbox's outbound connections

## Example prompts
- Create a sandbox and run `npm test` in it
- Write this script to a file in the sandbox and execute it
- Take a screenshot of the sandbox desktop and tell me what's on screen

## Similar
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33918
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81115
- [Oh My Posh Validator](https://affpapa.org/en/nevibecode/mcp/oh-my-posh-validator.md) — MCP server · ★ 23643
- [Keploy](https://affpapa.org/en/nevibecode/mcp/keploy.md) — MCP server · ★ 18727
- [Coder](https://affpapa.org/en/nevibecode/mcp/coder.md) — MCP server · ★ 17160
- [mcp](https://affpapa.org/en/nevibecode/mcp/kubeshark-mcp.md) — MCP server · ★ 12109

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
