Notebook MCP for VS Code is a local MCP bridge for live Jupyter notebooks in VS Code.
It lets coding agents work with the same notebook document and selected Python/Jupyter kernel that the human sees in the editor. Agents can read notebook code, inspect outputs, insert and reorder cells, run cells or ranges, stream long-running output, save notebooks, and export results.
How it works
The extension starts a local Notebook MCP endpoint when VS Code starts.
The agent calls notebook_status to find open notebooks.
The agent chooses a notebook_uri and passes it on every notebook tool call.
Tool calls route through the VS Code Notebook API, so edits stay visible in the editor and support normal undo/redo behavior.
Common workflow
notebook_status
notebook_read
notebook_edit_cells or notebook_move_cells
notebook_run
notebook_operation for streaming long-running output