jupyter
v1.1.29Jupyter Notebook MCP server
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
jupyter_get_notebook
Read a Jupyter notebook (.ipynb) file
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to the .ipynb file |
jupyter_create_notebook
Create a new empty Jupyter notebook
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to create the new .ipynb file |
kernel_name | string | Kernel name to record in notebook metadata, e.g. python3 |
jupyter_add_cell
Add a new cell to a Jupyter notebook
| Parameter | Type | Description |
|---|---|---|
cell_type * | string | Type of the cell: code or markdown |
path * | string | Path to the .ipynb file |
source * | string | Content of the cell |
index | number | Index to insert at (defaults to end) |
jupyter_update_cell
Update the content of an existing cell in a notebook
| Parameter | Type | Description |
|---|---|---|
index * | number | Index of the cell to update |
path * | string | Path to the .ipynb file |
source * | string | New content of the cell |
jupyter_execute_code
Execute code in a Jupyter kernel and optionally save results to a notebook file
| Parameter | Type | Description |
|---|---|---|
code * | string | Code to execute |
cell_index | number | Zero-based cell index to update with execution results (requires path) |
kernel_id | string | Kernel ID to execute in; defaults to the first active or an auto-created managed kernel |
path | string | Path to the .ipynb file to save execution results (optional) |
jupyter_list_kernels
List active kernels known to the current Jupyter server (returns mock data when MOCK=true)
jupyter_open_notebook
Open a Jupyter notebook in the default browser or viewer
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to the .ipynb file to open |
url | string | Optional local Jupyter base URL to open instead of the managed server |