Purpose: To provide AI with an MCP server that connects to and manages Jupyter Notebook, allowing MCP clients (such as Claude Desktop, Cursor, Windsurf) to view, edit, and execute notebook code in real time.
Main capabilities: real-time viewing of notebook changes; automatically adjusting based on output when cell execution fails; understanding the entire notebook context; supporting multimodal output such as images, charts, and text; switching between multiple notebooks; JupyterLab integration (such as automatically opening notebooks); built-in OpenTelemetry observability. Tools are divided into four groups: server and code sandbox (browse the file system, list kernels, runtime connection, start/select/terminate sandbox), notebook (open, create, switch, read, restart kernel, release), cell (read, insert, delete, move, reorder, edit, clear output), execution (run cells or arbitrary code, supporting multimodal output and streaming). Sandbox tools require the optional extension jupyter_mcp_sandboxes.
Usage: Can be self-hosted, pointing to an existing Jupyter (local or JupyterHub), with no account required; Datalayer hosted endpoints can also be used https://mcp.datalayer.run/mcp。快速开始用 uvx, Docker is recommended for production. Variables such as JUPYTER_URL, JUPYTER_TOKEN, and DOCUMENT_ID need to be configured; if the LLM does not support multimodality, set ALLOW_IMG_OUTPUT=false. After installing uv, configure the MCP client. The sandbox variant is selected via SANDBOX_VARIANT (jupyter-server, datalayer, daytona, e2b, coreweave, cloudflare, kaggle, google-colab, monty, modal).
Applicable scenarios: data science workflows, notebook automation, AI-assisted coding and data analysis.
Limitations: Sandbox functionality depends on an optional extension; some MCP clients may not support returning image data; complex tasks are recommended to be split into subtasks and executed step by step. Specific fees and pricing are not yet provided.