Skip to content

Cursor Notebook MCP

Model Context Protocol (MCP) server designed to allow AI agents within Cursor to interact with Jupyter Notebook (.ipynb) files

Install: pip install cursor-notebook-mcp

Works with Cursor · 161 GitHub stars

Install

$pip install cursor-notebook-mcp

Install command taken from the project's README or registry entry. Always review code before running it.

Jupyter Notebook MCP Server (for Cursor)

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.

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.

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.

Latest Version

Current Version: 0.3.2 - See the CHANGELOG.md for details on recent changes. This version includes a fix for pydantic 2.12.0+ compatibility. Previous 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.

Video Walkthrough

Notebook MCP Server 0.3.0 Update (YouTube)

  • Updates in the 0.3.0 release, overview of new tools
  • FastMCP upgrade with streamable HTTP transport
  • SFTP support for editing Jupyter notebooks on remote SSH servers,
  • Issue resolution (#2, #4, #5) plus known issues (#1, #3)

Overview of Notebook MCP Server (YouTube)

  • The current limitations of editing notebooks directly in Cursor.
  • Installing and configuring the Notebook MCP Server.
  • Creating a notebook from scratch (example shown: Singular Value Decomposition tutorial in less than 2 minutes).
  • Demonstrating various editing tools (edit, split, duplicate cells).
  • Reading notebook metadata.
  • Exporting notebooks to python

Features

Exposes the following MCP tools (registered under the notebook_mcp server):

Similar plugs

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…

Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发

MCP serverDatabases+105 this week

Explore related