프로토타입 · 미리 보기: 공식 레지스트리의 모든 서버를 담고 있으며 30분마다 동기화해요. 리뷰와 계정 기능은 다음 단계에서 열려요.
PopNx MCPAI를 쓰는 사람을 위한 MCP 서버 · 쉬운 말로 설명해요

Headmesh Agent Sandbox

제작자: headmesh-dev버전 0.1.0i★ –i클라우드에서 실행
레지스트리 이름io.github.headmesh-dev/headmesh-sandbox

설치

개요

제작자가 쓴 설명(영어 원문)

Run commands, edit files and manage Git and persistent sessions in your own isolated sandbox.

PopNx MCP의 세 기둥

이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.

할 수 있는 일

이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.

  • 연결 방식: 클라우드에서 실행
  • 전송 방식: Streamable HTTP
  • 카테고리: 개발자 도구

설치

쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.

설치하기 전에

필요한 것

어떤 앱을 쓰세요?

위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.

이 주소는 요청 header에 키가 필요한데, 커넥터 추가 메뉴에서는 넣을 수 없어요. 대신 Claude Code, Cursor, VS Code를 쓰세요.

터미널에서 이 명령어를 실행하세요

claude mcp add --transport http headmesh-sandbox 'https://{sandbox_host}/mcp' --header 'Authorization: Bearer {sandbox_token}'

실행하기 전에 빈 값을 채워 주세요.

주소에 나만 아는 {…} 부분(예: 내 계정)이 있어서, 복사한 뒤 직접 채워 주세요.

또는 설정을 직접 복사하기

프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요

{
  "mcpServers": {
    "headmesh-sandbox": {
      "url": "https://{sandbox_host}/mcp",
      "headers": {
        "Authorization": "Bearer {sandbox_token}"
      }
    }
  }
}

브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.

주소에 나만 아는 {…} 부분(예: 내 계정)이 있어서, 복사한 뒤 직접 채워 주세요.

또는 설정을 직접 복사하기

프로젝트의 .vscode/mcp.json에 붙여 넣으세요

{
  "servers": {
    "headmesh-sandbox": {
      "type": "http",
      "url": "https://{sandbox_host}/mcp",
      "headers": {
        "Authorization": "Bearer {sandbox_token}"
      }
    }
  }
}

브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.

이 주소는 요청 header에 키가 필요한데, 커넥터 추가 메뉴에서는 넣을 수 없어요. 대신 Claude Code, Cursor, VS Code를 쓰세요.

선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.

직접 입력할 값

  • Authorization HTTP header
    A scoped bearer token issued by your own Headmesh sandbox

이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.

할 수 있는 일

주소에 내 값이 필요해서 대신 도구 목록을 읽을 수 없어요.

기본 점검i

누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 6일 점검

  • ✓ 통과

    제작자와 저장소 일치

    레지스트리 이름이 GitHub 계정 headmesh-dev 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요

  • … 아직 점검 안 함

    계속 관리되고 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • … 아직 점검 안 함

    라이선스 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • – 해당 없음

    엔드포인트 응답

    주소에 내 계정 값이 필요해서 대신 점검할 수 없어요

  • – 해당 없음

    OAuth로 로그인

    주소에 내 계정 값이 필요해서 대신 점검할 수 없어요

  • … 아직 점검 안 함

    도구 설명에 숨겨진 지시 없음

    아직 점검하지 않았어요. 엔드포인트를 점검할 때 도구 목록을 읽어요

개발자 도구 카테고리의 다른 서버와 비교i

  • 이 카테고리의 다른 서버 1388개 중 0%보다 스타가 많아요
  • 이 카테고리의 다른 서버 1388개 중 96%보다 최근에 레지스트리에 공개됐어요
  • 기본 점검 결과가 이 카테고리의 다른 서버 1388개 중 100%와 같거나 더 좋아요

레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.

자주 묻는 질문

Headmesh Agent Sandbox, 안전한가요?

해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.

어떤 키나 코드가 필요한가요?

레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.

내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?

제작자의 클라우드에서 실행돼요. 설치 없이 인터넷으로 연결하지만, 보내는 내용은 제작자의 서버를 거쳐요.

아직 관리되고 있나요?

GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.1.0)은 어제 레지스트리에 올라왔어요.

어떤 앱에서 쓸 수 있나요?

Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. URL로 연결되기 때문에, 원격 MCP 서버를 지원하는 앱(예: 개발자 모드의 ChatGPT)에서도 쓸 수 있어요.

대신 쓸 수 있는 건 뭐가 있나요?

같은 카테고리에는: GitHub, Desktop Commander, Cloudflare MCP

대안

같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.

카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i

GitHub

제작자: github

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

컴퓨터 또는 클라우드★ 34,245MIT3일 전 업데이트
설치

Desktop Commander

제작자: wonderwhy-er

MCP server for terminal commands, file operations, and process management

내 컴퓨터에서 실행★ 10,225MIT15일 전 업데이트
설치

Cloudflare MCP

제작자: cloudflare

Cloudflare MCP servers

클라우드에서 실행★ 4,446Apache-2.014개월 전 업데이트
설치

제작자의 README

README 열기

제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.

Headmesh agent sandbox

A persistent Docker container on the ASUS that joins Aaryn's Headscale tailnet as its own tagged node, so cloud agents can work with real files, real dependencies and private services. Agents reach it through several front doors:

  • an MCP server, headmesh-sandboxd;
  • the Claude self-hosted runner and Claude Remote Control;
  • Codex over Tailscale SSH;
  • the OpenAI Secure MCP Tunnel;
  • codex exec-server, driven from the host through the Agents API.

It implements plan §6 and §7 (docs/plan.md).

PathWhat
image/Multi-stage Dockerfile on ubuntu:26.04 (pinned by digest), s6-overlay services, git hooks, guidelines template, docker-bake.hcl, container-structure-test, hadolint config
compose/compose.yaml with the regular and yolo profiles (embedded in the CLI)
config/sandbox.example.toml and its JSON Schema (sandbox.schema.json)
sandboxd/The MCP daemon: tools, sessions (tmux), auth, audit, status
cmd/headmesh-sandboxd/Daemon binary, plus the in-container helpers (hm)
cmd/headmesh-sandbox/Host CLI
host/Egress firewall and restic backup units. Aaryn installs them with sudo; see host/README.md
tests/acceptance/The five-check harness, the recreate bonus and prompt.md
tests/e2e/Live test against a running container
docs/container-contract.md (the interface between image, Compose, CLI and daemon) and the ADRs

This is its own Go module, github.com/headmesh-dev/headmesh/sandbox; the root go.work includes it. Run go test -race ./... here.

What's verified (2026-10-27)

All of this was run locally, without tailnet enrollment:

  • go test -race ./... passes. That includes integration tests on real tmux and real git, and the harness against an in-process sandboxd. golangci-lint run with the repo config reports 0 issues.
  • docker buildx bake -f sandbox/image/docker-bake.hcl sandbox-local builds headmesh-sandbox:dev (2.39 GB). hadolint is clean, and container-structure-test passes 43/43.
  • headmesh-sandbox up starts the container through Compose with the §6.3 hardening. It reports healthy with tailscaled logged out, and the unconfigured front doors idle and say why. status and doctor work.
  • Against the running container, tools/list (31 tools), exec, session_* and fs_* pass over the unix socket, and over HTTP with a bearer token. Both protocol versions work: 2026-07-28 stateless and the 2025-11-25 handshake (tests/e2e).
  • Acceptance, route mcp and route ssh (run inside the container, phase 1, then phase 2 from a new process):
  • Checks 1–3 pass: uid 1000, Ubuntu 26.04, the file hash matches the host's copy, and the dependency runs.
  • Check 5's mechanics pass: the session is still running after the reconnect, and the marker exists.
  • Checks 4 and 5 still fail because the node isn't enrolled yet.
  • acceptance recreate passes 5/5: home and ~/.bash_history persist, the boot identity changes, and old sessions report lost (container restarted at …). The tailnet identity part was skipped (not enrolled).
  • YOLO:
  • It is refused without a fresh backup record.
  • With one, it starts with the per-subtree read-only /host. Writes fail even as root, propagation is private, /etc/shadow reads as 0 bytes, ~/.ssh is masked, and the host tailscaled state and Docker data-root are left out.
  • It halts itself at the TTL, with an audit entry, and the next up is Regular.

