Sandboxes extension for Jupyter MCP Server (launch/use code-sandboxes runtimes as an alternative to Jupyter kernels)
Project description
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 sandbox runtime (eval,docker,jupyter,datalayer,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 a SandboxKernel adapter.
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[colab]" # Google Colab
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.
Project details
Release history Release notifications | RSS feed
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.0-py3-none-any.whl.
File metadata
- Download URL: jupyter_mcp_sandboxes-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f49976eccf04017dd8f16356cae6fff458ec3b066c24556f6e9abe731c476b7
|
|
| MD5 |
893e42ebfb37c20b4eb158eb88cc54cf
|
|
| BLAKE2b-256 |
41be104ac2a0e0b94acd2cbd02e0ecd2a505fa3e7deaa358a35b756da9546730
|