E2B

Official

Run code in secure sandboxes hosted by E2B

About E2B MCP Server

E2B is an MCP server in the Development category. It exposes tools to connected AI applications, enabling them to interact with e2b capabilities through the standardized Model Context Protocol.

Features

Tools

Category

Development
Getting Started

To use the E2B MCP server in your AI application, follow these steps:

  1. Install the MCP client SDK for your platform
  2. Connect to the E2B MCP server
  3. Authenticate with your E2B credentials
  4. Start using the tools, resources, and prompts provided by the server

Example Code


// Connect to the E2B MCP server
const server = await mcp.connect("e2b");

// List available tools
const tools = await server.tools.list();

// List available resources
const resources = await server.resources.list();

// List available prompts
const prompts = await server.prompts.list();
                      
Installation

npm

npm install @mcp/server-e2b

pip

pip install mcp-server-e2b
Compatible With
Claude Desktop
Cursor
Windsurf
Zed
Any MCP-compatible client