SMART-E2B

Provides secure cloud sandbox execution of JavaScript and Python with file management for Claude AI Desktop.
  • typescript

0

GitHub Stars

typescript

Language

7 months ago

First Indexed

3 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "leghis-smart-e2b": {
      "command": "npx",
      "args": [
        "-y",
        "smart-e2b"
      ],
      "env": {
        "E2B_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

SMART-E2B MCP Server integrates cloud sandbox execution with E2B for running JavaScript and Python securely, designed to work with Claude AI Desktop. It enables you to perform code execution, file management, and session reuse within a cloud sandbox, all accessible through MCP-enabled clients.

How to use

You connect to SMART-E2B via an MCP client and then access its tools directly in your Claude AI Desktop conversations. You can run JavaScript or Python code in a cloud sandbox, upload files to the sandbox, list files, and read file contents. The server reuses sandbox sessions to optimize performance and automatically handles timeouts and errors for smoother operations.

How to install

Prerequisites you need before installing SMART-E2B MCP Server:

  • Node.js 16 or newer
  • An E2B API key obtained from e2b.dev
  • Claude AI Desktop
# Installing via Smithery
npx -y @smithery/cli install @Leghis/smart-e2b --client claude
# Manual installation
# Global install from NPM
npm install -g smart-e2b

# OR install directly from GitHub
npm install -g git+https://github.com/Leghis/smart-e2b.git

Advancing configuration and usage notes

Configure Claude AI Desktop to connect to SMART-E2B by adding an MCP server entry. Create or edit the Claude desktop configuration file and include the following block under the mcpServers section. Replace YOUR_API_KEY with your actual E2B API key.

{
  "mcpServers": {
    "smart-e2b": {
      "command": "npx",
      "args": ["-y", "smart-e2b"],
      "env": {
        "E2B_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

After saving the configuration, restart Claude AI Desktop to apply the new MCP server connection. Once connected, you will be able to access SMART-E2B tools directly in your conversations.

Examples of typical usage

JavaScript in the cloud sandbox example run would look like asking to execute a function that computes a sequence or performs a data transformation within the sandbox environment.

Python in the cloud sandbox example run would involve executing data analysis or plotting code that generates outputs such as charts or statistics, stored back in the sandbox.

Available tools

executeJavaScript

Runs JavaScript code in a cloud sandbox and returns the output or results.

executePython

Runs Python code in a cloud sandbox and returns the output or results.

uploadFile

Uploads a file from your local context to the sandbox storage for use in code execution.

listFiles

Lists files available in a sandbox directory to inspect data and manage content.

readFile

Reads and returns the contents of a file stored in the sandbox.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational