Back to Home
mattzcarey icon

sandbox-mcp

Verified Safe

by mattzcarey

Overview

Manages and securely proxies AI coding agents running in Cloudflare Sandboxes to interact with external services like Anthropic and GitHub, providing zero-trust authentication and session persistence.

Installation

Run Command
npm run deploy

Environment Variables

  • AUTH_TOKEN
  • ANTHROPIC_API_KEY
  • GITHUB_TOKEN
  • PROXY_JWT_SECRET
  • Sandbox
  • SESSIONS_BUCKET
  • EXECUTE_TASK_WORKFLOW

Security Notes

The server implements a robust zero-trust authentication proxy using JWTs to ensure sandboxed AI agents do not directly access sensitive API keys. Specific services (like GitHub) restrict proxied paths to prevent abuse. Secrets are managed via Cloudflare Workers' secret store, and no hardcoded secrets are present. The use of `sandbox.exec` is contained to standard shell and git commands within an isolated sandbox environment. The `AUTH_TOKEN` mentioned in the README for the `/mcp` endpoint is a necessary security measure for the API entry point.

Similar Servers

Stats

Interest Score28
Security Score9
Cost ClassMedium
Avg Tokens15000
Stars7
Forks1
Last Update2026-01-02

Tags

AI AgentCloudflare WorkersZero-Trust ProxySandboxDurable ObjectsSession Management