HTTP MCP server for Jupyter Notebooks in VS Code — portable URL config for Claude Code, Cursor, Windsurf, OpenCode, Kilo, Cline, Copilot and any MCP-compatible AI coding agent
Strong foundation with 18 well-named tools following verb_noun convention (jupyter_get_*, jupyter_run_*, jupyter_edit_*). All tools have descriptions (avg 180 chars, within 10-1024 baseline). Input schemas present and mostly complete with type definitions. However, output schemas are entirely undocumented, LLMs cannot predict return structures. Parameter descriptions are present but inconsistent in depth. Error handling guidance is minimal. Missing tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite clear risk classifications in metadata.
Create a new empty .ipynb on disk and open it in VS Code so it becomes visible to all other jupyter_* tools. Accepts an absolute path (or file:// URI); relative paths resolve against the first workspace folder.
Delete a cell by stable ID or 0-based index.
Replace a cell's source by stable ID or 0-based index. Editing assigns/keeps an ID persisted in cell metadata (#NB-*) that survives edits, insert/delete of other cells, save/reopen — reuse the same ID afterwards.
Read one cell's source by stable ID (preferred) or 0-based index. Supports line pagination for large cells.
Retrieve outputs of a cell. Short text is inlined; large/binary outputs saved as artifact files under .jupyter-mcp/artifacts/. Best called after jupyter_wait_until_idle.
List Python packages installed in the active kernel environment (name + version). Uses the Jupyter extension command when available, else an importlib.metadata probe on the kernel.
Output schemas completely undocumented. LLMs cannot predict return structures (fields, types, pagination). Affects all 18 tools. Violates pattern:tool and pattern:response-shaper.
Tool annotations missing. Risk classifications (READ_ONLY, WRITE, DESTRUCTIVE, REVERSIBLE) exist in metadata but not exposed as readOnlyHint/destructiveHint/idempotentHint in tool definitions. Agents cannot infer safety/retry semantics.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 67 | <=2025-11-25 | v2 |
Instant kernel/notebook status snapshot: kernelStatus (idle/busy/starting/...), kernel language, list of currently running cells, dirty state. Cheap check before deciding to wait or interrupt.
Compact notebook overview: path, cell count, runtime, kernel status, dirty state and cells with stable #NB-* IDs (persisted in the nbformat cell id), types, exec status, output mime types and first-line preview. Call this FIRST to explore structure — it also assigns IDs to any cell missing one. All indices are 0-based.
Rich kernel variable report (Copilot-style): type-aware summaries — DataFrame/Series/ndarray as shape/dtype/columns/head, containers with length, scalars as short repr. Tries jupyter.listVariables first, falls back to a silent executeCode probe; names are filtered against cell document symbols when available. Never affects execution count.
Insert a new code/markdown cell at a 0-based index. The new cell gets a persistent metadata ID (#NB-*) that cannot be recycled by later deletes.
Install Python packages into the ACTIVE KERNEL environment (pip runs inside the kernel interpreter, so remote runtimes like Colab are supported). Accepts version specs ("pandas", "requests==2.32.0"). Verifies resolution afterwards; budget 180s — prefer one call with all packages.
Interrupt current execution WITHOUT clearing kernel state — variables/imports survive. Use for stuck/long-running cells.
List all currently open Jupyter notebooks in VS Code.
Restart the kernel — clears all variables and imports.
START execution of code cells (non-blocking). Targets: 0-based index range [start,end) OR list of stable IDs; runs sequentially in listed order. Returns immediately with started cells — follow with jupyter_wait_until_idle then jupyter_get_outputs.
Save the notebook (.ipynb) to disk so edits/runs are persisted.
Open the VS Code kernel picker for this notebook so the user can pick a kernel, then report the resulting kernel status/language. Use when get_status reports no active kernel.
Wait until the kernel finishes all running cells (polls up to timeoutSec, default 45, cap 300). Returns idle=true with completed-cell results, or idle=false with still-running cells so you can poll again. Use after jupyter_run_cells instead of blind sleeps. Keep individual waits short (<= client MCP timeout) and re-poll rather than issuing one long wait.
Error handling guidance absent. No recovery hints, retryability classification, or actionable error messages documented. Violates pattern:recovery-guide and pattern:error-classification.
Parameter descriptions lack constraint details. E.g., timeoutSec has no min/max bounds (spec says 'cap 300' but not enforced in schema). Numeric ranges should be explicit in schema and description.
Pagination not documented for list tools. jupyter_list_open_notebooks and jupyter_get_pip_packages may return large result sets but lack limit/offset/cursor parameters or total count in response schema.