E2B MCP Server
Developmentstdio
E2B's MCP server gives AI agents the ability to run arbitrary code in secure, isolated cloud sandboxes. Each sandbox is a fast-booting micro-VM where models can execute Python and shell commands, install packages, read and write files, and capture stdout/stderr — ideal for code interpretation, data analysis, and agentic workflows that need real execution.
连接
将此配置添加到 .claude/mcp.json
{
"mcpServers": {
"e2b": {
"command": "npx",
"args": [
"-y",
"@e2b/mcp-server"
],
"env": {
"E2B_API_KEY": "<YOUR_E2B_API_KEY>"
}
}
}
}工具 (1)
run_code
Execute code in a secure E2B sandbox and return stdout, stderr, and any results.
{
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"description": "The code to execute in the sandbox"
},
"language": {
"type": "string",
"description": "Language to run (e.g., python, javascript, bash)"
}
}
}资源
此服务器未提供任何资源。
提示词
此服务器未提供任何提示词。
服务器信息
- 许可证
- MIT
- 星标
- 0
- 最后更新
- 2026年6月12日