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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jupyter_mcp_sandboxes-0.1.5-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file jupyter_mcp_sandboxes-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyter_mcp_sandboxes-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 31093ec59437f045651f376d59ba06156a64c1fe7146f9773b012ad468489270
MD5 be2df26bef900107be23f9b018df5e72
BLAKE2b-256 f943ac4c1f544e3afc2ef0f2d6c8498ab609aa4d6f81678e77a7d9d4bab412f0

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.3

1 file

0.2.2

1 file

0.2.1

1 file

0.2.0

1 file

This release

0.1.5 This release

1 file

0.1.4

1 file

0.1.3

1 file

0.1.2

1 file

0.1.1

1 file

0.1.0

1 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