sandbox-as-a-service-mcp
sandbox-as-a-service-mcp
一个 MCP 服务器,为代理提供一个可以随意破坏的真实 Linux 虚拟机。
十一个工具:创建沙箱、在其中运行 shell 命令、写入和读取文件、列出运行产生的内容、在公共预览 URL 上暴露端口、延长生命周期、销毁它,以及检查所有成本。
每个沙箱都是一个拥有自己内核的专用虚拟机——而不是与其他人的代码共享主机的容器。它永远不会在账户之间重用,并且在到期时被销毁,无论是否有任何东西记得要求。
使用它
AAS_API_KEY=aas_sk_... npx -y https://sandbox-as-a-service.com/mcp.tgz在 sandbox-as-a-service.com 获取密钥——新账户以免费信用额度开始,无需信用卡。
Claude Desktop / Claude Code
{
"mcpServers": {
"sandbox": {
"command": "npx",
"args": ["-y", "https://sandbox-as-a-service.com/mcp.tgz"],
"env": { "AAS_API_KEY": "aas_sk_..." }
}
}
}Related MCP server: microsandbox-mcp
工具
工具 | 功能 |
| 创建 VM 并在其就绪后返回其 id。 |
| 以非特权用户身份运行 shell 命令。返回 stdout、stderr 和退出代码。 |
| 写入文件。内容带外传输,因此引号和二进制数据都能保留。 |
| 读回文件——代理如何获取其代码产生的内容。 |
| 列出目录树,以便代理找到运行产生的内容。 |
| 为沙箱内的服务器提供一个公共 https URL 以供分享。 |
| 状态、大小和到期时间。 |
| 账户上的所有内容,最新的在前——用于查找遗漏的沙箱。 |
| 当任务超出其超时时间时,将到期时间推后。 |
| 销毁它并停止计费。 |
| 剩余信用额度和最近的使用情况。 |
给代理的注意事项
代码以非特权用户身份运行。没有
sudo,所以apt-get将无法工作;使用pip install --user --break-system-packages或npm install,两者都可以。run_command等待命令完成。使用&启动服务器,否则它会一直保持调用打开直到超时。沙箱在其超时到期时被销毁,无论是否调用了
destroy_sandbox,所以被遗忘的沙箱只花费几分钟,而不是永远花钱。无论如何调用它,都会返回你本来不会使用的分钟数。
环境
变量 | |
| 必需。你的 API 密钥。 |
| 可选。默认为 |
MIT 许可。它连接的服务位于 sandbox-as-a-service.com;文档。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceProvides isolated sandbox environments for AI agents to execute code securely, generating signed receipts for every execution to ensure auditability and trust.174MIT
- AlicenseAqualityBmaintenanceConnects AI agents to microsandbox for creating lightweight sandboxes, executing code, managing files, and monitoring resources.1914613Apache 2.0
- AlicenseAqualityDmaintenanceProvides a local, isolated Linux VM sandbox for AI agents using Apple's Virtualization.framework, enabling fast command execution (~60ms) and package management without cloud costs.351MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to run compute tasks in secure sandboxes with optional interactive UIs, brokering between agents and isolated execution environments.Apache 2.0
Related MCP Connectors
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
Persistent cloud development environments that coding agents create, run and test software in.
The agent-native cloud: database, functions, AI, storage, computers. 50 tools, one API key.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/fstandhartinger/sandbox-as-a-service-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server