Auto-reload Jupyter notebooks in VS Code when .ipynb files change on disk. Essential for MCP server workflows (Datalayer, Claude Code, Cursor) where external processes modify notebooks.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Auto-reload Jupyter notebooks in VS Code when .ipynb files are modified externally.
Problem
When external tools (MCP servers, CLI agents, scripts) modify .ipynb files on disk, VS Code's notebook editor does not automatically reflect the changes. You have to manually switch tabs or revert the file.
This is a known limitation that affects:
Jupyter MCP servers (Datalayer, Block, etc.) used with Claude Code, Cursor, or other AI agents
Remote/HPC environments where inotify doesn't work (GPFS, NFS, Lustre)
Any workflow where notebooks are modified outside VS Code
Solution
This extension polls open .ipynb files for changes and updates VS Code's in-memory notebook model directly using the NotebookEdit API. Only changed cells are replaced, preserving your scroll position.
Features
Polls open notebooks for disk changes (configurable interval)
Diff-based updates — only modified/added/removed cells are touched
Scroll position preserved — unchanged cells are not replaced