jupyter_mcp_sandboxes is an optional extension for
jupyter-mcp-server that adds
sandbox-backed code execution. It is discovered automatically through the
reactor.mcp.extensions entry point (powered by
reactor and
reactor_mcp_server) once
installed. Its four tools are in the sandboxes toolset, so a client that
wants them and nothing else connects to /mcp?only=sandboxes.
Features
Installing this extension exposes four additional MCP tools:
launch_sandbox— launch a code sandbox (eval,docker,jupyter-server,datalayer,daytona,e2b,coreweave,cloudflare,google-colab,kaggle,monty,modal).list_sandboxes— list launched sandboxes and their state.use_sandbox— select (or clear) the active sandbox used byexecute_code.terminate_sandbox— stop and unregister a sandbox.
It also lets SANDBOX_VARIANT route the standard notebook/cell execution tools
through a non-jupyter backend via the sandbox's plain kernel client when the
selected variant exposes one.
Installation
pip install jupyter_mcp_sandboxes
Backend-specific extras are provided by the underlying
code-sandboxes package, e.g.:
pip install "code-sandboxes[modal]" # Modal
pip install "code-sandboxes" # Google Colab (included in base)
pip install "code-sandboxes[kaggle]" # Kaggle
pip install "code-sandboxes[daytona]" # Daytona
pip install "code-sandboxes[e2b]" # E2B
pip install "code-sandboxes[coreweave]" # CoreWeave
pip install "code-sandboxes[cloudflare]" # Cloudflare
Usage
Once installed, start jupyter-mcp-server as usual — no flag is required. The
sandbox tools appear automatically. To route execute_code through a specific
backend by default, set SANDBOX_VARIANT:
SANDBOX_VARIANT=monty jupyter-mcp-server start --transport streamable-http
License
BSD 3-Clause License. Copyright (c) 2024- Datalayer, Inc.
Release files for jupyter-mcp-sandboxes 0.2.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jupyter_mcp_sandboxes-0.2.6.tar.gz | 23.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jupyter_mcp_sandboxes-0.2.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 40.5 kB
Release files / jupyter_mcp_sandboxes-0.2.6.tar.gz
| Download URL | jupyter_mcp_sandboxes-0.2.6.tar.gz |
|---|---|
| Size | 23.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
acb1f57e217f1ca9b6c7a04307489c02c09891374a064f7227f1acaefbefdf1b
|
|
BLAKE2b-256 checksum How to use checksums |
ab61075a0ade5ebe3a1247b9798e63c93822befb6bb933e552685835a49763ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.11
|
Release files / jupyter_mcp_sandboxes-0.2.6-py3-none-any.whl
| Download URL | jupyter_mcp_sandboxes-0.2.6-py3-none-any.whl |
|---|---|
| Size | 16.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
30088e1fbdf1a4bd39fcf155c1698d310941070c2fc41a2b0037f90031e29480
|
|
BLAKE2b-256 checksum How to use checksums |
cb54c5086ec0e059cb0eaab98d4f8dedf6fea4849a36e9b997cad7c90e9a89e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.11
|