Spike outcomes are in docs/adr/spike-t0{1,2,3,7,8}-*.md and docs/adr/spike-t16-*.md. Other implementation decisions are in docs/adr/0001-sandbox-implementation-decisions.md.

Security findings to act on

  1. Install the egress firewall before enrolling (host/firewall, step 1 below). A Docker bridge container can otherwise reach whatever the host can: its LAN, its own services and, on a host that is itself a tailnet node, that tailnet. Host-specific findings are in the internal ops notes.
  2. YOLO shows the host read-only. That includes data directories and certificates, wherever file permissions allow. Agents run as uid 1000; root-only files stay unreadable to them, but tailscaled and the runner run as root in the container. Add anything sensitive to [mounts] extra_denylist: denylisted subtrees are left out of /host.
  3. Inside the sandbox, UV_PROJECT_ENVIRONMENT=.venv-sandbox, so uv never rebuilds a project's host .venv against container paths. Make sure each project's .gitignore covers .venv-sandbox (or .venv*).

Quick start (host)

cd /mnt/storage/projects/headmesh/sandbox

go build -o ~/.local/bin/headmesh-sandbox ./cmd/headmesh-sandbox docker buildx bake -f image/docker-bake.hcl sandbox-local # headmesh-sandbox:dev headmesh-sandbox init # /mnt/storage/headmesh/sandbox $EDITOR /mnt/storage/headmesh/sandbox/config/sandbox.toml # image = "headmesh-sandbox:dev" until GHCR has a release headmesh-sandbox scan-secrets # review, then --apply headmesh-sandbox token create claude-code-mac > ~/.config/headmesh/sandbox-token headmesh-sandbox render --diff headmesh-sandbox up headmesh-sandbox status headmesh-sandbox doctor

Other commands: down [--yolo|--all], recreate, logs [service|audit] [-f], shell [--root], attach (watch agents in tmux), backup, token list|revoke, acceptance run|verify|report|recreate, and agent run --provider openai.

Secrets live in /mnt/storage/headmesh/sandbox/secrets/ , mode 0600; an empty file means that front door is off. They are never mounted. The CLI passes them to docker compose through the environment, and Compose copies each one into the container as root:root 0400 (spike T-1).

Steps that need Aaryn

Each step needs sudo, a production change or an account. None of them has been done.

1. Host (sudo)
  • Install the egress firewall and the home backup units, then run a first backup. The exact commands are in host/README.md. Check the result with headmesh-sandbox doctor; it should show egress firewall ✓ and home backup ✓.
  • Install restic (plan §5.3). Sleep targets are already masked (doctor checks this).
2. Headscale policy (production ACL change; maintenance window)

This builds on plan §5.2 and §6.6. Add the tags and grants to api/infra/headscale/policy.hujson in the Xcelsior repo. Run headscale policy check first; the policy tests must pass.

"tagOwners": { "tag:sandbox": ["group:admin"], "tag:sandbox-yolo": ["group:admin"] },

