Use Studio chat to drive this server — credentials stay in your workspace.
E2B provides cloud sandboxes for AI-generated code execution. Create, manage, pause, resume, and snapshot isolated virtual machines with full filesystem, process, and network access. Manage sandbox templates for reproducible environments.
Opens MCPBundles Studio with this server selected. After sign-in, chat and run tools from the same thread.
Browse all toolsDomain knowledge for E2B — workflow patterns, data models, and gotchas for your AI agent.
E2B provides cloud-based sandboxes (ephemeral virtual machines) for AI-generated code execution. This bundle manages sandbox lifecycle, templates, and snapshots through the platform REST API. Code execution inside sandboxes happens via the sandbox-side envd API (Connect RPC), not through these tools — these tools manage the infrastructure.
Full CRUD (create, read, list, delete/kill):
Lifecycle operations (state transitions):
Create + Read:
Read + Delete:
Read-only:
Run ephemeral code: Create a sandbox from the default template (or a custom one). The sandbox gets an ID you can use to connect via SDK for code execution. Set timeout to auto-kill after your job finishes. Kill explicitly when done to avoid charges.
Pause/resume long-running environments: Pause a sandbox to stop billing, resume later with a new timeout. State is preserved across pause/resume cycles.
Snapshot and restore: Create a snapshot of a configured sandbox to save its state. Use the snapshot's template ID to create identical sandboxes later.
Monitor sandbox health: Pull metrics (CPU, memory) and logs for running sandboxes. Use log search to find errors. Filter by level (error, warn, info).
Manage templates: List templates to see available environments. Delete unused templates to clean up.
template_id when creating a sandbox. List available templates to find IDs, or use "base" for the default Ubuntu template.Create a new cloud sandbox from a template. Returns sandbox ID and connection details. Use template_id "base" for default Ubuntu environment, or get c...
Create a persistent snapshot of a running sandbox. The snapshot captures the full VM state and can be used as a template to create identical sandboxes...
Permanently delete a sandbox template. Sandboxes already running from this template are not affected, but no new ones can be created.
Get sandboxes. Pass sandbox_id for a single sandbox with full details, or omit to list all. Filter by state (running/paused) when listing.
Get logs from a sandbox. Filter by level (error, warn, info, debug) or search text. Paginate with cursor for large log sets.
Get CPU, memory, and network metrics time series for a sandbox. Specify time range with Unix timestamps.
List all snapshots. Optionally filter by source sandbox ID.
Get sandbox templates. Pass template_id for a single template with build history, or omit to list all available templates. Templates define the sandbo...
Permanently kill a sandbox. The VM is destroyed and cannot be recovered. Use snapshots to preserve state before killing.
Pause a running sandbox. State is preserved and billing stops. Resume later with e2b_resume_sandbox.
Resume a paused sandbox and set its new timeout. The sandbox returns to running state with billing resumed.
Set or extend a sandbox's TTL. The timeout is reset to N seconds from now — each call overwrites the previous timeout.
E2B provides cloud sandboxes for AI-generated code execution. Create, manage, pause, resume, and snapshot isolated virtual machines with full filesystem, process, and network access. Manage sandbox templates for reproducible environments. It provides 12 tools that AI agents can use through the Model Context Protocol (MCP).
Add the MCPBundles server URL to your MCP client configuration (Claude Desktop, Cursor, VS Code, etc.). The URL format is: https://mcp.mcpbundles.com/bundle/e2b. Authentication is handled automatically.
E2B provides 12 tools that can be called by AI agents, along with a SKILL.md that gives your AI agent domain knowledge about when and how to use them.
E2B uses API Key. E2B requires credentials. Connect via MCPBundles and authentication is handled automatically.
Connect E2B to any MCP client in minutes
Model Context Protocol lets AI tools call external capabilities securely through a single URL. This bundle groups tools behind an MCP endpoint that many clients can use.
Skip the manual setup! Use the .mcpb file format for one-click installation. Check the Claude Desktop tab for setup instructions.
Select ChatGPT, Cursor, Claude Code, or another tab for copy-paste config.
More developer tools integrations you might like
Ably is a real-time data streaming platform. Publish and subscribe to messages on channels, track pr...
This server provides AI-powered tools for creating entity-relationship diagrams, helping users visua...
Algolia is a hosted search engine as a service providing developers with tools to index and search t...
Alpic provides advanced AI-driven solutions for various applications, focusing on enhancing user exp...
Amazon Redshift is a fast, fully managed, petabyte-scale data warehouse service in the cloud. Run co...
Workflow: 'Help me ask a great Stack Overflow question'. Search for similar questions to avoid dupli...