E2B

E2B

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

10K+

1 Tool

Packaged by
Requires Secrets
Add to Docker Desktop

Version 4.43 or later needs to be installed to add the server automatically

About

E2B MCP Server

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

What is an MCP Server?⁠

MCP Info

AttributeDetails
Docker Imagemcp/e2b⁠
Authore2b-dev⁠
Repositoryhttps://github.com/e2b-dev/mcp-server⁠

Image Building Info

AttributeDetails
Dockerfilehttps://github.com/e2b-dev/mcp-server/blob/dba87432cacaa7a5af1326d72e37e2d770628a0b/Dockerfile⁠
Commitdba87432cacaa7a5af1326d72e37e2d770628a0b
Docker Image built byDocker Inc.
Docker Scout Health ScoreDocker Scout Health Score
Verify SignatureCOSIGN_REPOSITORY=mcp/signatures cosign verify mcp/e2b --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub
LicenceApache License 2.0

Available Tools (1)

Tools provided by this ServerShort Description
run_codeRun 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.

ParametersTypeDescription
codestring

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?⁠

Related servers