Skip to main content

Datalayer

Become a Sponsor

🪐🔧 Jupyter MCP Server Sandboxes Extension

jupyter_mcp_sandboxes is an optional extension for jupyter-mcp-server that adds sandbox-backed code execution. It is discovered automatically through the jupyter_mcp_server.extensions entry point (powered by reactor) once installed.

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 by execute_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.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jupyter-mcp-sandboxes 0.2.4
File Size Uploaded
jupyter_mcp_sandboxes-0.2.4.tar.gz 22.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jupyter-mcp-sandboxes 0.2.4
File Interpreter ABI Platform
jupyter_mcp_sandboxes-0.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 38.2 kB

Release files / jupyter_mcp_sandboxes-0.2.4.tar.gz

Download URL jupyter_mcp_sandboxes-0.2.4.tar.gz
Size 22.3 kB
Tags Source
SHA-256 checksum
How to use checksums
fe699eb1c1ccfa4054fcbd824d732f5c7edda6e1ada3d70668e4056119ad74c4
BLAKE2b-256 checksum
How to use checksums
fcecaa1ccf9963bc2e5c386b3dea6d62a868d9c18f8bd71a52e03061ec9fef5b
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.4-py3-none-any.whl

Download URL jupyter_mcp_sandboxes-0.2.4-py3-none-any.whl
Size 15.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
271da0add2de6c9332c07a6e3a70f28a109b4f6937f2cb8b748bcff04c8205ab
BLAKE2b-256 checksum
How to use checksums
2c16d9a3c9a0033c1c70056c3f2039ea17273baaf83058945365bd1d61280a18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.11

Release history Release notifications | RSS feed

0.2.6

2 release files

0.2.5

2 release files

This release

0.2.4 This release

2 release files

0.2.3

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page