Skip to main content
Glama

use_notebook

Activate a Jupyter notebook for executing code cells and managing content within JupyterLab environments through the Model Context Protocol.

Instructions

Use a notebook and activate it for following cell operations. All cell operations will be performed on the currently activated notebook. Activate new notebook will deactivate the previously activated notebook. Reactivate previously activated notebook using same notebook_name and notebook_path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
notebook_nameYesUnique identifier for the notebook
notebook_pathYesPath to the notebook file, relative to the Jupyter server root (e.g. 'notebook.ipynb')
modeNoNotebook operation mode: 'connect' to connect to existing and activate it, 'create' to create new and activate itconnect
kernel_idNoSpecific kernel ID to use (will create new if skipped)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/datalayer/jupyter-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server