e2b/e2b

MCP Server

E2B MCP Server - secure code execution sandbox for Python/JS

E2B secure code execution sandbox MCP server. Run Python and JavaScript code in isolated cloud environments.

MCP Server

  • Package: @e2b/mcp-server
  • Transport: stdio
  • Command: npx @e2b/mcp-server

Authentication

API key

VariableRequiredDescription
E2B_API_KEYYesAPI key from e2b.dev

Available Tools

ToolDescription
execute_codeExecute code in sandbox
manage_filesFile operations
manage_processesProcess management

Configuration Example

toml
[[mcp.servers]]
name = "e2b"
type = "stdio"
command = "npx"
args = ["-y", "@e2b/mcp-server"]
timeout_seconds = 60
env = { E2B_API_KEY = "your-value" }
tools = []

Notes: Paid API with free tier. Isolated execution environments.