envy-mcp-hello
envy-mcp-hello
一个由 Envy 管理的 Modal 沙箱支持的微型公共 MCP 服务器。它暴露了一个 hello 环境以及标准的 Envy MCP 工具:
create_sandbox · kill_sandbox · bash · read · write · edit · glob · grep
该示例固定了当前 FastMCP 4 预发布版本(4.0.0b3),以便公共部署能够使用 v4 服务器和客户端协议。
部署
在
modal-labs工作区创建一个 Modal 令牌。在此 GitHub 仓库中,在 Settings → Secrets and variables → Actions 下添加以下 Actions 密钥:
MODAL_TOKEN_IDMODAL_TOKEN_SECRET
推送到
main分支,或者从 Actions 标签页手动运行 Deploy MCP server。
该工作流从公共仓库 aaazzam/envy 安装 Envy,运行声明测试,并将 devboxes.py 中的 modal_app 部署到 Modal。
部署后的 MCP URL 为:
https://modal-labs-aaazzam-dev--envy-mcp-hello-serve.modal.run/mcp该端点故意公开,供实验使用。请勿将密钥或私有源代码放入 hello 沙箱中。
Related MCP server: Modal MCP
尝试使用
将 MCP 客户端指向该 URL,并调用:
使用
environment: "hello"调用create_sandbox使用
hello from MCP内容调用write/tmp/hello/message.txt针对该文件调用
read、edit、bash、glob或grep调用
read/tmp/hello/README.md或运行/tmp/hello/hello.py完成后调用
kill_sandbox
该沙箱是临时的,使用 /tmp/hello 作为工作目录,并预置了一个小的 README.md 和 hello.py 问候世界示例。
本地验证
安装 Python 和 MCP 额外依赖后:
python -m unittest discover -s tests实时的 Modal 集成故意不作为 GitHub Action 的一部分。该 Action 部署公共控制平面;沙箱创建发生在 MCP 客户端调用 create_sandbox 时。
This server cannot be deployed
Maintenance
Related MCP Connectors
Cloudflare Workers MCP server: interactive-api-playground
Cloudflare Workers MCP server: ai-agent-scratchpad
Cloud-hosted MCP server for durable AI memory
Related MCP Servers
AlicenseAqualityDmaintenanceMCP server to give every agent an ephemeral Linux sandboxes for executing shell commands.152MIT- AlicenseAqualityAmaintenanceAn MCP server for managing Modal — apps, containers, volumes, and secrets — and for deploying & running Modal apps directly from Claude Code and other MCP clients.1283 PyPI4MIT
- FlicenseNot gradedqualityDmaintenanceA sandbox MCP server for testing and debugging MCP tools and interactions via the MCP Inspector.-
- FlicenseNot gradedqualityDmaintenanceA minimal MCP server with hello and echo tools.-