Back to MCP Servers

E2B Code Sandbox

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

sandboxcode-executionsecuritycloudcommunity
By E2B

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
View source on GitHub