|
4 | 4 |
|
5 | 5 | This directory contains a Model Context Protocol (MCP) server designed to allow AI agents **within Cursor** to interact with Jupyter Notebook (`.ipynb`) files. It was created to overcome a limitation with Cursor. As of version 0.50.5, in Agent mode, the model could not edit notebooks or notebook cells in response to dialog in the AI chat pane. This provides the agent with a suite of MCP tools that allow direct notebook cell manipulation.
|
6 | 6 |
|
7 |
| -I'm sure at some point this will be handled natively by Cursor, but I have a data science background, and I live in Jupyter notebooks. I got tired of copy/paste-ing output of the chat manually into the notebook cells. |
8 |
| - |
9 | 7 | Although designed to overcome a limitation with Cursor, this MCP server does not have anything specific to Cursor other than the configuration instructions. You could easily configure this for use with VS Code (Insiders) or Claude Code or any model/agent that can take advantage of MCP. Note that VS Code (Insiders) has pretty good Jupyter Notebook support now.
|
10 | 8 |
|
11 | 9 | This MCP server uses the `nbformat` library to safely manipulate notebook structures and enforces security by restricting operations to user-defined directories. It also uses `nbconvert` to enable exporting notebooks to various formats like Python scripts, HTML, and more. The server handles all notebook operations through a clean API that maintains notebook integrity and prevents malformed changes.
|
12 | 10 |
|
| 11 | +## Latest Version |
| 12 | + |
| 13 | +**Current Version:** `0.3.0` - See the [CHANGELOG.md](CHANGELOG.md) for details on recent changes. Key additions include SFTP support, Streamable HTTP transport, and new tools like `notebook_edit_cell_output`, `notebook_bulk_add_cells`, and `notebook_get_server_path_context` to improve notebook editing and path handling. |
| 14 | + |
13 | 15 | ## Video Walkthrough
|
14 | 16 |
|
| 17 | +### [Notebook MCP Server 0.3.0 Update](https://youtu.be/R3TGyuej-IM) (YouTube) |
| 18 | + |
| 19 | +[](https://youtu.be/R3TGyuej-IM) |
| 20 | + |
| 21 | +* Updates in the **0.3.0 release**, overview of new tools |
| 22 | +* FastMCP upgrade with **streamable HTTP transport** |
| 23 | +* **SFTP support** for editing Jupyter notebooks on remote SSH servers, |
| 24 | +* Issue resolution (#2, #4, #5) plus known issues (#1, #3) |
| 25 | + |
| 26 | +### [Overview of Notebook MCP Server](https://youtu.be/VOVMH-tle14) (YouTube) |
| 27 | + |
15 | 28 | [](https://youtu.be/VOVMH-tle14)
|
16 | 29 |
|
17 |
| -[Cursor Jupyter Notebook MCP Server](https://youtu.be/VOVMH-tle14) (YouTube) walks through: |
18 | 30 | - The current **limitations** of editing notebooks directly in Cursor.
|
19 | 31 | - **Installing** and **configuring** the Notebook MCP Server.
|
20 | 32 | - **Creating a notebook** from scratch (example shown: Singular Value Decomposition tutorial in less than 2 minutes).
|
21 | 33 | - Demonstrating various **editing tools** (edit, split, duplicate cells).
|
22 | 34 | - Reading notebook **metadata**.
|
23 | 35 | - **Exporting** notebooks to python
|
24 | 36 |
|
25 |
| -## Latest Version |
26 |
| - |
27 |
| -**Current Version:** `0.3.0` - See the [CHANGELOG.md](CHANGELOG.md) for details on recent changes. Key additions include SFTP support, Streamable HTTP transport, and new tools like `notebook_edit_cell_output`, `notebook_bulk_add_cells`, and `notebook_get_server_path_context` to improve notebook editing and path handling. |
28 |
| - |
29 | 37 | ## Features
|
30 | 38 |
|
31 | 39 | Exposes the following MCP tools (registered under the `notebook_mcp` server):
|
|
0 commit comments