jupyter

v1.1.29
@fre4x/jupyter Checked 4 days ago Published 1 month ago

Jupyter 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

ParameterTypeDescription
path *stringPath to the .ipynb file

jupyter_create_notebook

Create a new empty Jupyter notebook

ParameterTypeDescription
path *stringPath to create the new .ipynb file
kernel_namestringKernel name to record in notebook metadata, e.g. python3

jupyter_add_cell

Add a new cell to a Jupyter notebook

ParameterTypeDescription
cell_type *stringType of the cell: code or markdown
path *stringPath to the .ipynb file
source *stringContent of the cell
indexnumberIndex to insert at (defaults to end)

jupyter_update_cell

Update the content of an existing cell in a notebook

ParameterTypeDescription
index *numberIndex of the cell to update
path *stringPath to the .ipynb file
source *stringNew content of the cell

jupyter_execute_code

Execute code in a Jupyter kernel and optionally save results to a notebook file

ParameterTypeDescription
code *stringCode to execute
cell_indexnumberZero-based cell index to update with execution results (requires path)
kernel_idstringKernel ID to execute in; defaults to the first active or an auto-created managed kernel
pathstringPath 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

ParameterTypeDescription
path *stringPath to the .ipynb file to open
urlstringOptional local Jupyter base URL to open instead of the managed server