MCPVault

list_sandboxes

MCP tool from Jupyter MCP Server by datalayer

List launched code sandboxes and their state (active flag, variant, status, and selected code sandbox options). Requires the jupytermcpsandboxes extension.

How to use it

list_sandboxes is exposed by the Jupyter MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the list_sandboxes tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install Jupyter MCP Server

$pip install jupyterlab jupyter-collaboration jupyter-mcp-tools ipykernel
FULL JUPYTER MCP SERVER LISTING

Other tools in Jupyter MCP Server (23)

clear_cell_output

Clear the outputs and execution count of a single code cell.

connect_to_jupyter

Connect to a Jupyter server dynamically without restarting the MCP server. Not available when running as Jupyter extension. Useful for switching servers dynamically or avoiding hardcoded configuration.

delete_cell

Delete a cell at a specified index.

edit_cell_source

Apply surgical find-and-replace edits to a cell's source without full rewrite.

execute_cell

Execute a cell with timeout, supports multimodal output including images.

execute_code

Execute code directly in the active backend (kernel by default, or active sandbox if selected), supports magic commands and shell commands. When the selected sandbox supports streaming execution, progress/output events are consumed and returned in order.

insert_cell

Insert a new code or markdown cell at a specified position.

insert_execute_code_cell

Insert a new code cell and execute it in one step.

launch_sandbox

Launch a code sandbox (eval/docker/jupyter/datalayer/kaggle/googlecolab/google-colab/colab/monty/modal) as an alternative execution backend for executecode. Supports variant-specific options including GPU flavor for supported backends. Requires the jupytermcpsandboxes extension.

list_files

List files and directories in the Jupyter server's file system.

list_kernels

List all available and running kernel sessions on the Jupyter server.

list_notebooks

List all notebooks available on the Jupyter server and their status

move_cell

Move a cell from one position to another within a notebook.

notebook_get-selected-cell

Get information about the currently selected cell

notebook_run-all-cells

Execute all cells in the current notebook sequentially

overwrite_cell_source

Overwrite the source code of an existing cell.

read_cell

Read the full content (Metadata, Source and Outputs) of a single cell.

read_notebook

Read notebook cells source content with brief or detailed format options.

restart_notebook

Restart the kernel for a specific managed notebook.

terminate_sandbox

Stop and unregister a launched code sandbox. Requires the jupytermcpsandboxes extension.

unuse_notebook

Disconnect from a specific notebook and release its resources.

use_notebook

Connect to a notebook file, create a new one, or switch between notebooks.

use_sandbox

Select or clear the active sandbox used by executecode, enabling dynamic routing between kernel-backed and sandbox-backed execution. Requires the jupytermcpsandboxes extension.