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 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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jupyter_mcp_sandboxes-0.1.3-py3-none-any.whl.
File metadata
- Download URL: jupyter_mcp_sandboxes-0.1.3-py3-none-any.whl
- Upload date:
- Size: 11.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12f19164470f382ba48f5e0aad88011384297ff1bafe95567462695077dedb08
|
|
| MD5 |
8d698346b529eeda0f313de60d12041e
|
|
| BLAKE2b-256 |
092a0ab4333cf944178caa49adf28d8a905c0cb1404eb7e7e9b614a41eac41f2
|