Skip to Content
Overview

Last Updated: 3/7/2026


MCP Gateway

E2B provides a batteries-included MCP gateway that runs inside sandboxes, giving you type-safe access to 200+ MCP tools.

What is MCP?

The Model Context Protocol (MCP)  is an open standard for connecting AI models to external tools and data sources.

Quick Start

import { Sandbox } from 'e2b' const sandbox = await Sandbox.create({ template: 'mcp-gateway' }) // List available MCP servers const servers = await sandbox.mcp.listServers() console.log('Available servers:', servers) await sandbox.close()