Cursor notebook MCP
MCP server by jbeno Verified · gh:jbeno
Cursor notebook MCP is an MCP server that lets AI agents in Cursor read and edit Jupyter Notebook (.ipynb) files. It restricts operations to user-defined directories and offers tools for cells, metadata, outputs and export.
Install Cursor notebook MCP
Built from the published package, never by AI.
claude mcp add cursor-notebook-mcp -- uvx cursor-notebook-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"cursor-notebook-mcp": {
"args": [
"cursor-notebook-mcp"
],
"command": "uvx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"cursor-notebook-mcp": {
"args": [
"cursor-notebook-mcp"
],
"command": "uvx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"cursor-notebook-mcp": {
"args": [
"cursor-notebook-mcp"
],
"command": "uvx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add cursor-notebook-mcp -- uvx cursor-notebook-mcp{
"mcpServers": {
"cursor-notebook-mcp": {
"args": [
"cursor-notebook-mcp"
],
"command": "uvx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install Cursor notebook MCP in Antigravity CLI
gemini mcp add cursor-notebook-mcp uvx cursor-notebook-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the cursor-notebook-mcp block.
About
Cursor notebook MCP is a Model Context Protocol server that lets AI agents inside Cursor interact with Jupyter Notebook (.ipynb) files. It was created because, as of Cursor version 0.50.5 in Agent mode, the model could not edit notebook cells from the chat pane. The server uses nbformat to manipulate notebook structures and restricts operations to user-defined directories. It also uses nbconvert to export notebooks to formats such as Python scripts and HTML.
The server exposes tools for creating, reading, editing, splitting, merging and exporting notebooks, plus outline and search helpers. It supports stdio, Streamable HTTP and SSE transports. The author notes it can also be used with VS Code (Insiders) or Claude Code. It is aimed at people who edit Jupyter notebooks with AI agents in Cursor or other MCP clients.
Written from the project's README and checked against it.
Tools it gives your assistant
notebook_createCreates a new, empty notebook file.notebook_add_cellAdds a new code or markdown cell after a specified index.notebook_edit_cellReplaces the source content of a specific cell.notebook_split_cellSplits a cell into two at a specified line number.notebook_merge_cellsMerges a cell with the cell immediately following it.notebook_bulk_add_cellsAdds multiple cells to a notebook in a single operation.notebook_searchSearches cells for a keyword and shows matches with contextual snippets.notebook_get_outlineShows cell numbers with major headings or functions and line counts.notebook_validateValidates the notebook structure against the nbformat schema.notebook_exportExports the notebook to another format, such as python or html, using nbconvert.
What you need
- Python 3.10 or later
- Cursor, or another MCP-capable client such as VS Code (Insiders) or Claude Code
- Pandoc (optional, needed for many non-HTML export formats)
- LaTeX with XeLaTeX recommended (optional, needed for PDF export)
Try asking
- Create a new notebook called analysis.ipynb in my project folder
- Search my notebook for the cell that loads the dataset and show it
- Export this notebook to a Python script
Good to know
- Operations are restricted to user-defined directories.
- PDF export needs Pandoc and LaTeX installed separately.
- SSE is considered a legacy transport; Streamable HTTP is preferred.
- With HTTP or SSE transports, the server must be running before Cursor connects.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Cursor notebook MCP
All alternatives →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
Compare with GitDiagram, mockserver or XcodeBuildMCP
Cursor notebook MCP: common questions
Why was this MCP server created?
The source says it was created because, as of Cursor 0.50.5 in Agent mode, the model could not edit notebooks or notebook cells in response to chat.
Can it be used outside Cursor?
Yes. The author says it can be configured for VS Code (Insiders), Claude Code, or any model or agent that supports MCP.
Does it limit which files the agent can access?
Yes. The server restricts operations to directories the user defines, set with the allow-root option.
How do I install Cursor notebook MCP?
In Claude Code run claude mcp add cursor-notebook-mcp -- uvx cursor-notebook-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Cursor notebook MCP the official server?
Cursor notebook MCP is published by gh:jbeno from its verified domain in the official MCP Registry.
Is Cursor notebook MCP free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is Cursor notebook MCP safe to use?
It scores 51 of 100. Grades: maintenance F, licence F, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Cursor notebook MCP?
Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.
Does Cursor notebook MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
