E2B MCP Server
✓ verifiedRun code in secure cloud sandboxes from the assistant.
Don't have ToolPiper? We'll take you to the download.
Publisher
License
MIT
Transport
Local subprocess
Tools
1
What this server does
E2B gives the assistant a disposable cloud sandbox to run code in. Instead of the model describing what a script would output, it actually runs it in an isolated container and reads the real result, including stdout, errors, and generated files. This is the safe way to let an AI execute code it just wrote: the sandbox is ephemeral and isolated from your machine, so a bad script cannot touch your filesystem. Useful for data analysis, quick calculations, and verifying generated code before you trust it.
Tools included
run_code
Execute code in a fresh cloud sandbox and return the output.
The authoritative list comes from the server's tools/list at runtime. This catalog entry may lag the upstream until the next ToolPiper release.
Install in ToolPiper
ToolPiper handles the JSON configuration. Click Install, fill in any required tokens, and the server is ready in your chat.
Don't have ToolPiper? We'll take you to the download.
Install in another client
Install in another MCP client (Claude Desktop, Cursor, Continue, Cline)
Add this to ~/Library/Application Support/Claude/claude_desktop_config.json.
{
"mcpServers": {
"e2b": {
"command": "npx",
"args": [
"-y",
"@e2b/mcp-server"
]
}
}
}Example prompts
"Write and run a Python script that parses this CSV and plots the trend."
"Verify this sorting function works by running it against a few test cases."
"Compute the result of this statistical analysis and show me the output."
Security notes
Code runs in an isolated E2B cloud sandbox, not on your machine, which is the safety benefit. The API key gates usage and bills against your E2B account; treat it as a credential. Anything you pass into the sandbox (data, secrets) leaves your machine and runs on E2B's infrastructure, so do not feed it credentials you would not put in a cloud service.
Related tools
GitHub
✓ verifiedCreate issues, manage pull requests, and search repositories from your AI assistant.
Developer ToolsLocal subprocess5 toolsGitHub (Remote)
✓ verified MAXOAuth-protected GitHub MCP. Manage repos, issues, and pull requests with no token to copy.
Developer ToolsRemote HTTP5 toolsGit
✓ verifiedRead, search, and manipulate Git repositories on disk.
Developer ToolsLocal subprocess5 toolsEverything
✓ verifiedReference test server exercising every MCP feature.
Developer ToolsLocal subprocess5 tools