Command Palette

Search for a command to run...

UnylyUnyly
Browse all

E2B Code Sandbox

FreeNot checked

Provides secure code execution capabilities through E2B's cloud sandbox infrastructure, enabling Python code execution and shell command execution in isolated e

GitHubEmbed

About

Provides secure code execution capabilities through E2B's cloud sandbox infrastructure, enabling Python code execution and shell command execution in isolated environments.

README

MCP (Model Context Protocol) server for E2B code sandbox. This server provides tools to create, manage, and execute code in secure E2B sandboxes.

Features

  • Create Sandbox: Create new E2B sandboxes with customizable timeout and template
  • Kill Sandbox: Terminate existing sandboxes by ID
  • Run Code: Execute Python code in sandboxes using Jupyter Notebook syntax
  • Run Command: Execute shell commands in sandboxes

Installation

pip install code-sandbox-mcp

Or using uv:

uv pip install code-sandbox-mcp

Usage

Configuration

Add the following configuration to your MCP client settings JSON file (e.g., ~/.config/claude_desktop/claude_desktop_config.json for Claude Desktop, or .cursor/mcp.json for Cursor):

{
  "mcpServers": {
    "code-sandbox-mcp": {
      "command": "uv",
      "args": ["run", "code-sandbox-mcp"],
      "env": {
        "E2B_API_KEY": "your_api_key_here",
        "E2B_DOMAIN": "your_domain_here"
      }
    }
  }
}

Replace your_api_key_here and your_domain_here with your actual E2B credentials.

Restart your MCP client to load the configuration. The tools will be available in your MCP-enabled application!

License

MIT

from github.com/feifeigood/code-sandbox-mcp

Installing E2B Code Sandbox

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/feifeigood/code-sandbox-mcp

FAQ

Is E2B Code Sandbox MCP free?

Yes, E2B Code Sandbox MCP is free — one-click install via Unyly at no cost.

Does E2B Code Sandbox need an API key?

No, E2B Code Sandbox runs without API keys or environment variables.

Is E2B Code Sandbox hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install E2B Code Sandbox in Claude Desktop, Claude Code or Cursor?

Open E2B Code Sandbox on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare E2B Code Sandbox with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs