drio
Open app

E2B MCP Server

Source

Mirror of

Catalog onlyCatalog onlySTDIO

Overview

E2B MCP Server is a code interpreting server that enhances the Claude Desktop app by allowing it to execute code through the E2B Sandbox.

To use the E2B MCP Server, you can install it via Smithery using the command: npx @smithery/cli install e2b --client claude. You can also choose between JavaScript and Python editions for your implementation.

  • Code interpreting capabilities for the Claude Desktop app. - Available in both JavaScript and Python editions. - Easy installation via Smithery.
  1. Enhancing applications with code execution features.
  2. Allowing developers to test and run code snippets in real-time.
  3. Integrating code interpretation into various desktop applications.

Add to your AI client

Use these steps to connect E2B MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "e2b-dev-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-e2b-dev-mcp-server-mcp-mirror"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "e2b-dev-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-e2b-dev-mcp-server-mcp-mirror"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "e2b-dev-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-e2b-dev-mcp-server-mcp-mirror"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "e2b-dev-mcp-server-mcp-mirror": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-e2b-dev-mcp-server-mcp-mirror"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "e2b-dev-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-e2b-dev-mcp-server-mcp-mirror"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "e2b-dev-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-e2b-dev-mcp-server-mcp-mirror"
      ]
    }
  }
}

FAQ

What programming languages does E2B MCP Server support?

E2B MCP Server currently supports JavaScript and Python.

How do I install E2B MCP Server?

You can install it using the Smithery CLI with the command provided in the documentation.

Is E2B MCP Server free to use?

Yes! E2B MCP Server is free to use for developers.