"grants": [ // Regular: only the private services you list (keep sandbox.toml [mode.regular] reach in sync). { "src": ["tag:sandbox"], "dst": ["tower-server"], "ip": ["tcp:11434"] }, { "src": ["tag:sandbox-yolo"], "dst": ["*"], "ip": ["*"] }, ], "ssh": [ { "action": "accept", "src": ["xcelsior@"], "dst": ["tag:sandbox", "tag:sandbox-yolo"], "users": ["agent"] }, ],

xcelsior@ must mean Aaryn's own devices only. That's true once the provider hosts are tagged (§5.2).

3. Enroll the node
# On prod-hetzner: a single-use pre-auth key that carries the tag (Headscale 0.29.6).

sudo headscale preauthkeys create --user --tags tag:sandbox --expiration 1h

On the ASUS: store it and recreate.

install -m 600 /dev/stdin /mnt/storage/headmesh/sandbox/secrets/ts_authkey # paste, then Ctrl-D headmesh-sandbox recreate headmesh-sandbox status # tailnet Running, node asus-sandbox, dns-check ok

  • The key alone sets the tags. --advertise-tags is never passed, because Headscale rejects it with a tagged key (spike T-8). tailscale-up checks the enrolled tags against TS_TAGS instead.
  • tailscale up runs with the key only while no state exists, so later restarts never re-authenticate. Tagged nodes don't expire. Clear the key file after enrollment.
  • YOLO is a separate node (asus-sandbox-yolo, tag:sandbox-yolo) with its own state directory. Enroll it the same way, with a tag:sandbox-yolo key, during the first up --yolo.
4. Front doors

MCP over the tailnet (Claude Code, any MCP client):

headmesh-sandbox token create claude-code-mac          # prints hms_… once

claude mcp add --transport http sandbox http://asus-sandbox.mesh.xcelsior.ca:8780/mcp \ --header "Authorization: Bearer hms_…"

Tokens are scoped (sandbox:read|exec|write|admin) and can be revoked: headmesh-sandbox token revoke claude-code-mac takes effect within seconds. OAuth (RFC 9728 metadata is already served at /.well-known/oauth-protected-resource/mcp) arrives with the Headmesh authorization server in M3.

Claude self-hosted runner (plan §7.1):

  1. Turn on "Allow self-hosted environments" in claude.ai admin settings.
  2. Put the environment secret in secrets/claude_env_secret, and fill secrets/github_token with a fine-grained PAT.
  3. Set [entrypoints.claude_runner] enabled = true, then run headmesh-sandbox up.

The runner runs as root. Every session goes through claude-session, which drops to agent with setpriv, so sessions can't read the secret (spike T-1). The checkout hook links repos mapped in [repos] to the shared working copy, on main. One live check is still pending: what the runner puts in the sessions' environment.

Claude Remote Control (plan §7.2):

  1. Set [entrypoints.claude_rc] enabled = true, then run headmesh-sandbox up.
  2. Run headmesh-sandbox shell, then claude auth login (a full claude.ai login), trust /home/agent, and run claude remote-control once to answer "Enable Remote Control? y".
  3. Run headmesh-sandbox recreate.

Never set DISABLE_TELEMETRY, DO_NOT_TRACK, CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC or DISABLE_GROWTHBOOK: Remote Control refuses to start with any of them (spike T-2). Whether it restarts on its own without a TTY still needs checking after this login.

Codex over Tailscale SSH (plan §7.3):

  • This needs the ssh rule from step 2.
  • In Codex desktop, add the remote host agent@asus-sandbox.mesh.xcelsior.ca.
  • Smoke test: ssh agent@asus-sandbox.mesh.xcelsior.ca codex --version.
  • Tailscale SSH works inside the container (spike T-3). Codex desktop itself is untested.

OpenAI Secure MCP Tunnel (plan §7.4):

  1. In the Platform, create a Tunnel and a runtime key with Read+Use only. Put the key in secrets/openai_tunnel_key and the id in [entrypoints.openai_tunnel] tunnel_id. Set enabled = true, then run up.
  2. Create a token for the tunnel route: headmesh-sandbox token create chatgpt-tunnel --route tunnel (exec ≤ 110 s, responses ≤ 8 MiB).
  3. In ChatGPT: Plugins → Add custom MCP server → Connection: Tunnel, with bearer auth using that token.

Codex `exec-server` via the Agents API (plan §7.6):

  1. Store the application key outside the sandbox. The CLI runs as you, so use secrets/openai_app_key (0600; never mounted, and denylisted from YOLO's /host). /etc/headmesh/openai-app.key is also accepted if you can read it.
  2. Put the environment key (Agents tab, every other permission None) in secrets/openai_env_key.
  3. Run:
   headmesh-sandbox agent run --provider openai --repo xcelsior \

--prompt-file sandbox/tests/acceptance/prompt.md

The executor runs as agent in the repo with --linux-sandbox-pid-namespace inherit and full access inside the container. Codex's bubblewrap sandbox can't run under the container's seccomp and AppArmor profiles, so the container is the boundary (spike T-16). The environment key reaches the executor through stdin, and the transcript goes to logs/agent-runs/ .jsonl.

5. Acceptance (plan §6.15)
headmesh-sandbox acceptance run --route mcp \

--url http://asus-sandbox.mesh.xcelsior.ca:8780/mcp --token-file ~/.config/headmesh/sandbox-token ssh agent@asus-sandbox.me

앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요

PopNx에게 묻기