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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for jupyter_mcp_sandboxes-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a7189c6342e1815e6c4e057d037189c7474291cc86b304713f01dbe5fde706f8
MD5 614ba6465bef7dc0155c1930ac870a47
BLAKE2b-256 41e6066ece8ffb068cd9af3240e2151b1e192d02ff761f0858d83fa7d70ec07f

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.3

1 file

0.2.2

1 file

This release

0.2.1 This release

1 file

0.2.0

1 file

0.1.5

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