SuperBox Executor
Remote MCP server executor on Cloudflare Workers that runs Python-based tools from GitHub repos via a lightweight TypeScript interpreter, supporting requests and common builtins.
README
SuperBox Executor
Remote MCP server executor built on Cloudflare Workers + Durable Objects.
Architecture
MCP Client (VS Code / Cursor / Antigravity / Claude Desktop / ChatGPT)
|
| POST /mcp?name=<server>
v
Cloudflare Worker (superbox-executor.workers.dev)
| validates name in R2 registry, routes to Durable Object by session ID
v
McpSession Durable Object (one per session)
| fetches Python source from GitHub, parses tools, runs on request
v
TypeScript interpreter -> executes tool functions -> returns JSON-RPC response
|
+-- outbound HTTP via native fetch (requests.get/post/put/patch/delete)
+-- JSON processing, dict/list ops, f-strings, common builtins
Setup
Prerequisites
- Node.js 22+
- Wrangler CLI (
npm i -g wrangler) - Cloudflare account (
wrangler login)
1. Install dependencies
cd cloudflare
npm install
2. Create R2 bucket
wrangler r2 bucket create superbox-mcp-registry
For local dev, the preview bucket is superbox-mcp-registry-dev:
wrangler r2 bucket create superbox-mcp-registry-dev
3. Local development
npm run dev
# Worker available at http://localhost:8787
4. Deploy to production
npm run deploy
# URL: https://superbox-executor.<your-account>.workers.dev
Copy the deployed URL and set it in your backend .env:
CLOUDFLARE_WORKER_URL=https://superbox-executor.<your-account>.workers.dev
API
Health check
GET /health
MCP endpoint (Streamable HTTP, spec 2025-11-25)
POST /mcp?name=<server-name>
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{},"clientInfo":{"name":"test","version":"0.0.1"}}}
Test mode (skip registry, provide repo directly)
POST /mcp?name=my-test&test_mode=true&repo_url=https://github.com/user/repo&entrypoint=main.py
Python execution model
Tools are executed by a lightweight TypeScript interpreter built into the Worker. Cloudflare Workers cannot run Pyodide (WASM bundle exceeds the 10 MB script limit, and eval() / new Function() are blocked at the V8 level), so this interpreter handles the patterns that cover the vast majority of published MCP servers.
Supported
requests.get/post/put/patch/delete(mapped to nativefetch)- Dict, list, string, and numeric operations
- f-strings,
if/elif/else,forloops,try/except - Common builtins:
int,float,str,bool,len,min,max,range,enumerate,zip - JSON serialization / deserialization
Not supported
httpx,aiohttp, or any HTTP library other thanrequests- Packages with C extensions (
pandas,numpy,cryptography, etc.) async def/await- List/dict/set comprehensions
- Class definitions
- Complex stdlib usage (
os,subprocess,socket, etc.)
uv, pip, and poetry are package managers -- what matters is what they install. Servers that install requests-based packages work. Servers that install httpx, C-extension packages, or rely on async patterns do not.
Real-time logs
wrangler tail superbox-executor --format pretty
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。