1. Conduid
  2. Blockchain
  3. Sandboxd
MCP server · Blockchain

Sandboxd

MCP-compatible server that allows running arbitrary commands inside isolated sandboxes in Docker or Kubernetes

34Low

Scored 6 months ago · breakdown

About Sandboxd

Sandboxd is an MCP server in the Blockchain category: mCP-compatible server that allows running arbitrary commands inside isolated sandboxes in Docker or Kubernetes.

Install

From source
git clone https://github.com/jeliasson/mcp-sandboxd

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Sandboxd

Powered by Claude · Grounded in docs

I know everything about Sandboxd. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

mcp-sandboxd logo

What is mcp-sandboxd?

mcp-sandboxd is an MCP-compatible server that allows running arbitrary commands inside isolated sandboxes in Docker or Kubernetes.

The core idea is simple: an identifier (e.g. a conversation id) maps to a long-running sandbox environment reused across runs. This makes agent workflows feel like a "real machine", without exposing your host.

Use cases

  • Long-running sandboxes: install deps once, iterate fast.
  • IDE integration: run test/lint/build from your editor through MCP without polluting your machine.
  • Agent execution backend: give an agent a place to run shell commands.
  • Artifact proxying: generate files inside /artifacts and download them via the server HTTP endpoint.

Tools

Artifacts

Write files inside the sandbox under /artifacts. After a run completes, the server copies artifacts out of the sandbox into ARTIFACTS_DIR and serves them over HTTP.

From an MCP client’s point of view this is the same for local Docker, Docker-in-Docker, and the Kubernetes-native backend: clients always download via GET /artifacts/... and never talk to the sandbox filesystem directly.

  • By run id: GET /artifacts/<identifier>/<run_id>/<path>
  • Convenience alias: GET /artifacts/<identifier>/latest/<path>

Quickstart (local Docker)

make docker-build-sandbox
cp .env.example .env
make dev

This starts the server on http://localhost:8080.

  • MCP JSON-RPC endpoint: http://localhost:8080/mcp
  • SSE stream (per run): http://localhost:8080/mcp/events?run_id=...

MCP client configuration

Below are example configs for connecting to a running server over HTTP + SSE.

// ~/.config/opencode/config.json
{
  "mcpServers": {
    "mcp-sandboxd": {
      "type": "sse",
      "url": "http://localhost:8080/mcp"
    }
  }
}

Add a custom connector and point it at your running server.

  • URL: http://localhost:8080/mcp (or your deployed https://.../mcp)

Starts mcp-sandboxd on http://localhost:8080/mcp.

{
  "mcpServers": {
    "mcp-sandboxd": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "-p",
        "8080:8080",
        "-e",
        "PORT=8080",
        "-e",
        "MCP_PATH=/mcp",
        "-e",
        "SANDBOX_BACKEND=docker",
        "-e",
        "SANDBOX_IMAGE=ghcr.io/jeliasson/mcp-sandboxd-sandbox:latest",
        "-v",
        "/var/run/docker.sock:/var/run/docker.sock",
        "ghcr.io/jeliasson/mcp-sandboxd:latest"
      ]
    }
  }
}

Docs

General

Backend

  • Development: Local workflow and make targets.
  • Docker: Docker socket setup and DinD pattern.
  • Kubernetes: Kubernetes-native backend and DinD sidecar.

Security notes

  • no-new-privileges is enabled by default; sudo won’t work inside the sandbox.
  • Use run_sandbox.options.as_user="root" for administrative operations.
  • Prefer running mcp-sandboxd in a dedicated namespace with default-deny egress.

Similar projects

License

MIT

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Sandboxd

How do I install Sandboxd?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Sandboxd safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Sandboxd still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.