Back to MCP Servers

E2B Code Sandbox

Secure cloud sandbox for executing code in isolated environments with full system access

sandboxcode-executionsecuritycloudcommunity
By E2B
39468Updated 1 month agoJavaScriptApache-2.0

Installation

npm install -g @e2b/mcp-server

Configuration

{
  "mcpServers": {
    "e2b": {
      "command": "npx",
      "args": ["-y", "@e2b/mcp-server"],
      "env": {
        "E2B_API_KEY": "your-e2b-api-key"
      }
    }
  }
}

How to use

  1. Run the installation command above (if needed)
  2. Open your Claude Code settings file (~/.claude/settings.json)
  3. Add the configuration to the mcpServers section
  4. Restart Claude Code to apply changes

E2B MCP Server Preview Light E2B MCP Server Preview Dark

Deprecated: This project is no longer actively maintained. It may not receive further updates or bug fixes.

E2B MCP Server

smithery badge

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:

Installing via Smithery

You can also install E2B for Claude Desktop automatically via Smithery:

npx @smithery/cli install e2b --client claude
View source on GitHub