Yes. Cursor documents support for .ipynb notebooks and .py files, with cell execution in the editor; for full notebook support, it recommends installing the Jupyter extension, ms-toolsai.jupyter (Cursor’s Data Science documentation).

A Jupyter notebook combines executable code with Markdown text. Microsoft Learn describes native notebook editing in Visual Studio Code as well (Microsoft Learn).

What Cursor and VS Code document

Cursor’s documentation also says its Tab and Agent tools work within notebooks. That gives you a documented route to open and run notebook cells in Cursor, while Microsoft Learn describes notebook editing in VS Code. These descriptions cover each editor’s stated capabilities.

What the Cursor Agent report involved

On February 6, 2026, a user reported that accepted Agent edits to Jupyter notebooks could not be undone with Ctrl+Z or restored from an Agent checkpoint on Cursor 2.4.28 for macOS. Cursor staff called it a known issue and recommended editing .py files, backing up cells manually, or committing changes before an Agent session (Cursor forum thread).

For notebook work where you want a recovery point before an Agent edit, the staff recommendations were to save a copy of the cells or make a Git commit first.