Jupyter Mcp Server

general MCP Server

🪐 🔧 Model Context Protocol (MCP) Server for Jupyter.

FreshInstall Ready
generalgeneral
5 views1,278 stars197 forksBSD-3-Clause

Why This Matters

Discovered via unknown and last synced 1d ago.

FreshInstall Ready
Source
unknown
Stars
1,278
Last synced
1d ago
Install
Instructions detected

Install

1. Install the package

uvx jupyter-mcp-server@latest

2. Add to claude_desktop_config.json

{
  "mcpServers": {
    "jupyter-mcp-server": {
      "command": "uvx",
      "args": [
        "jupyter-mcp-server@latest"
      ]
    }
  }
}

Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) / %APPDATA%\Claude\claude_desktop_config.json (Windows)

49
Tools
0
Resources
0
Prompts
Standard I/O
Transport

Available Tools (49)

execute_temporary_code

执行临时代码块(不存储到Notebook中)

connect_notebook

连接/创建指定路径的Notebook

list_notebook

列出所有目前连接的Notebook

overwrite_cell

覆盖指定名称的Notebook指定索引的Cell内容

append_execute_code_cell

在Notebook末尾添加并执行Code Cell

list_cell

列出指定名称的Notebook的所有Cell的基本信息

list_notebooks

List all notebooks available on the Jupyter server and their status

overwrite_cell_source

Overwrite the source code of an existing cell.

delete_cell

Delete a cell at a specified index.

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.

use_notebook

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

move_cell

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

execute_cell

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

read_notebook

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

restart_notebook

Restart the kernel for a specific managed notebook.

insert_cell

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

notebook_run-all-cells

Execute all cells in the current notebook sequentially

jupyter-cite

Cite specific cells from specified notebook (like `@` in Coding IDE or CLI)

launch_sandbox

Launch a code sandbox (eval/docker/jupyter-server/datalayer/daytona/e2b/coreweave/cloudflare/kaggle/google-colab/monty/modal) as an alternative execution backend for `execute_code`. Supports variant-specific options including GPU flavor for supported backends. Requires the `jupyter_mcp_sandboxes` extension.

list_sandboxes

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

use_sandbox

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

terminate_sandbox

Stop and unregister a launched code sandbox. Requires the `jupyter_mcp_sandboxes` extension.

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.*

unuse_notebook

Disconnect from a specific notebook and release its resources.

clear_cell_output

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

jupyter

colab

`jupyter-mcp-server[colab]`

read_cell

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

jupyter-mcp-server

`CODE_SANDBOX_URL`, `CODE_SANDBOX_ID`, `CODE_SANDBOX_PROXY_TOKEN`

jupyter-server

Modal

`modal`

E2B

`e2b`

Name

Description

edit_cell_source

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

insert_execute_code_cell

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

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.

notebook_get-selected-cell

Get information about the currently selected cell

Engine

`SANDBOX_VARIANT`

Daytona

`daytona`

JupyterHub

`jupyter-server`

Datalayer

`datalayer`

Kaggle

`kaggle`

CoreWeave

`coreweave`

Monty

`monty`

Cloudflare

`cloudflare`

google-colab

`jupyter-mcp-server`

E2B_API_KEY

[Setup](https://jupyter-mcp-server.datalayer.tech/code-sandboxes/e2b)

CWSANDBOX_API_KEY

[Setup](https://jupyter-mcp-server.datalayer.tech/code-sandboxes/coreweave)