by e2b-dev
Enables Claude to execute code through the E2B sandbox via the Model Context Protocol, providing seamless code interpretation within the Claude Desktop app.
Allows Claude Desktop to run arbitrary code by delegating execution to the E2B sandbox, turning Claude into an interactive code‑interpreter.
Install the server automatically with Smithery:
npx @smithery/cli install e2b --client claude
After installation, configure Claude Desktop to point to the local MCP endpoint. The JavaScript and Python packages in the packages/
folder offer SDKs for custom integrations.
npx
command.Q: Do I need an API key?
A: Yes, the E2B sandbox requires an API key; set it in the environment variable API_KEY
.
Q: Which languages are supported? A: The server itself is language‑agnostic; the provided SDKs cover JavaScript and Python, but any language can communicate via the MCP endpoint.
Q: How is security handled? A: Code runs inside an isolated container managed by E2B, preventing access to the host system.
Q: Can I run long‑running tasks? A: Yes, the sandbox supports asynchronous execution and can stream results back to Claude.
Q: Is there a UI for monitoring executions? A: Execution logs can be accessed through the E2B dashboard or programmatically via the SDK.
This repository contains the source code for the E2B MCP server.
The E2B MCP server allows you to add code interpreting capabilities to your Claude Desktop app via the E2B Sandbox. See demo here.
Available in two editions:
You can also install E2B for Claude Desktop automatically via Smithery:
npx @smithery/cli install e2b --client claude
Please log in to share your review and rating for this MCP.
{ "mcpServers": { "e2b": { "command": "npx", "args": [ "@smithery/cli", "install", "e2b", "--client", "claude" ], "env": { "API_KEY": "<YOUR_API_KEY>" } } } }
Discover more MCP servers with similar functionality and use cases
by zed-industries
Provides real-time collaborative editing powered by Rust, enabling developers to edit code instantly across machines with a responsive, GPU-accelerated UI.
by cline
Provides autonomous coding assistance directly in the IDE, enabling file creation, editing, terminal command execution, browser interactions, and tool extension with user approval at each step.
by continuedev
Provides continuous AI assistance across IDEs, terminals, and CI pipelines, offering agents, chat, inline editing, and autocomplete to accelerate software development.
by github
Enables AI agents, assistants, and chatbots to interact with GitHub via natural‑language commands, providing read‑write access to repositories, issues, pull requests, workflows, security data and team activity.
by block
Automates engineering tasks by installing, executing, editing, and testing code using any large language model, providing end‑to‑end project building, debugging, workflow orchestration, and external API interaction.
by RooCodeInc
An autonomous coding agent that lives inside VS Code, capable of generating, refactoring, debugging code, managing files, running terminal commands, controlling a browser, and adapting its behavior through custom modes and instructions.
by lastmile-ai
A lightweight, composable framework for building AI agents using Model Context Protocol and simple workflow patterns.
by firebase
Provides a command‑line interface to manage, test, and deploy Firebase projects, covering hosting, databases, authentication, cloud functions, extensions, and CI/CD workflows.
by gptme
Empowers large language models to act as personal AI assistants directly inside the terminal, providing capabilities such as code execution, file manipulation, web browsing, vision, and interactive tool usage.