LabStore
← All labs

E2B

by docker ✓ verified ✓ Packaged by Docker

Giving Claude ability to run code with E2B via MCP (Model Context Protocol).

MCP server installable needs setup network: on runtime: sysbox

DevOps MCP Servers

E2B MCP Server

Giving Claude ability to run code with E2B via MCP (Model Context Protocol).

What is an MCP Server?

MCP Info

Attribute Details
Docker Image mcp/e2b
Author e2b-dev
Repository https://github.com/e2b-dev/mcp-server

Image Building Info

Attribute Details
Dockerfile https://github.com/e2b-dev/mcp-server/blob/dba87432cacaa7a5af1326d72e37e2d770628a0b/Dockerfile
Commit dba87432cacaa7a5af1326d72e37e2d770628a0b
Docker Image built by Docker Inc.
Docker Scout Health Score Docker Scout Health Score
Verify Signature COSIGN_REPOSITORY=mcp/signatures cosign verify mcp/e2b --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub
Licence Apache License 2.0

Available Tools (1)

Tools provided by this Server Short Description
run_code Run python code in a secure sandbox by E2B.

Tools Details

Tool: run_code

Run python code in a secure sandbox by E2B. Using the Jupyter Notebook syntax.

Parameters Type Description
code string

Use this MCP Server

{
  "mcpServers": {
    "e2b": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "E2B_API_KEY",
        "mcp/e2b"
      ],
      "env": {
        "E2B_API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}

Why is it safer to run MCP Servers with Docker?