E2B MCP Server
E2B MCP Server
一个将 E2B Sandbox API 作为 Model Context Protocol 工具暴露的 MCP 服务器。
功能特性
该服务器目前提供以下工具:
沙箱 — 创建、列出、连接、暂停、删除、管理超时、刷新和检索日志。
模板 — 创建、列出、检查、更新、删除、启动构建、检索构建状态和检索构建日志。
文件系统 — 列出目录、创建目录、移动和删除文件、检查文件元数据、读取文件、上传文件和管理文件监视器。
进程 — 运行命令、列出进程、发送信号、与 stdin 交互以及调整 PTY 大小。
已弃用的 E2B API 端点和与快照相关的功能已从项目中移除。
Related MCP server: code-sandbox-mcp
要求
Node.js 22 或更高版本
E2B API 密钥
安装
npm ci配置
在环境中设置你的 E2B API 密钥:
export E2B_API_KEY="your-api-key"使用
使用以下命令启动服务器:
npm start该服务器设计为通过 stdio 使用的 MCP 服务器。它可以连接到任何支持 stdio 服务器的 MCP 兼容客户端。
Docker
构建镜像:
docker build -t e2b-mcp-server .运行它:
docker run --rm -i \
-e E2B_API_KEY="$E2B_API_KEY" \
e2b-mcp-server开发
检查所有源文件的 JavaScript 语法:
for f in src/*.js; do node --check "$f"; done运行冒烟测试:
npm run smoke项目结构
src/
├── http.js
├── index.js
├── tools-common.js
├── tools-filesystem.js
├── tools-process.js
├── tools-sandboxes.js
└── tools-templates.js许可证
ISC
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
- FlicenseNot gradedqualityNot gradedmaintenanceProvides remote filesystem operations, git repository management, and process execution capabilities for AI agents through the Model Context Protocol.
- AlicenseAqualityCmaintenanceMCP server for E2B code sandbox, enabling creation, management, and execution of code in secure sandboxes using Python and shell commands.41MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol server that enables AI assistants to create, control, and interact with virtual desktop environments through E2B's secure cloud sandboxes.6174MIT
- AlicenseNot gradedqualityDmaintenanceEnables interaction with E2b's tools and services through a standardized MCP interface, allowing AI agents to use E2b capabilities.MIT
Related MCP Connectors
A Model Context Protocol server for Wix AI tools
Create and drive plori cloud agents and workflows over MCP; each agent has its own environment.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
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/contributory/e2b-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server