npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

smart-e2b

v0.1.2

Published

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

Readme

SMART-E2B

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.

Caractéristiques

  • Exécution sécurisée de code JavaScript et Python dans le cloud
  • Gestion de fichiers intégrée (upload, lecture, liste)
  • Réutilisation intelligente des sessions sandbox pour optimiser les performances
  • Gestion automatique des timeouts et des erreurs
  • Compatible avec Claude AI Desktop via MCP

Prérequis

  • Node.js (v16 ou supérieur)
  • Clé API E2B (obtenue sur e2b.dev)
  • Claude AI Desktop

Installation

# Installation globale depuis NPM
npm install -g smart-e2b

# OU installation directe depuis GitHub
npm install -g git+https://github.com/Leghis/smart-e2b.git

Configuration avec Claude AI Desktop

  1. Ouvrez Claude AI Desktop
  2. Allez dans les paramètres > onglet Développeur > Modifier la configuration
  3. Ajoutez la configuration suivante au fichier claude_desktop_config.json :
{
  "mcpServers": {
    "smart-e2b": {
      "command": "npx",
      "args": ["-y", "smart-e2b"],
      "env": {
        "E2B_API_KEY": ""
      }
    }
  }
}
  1. Redémarrez Claude AI Desktop

Utilisation

Une fois configuré, vous pourrez accéder aux outils SMART-E2B directement depuis les conversations avec Claude AI Desktop.

Outils disponibles

  • 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 :

Exécution de code JavaScript

Je voudrais tester ce code JavaScript :

function fibonacci(n) {
  if (n <= 1) return n;
  return fibonacci(n-1) + fibonacci(n-2);
}

console.log(fibonacci(10));

Exécution de code Python

Pourrais-tu exécuter ce code Python pour analyser des données ?

import numpy as np
import matplotlib.pyplot as plt

# Générer des données aléatoires
data = np.random.normal(0, 1, 1000)

# Calculer les statistiques
mean = np.mean(data)
std = np.std(data)

print(f"Moyenne: {mean:.4f}")
print(f"Écart-type: {std:.4f}")

# Créer un histogramme
plt.hist(data, bins=30)
plt.title('Distribution normale')
plt.savefig('histogram.png')

Développement

Pour contribuer ou modifier le projet :

# Cloner le dépôt
git clone https://github.com/Leghis/smart-e2b.git
cd smart-e2b

# Installer les dépendances
npm install

# Compiler
npm run build

# Tester localement
npm start

Licence

MIT