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, datalayer, 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

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.4-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for jupyter_mcp_sandboxes-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2d97bbe749e4125f364b3e565b398b1670016c2bbfe8533b76dfcf4f61179753
MD5 94fa9d670dd3c729589e265b53e865b6
BLAKE2b-256 9578792e7936b8776debe5ffccc179f23217a0e3a5b6e6da3ddd9025a7ca5b9c

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

0.1.5

1 file

This release

0.1.4 This release

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