Smart E2b MCP Server

A smart MCP server that integrates E2B for code execution in the cloud

Local serverstdioPython

What is the Smart E2b MCP server?

Smart E2b MCP server exists for a simple reason — assistants are far more useful when they can act on Smart E2b directly instead of describing what you should do. A smart MCP server that integrates E2B for code execution in the cloud.

What you get

Un serveur MCP (Model Context Protocol) qui intègre E2B pour exécuter du code dans des environnements sandbox sécurisés dans le cloud, spécialement conçu pour fonctionner avec Claude AI Desktop.

What the assistant can call

Once Smart E2b is connected, these are the calls the assistant has available:

  • executeJavaScript — Exécute du code JavaScript dans un sandbox cloud
  • executePython — Exécute du code Python dans un sandbox cloud
  • uploadFile — Téléverse un fichier dans le sandbox
  • listFiles — Liste les fichiers dans un répertoire du sandbox
  • readFile — Lit le contenu d'un fichier dans le sandbox
  • Exemples — Voici quelques exemples d'utilisation avec Claude AI Desktop :

Configuration and credentials

You will need one environment variable: E2B_API_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Setting it up

Installation goes through your MCP client rather than a global install: point it at @smithery/cli on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

Choosing this one

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Smart E2b's toolset — executeJavaScript, executePython, uploadFile and 3 more — is a fair guide to whether it matches your workflow. It is maintained by Leghis; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the smart e2b mcp server does with a few real requests.

Available tools

ToolWhat it does
executeJavaScriptExécute du code JavaScript dans un sandbox cloud
executePythonExécute du code Python dans un sandbox cloud
uploadFileTéléverse un fichier dans le sandbox
listFilesListe les fichiers dans un répertoire du sandbox
readFileLit le contenu d'un fichier dans le sandbox
ExemplesVoici quelques exemples d'utilisation avec Claude AI Desktop :

How to install the Smart E2b MCP server

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

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
E2B_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Smart E2b to executeJavaScript.
  • Use Smart E2b to executePython.
  • Use Smart E2b to uploadFile.

Frequently asked questions

It connects Smart E2b to MCP-compatible AI assistants such as Claude and Cursor, exposing 6 tools (executeJavaScript, executePython, uploadFile, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Smart E2b directly.