code-review
Skill1.3k starsChanged 3 months agoBSD-3-ClauseView on GitHub
Review a change to Jupyter MCP Server. Use when reviewing a pull request or a diff in this repository — it covers the failure modes this codebase actually produces, the contracts that hold the docs and the protocol to the code, and the result-shape rules a new tool has to follow.
188 other projects use a version of this.
Trending
More talk lately.about the whole repository
Most recently taken up by
- github/spec-kittheir own version, first seen Nov 23, 2026
- microsoft/vscodetheir own version, first seen Nov 12, 2026
- mattpocock/skillstheir own version, first seen Oct 8, 2026
- rafaelob/pragmatic-agent-skillstheir own version, first seen Oct 5, 2026
- Kangentic/kangentictheir own version, first seen Oct 5, 2026
- dzhng/skillstheir own version, first seen Oct 4, 2026
Who's talking about datalayer/jupyter-mcp-server
- @datalayer.ai“🚀 Jupyter MCP Server v1.0.3 is out! 🔒 Hardened management API: • localhost-only management routes • …”Bluesky · Jul 11, 2026 · 5 likes
- @datalayer.ai“Jupyter MCP Server 1.0.2 is out! 🎉 Now supports the default Jupyter stack—no more pinning older …”Bluesky · Apr 27, 2026 · 4 likes
- @datalayer.ai“Jupyter MCP Server 1.0.0 Reaches 1,000 GitHub ⭐ Right after the official 1.0.0 release, the Jupyter MCP …”Bluesky · Apr 15, 2026 · 4 likes
- anthropics/claude-code“[BUG] MCP ImageContent returned as text in tool results instead of native image blocks (10-20x token waste)”GitHub · Mar 5, 2026 · 4 reactions
- @datalayer.ai“✨ Introducing jupyter-mcp-server! A Model Context Server that brings #Jupyter tools to any #AI #LLM, …”Bluesky · Feb 13, 2025 · 4 likes
The biggest 5 of 26 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 26
Talked about on GitHub and Bluesky (26 times).
On GitHub · 16
- Mar 5, 2026[BUG] MCP ImageContent returned as text in tool results instead of native image blocks (10-20x token waste) — anthropics/claude-code4 reactions · 11 comments
- Oct 4, 2026claude-code-plugins.github.datalayer.jupyter-mcp-server: init at 2.2.3 — sudosubin/agents.nix0 reactions
- Oct 4, 2026claude-code-marketplaces.github.datalayer.jupyter-mcp-server: init at 2.2.3 — sudosubin/agents.nix0 reactions
- Sep 12, 2026Refine MCP capability surface for agent safety: preserve annotations, split notebook connect/create, add safe inspection tools — YmSaki/CoKernel0 reactions · 2 comments
- Aug 21, 2026feat: meta-broker — proxy jupyter-mcp-server tools through jupyterlab-mcp — maniaclab/af-jupyterlab-mcp0 reactions · 2 comments
11 more on GitHub
- Jun 6, 2026content(mcp): add Jupyter MCP Server — JSONbored/awesome-claude0 reactions · 3 comments
- Apr 25, 2026feat(mcp-jupyter): add interactive cell-by-cell execution from Datalayer architecture — jsboige/roo-extensions0 reactions · 10 comments
- Feb 26, 2026feat: MCP Code Sandbox — IBM/AssetOpsBench0 reactions · 8 comments
- Jan 30, 2026[STUDY] Évaluation migration Jupyter MCP: papermill maison vs datalayer/jupyter-mcp-server — jsboige/roo-extensions0 reactions · 1 comment
- Nov 25, 2025ℹ️ Display the JupyterLab cell index near each cells — datalayer/jupyter-mcp-tools0 reactions · 2 comments
- Oct 28, 2025feat: add `delete_many_cells` — datalayer/jupyter-nbmodel-client0 reactions · 2 comments
- Oct 16, 2025Agentic AI: MCP Connector Fails with "Unsupported JSON schema type 'JsonNullSchema'" for Nullable Parameters — camunda/connectors0 reactions · 2 comments
- Oct 15, 2025How is this different from DataLayer MCP? — jbeno/cursor-notebook-mcp0 reactions · 1 comment
- Sep 2, 2025Migrate remaining tools from OpenHands — OpenHands/software-agent-sdk0 reactions
- Jul 7, 2025Factor out stop fixes from jupyter-mcp-server — datalayer/jupyter-nbmodel-client0 reactions
- May 23, 2025add jupyter-mcp-server — modelcontextprotocol/servers0 reactions · 1 comment
On Bluesky · 10
- Jul 11, 2026🚀 Jupyter MCP Server v1.0.3 is out! 🔒 Hardened management API: • localhost-only management routes • Reject non-local browser origins •… — @datalayer.ai5 likes and reposts
- Apr 27, 2026Jupyter MCP Server 1.0.2 is out! 🎉 Now supports the default Jupyter stack—no more pinning older collaboration versions. Use the version… — @datalayer.ai4 likes and reposts
- Apr 15, 2026Jupyter MCP Server 1.0.0 Reaches 1,000 GitHub ⭐ Right after the official 1.0.0 release, the Jupyter MCP Server repository crossed the 1K… — @datalayer.ai4 likes and reposts
- Feb 13, 2025✨ Introducing jupyter-mcp-server! A Model Context Server that brings #Jupyter tools to any #AI #LLM, including Claude, Azure OpenAI, GitHub… — @datalayer.ai4 likes and reposts
- Sep 21, 2026It runs on Reactor, our open-source plugin platform (VS Code–style contribution points, Python and TypeScript), through reactor-mcp-server:… — @datalayer.ai1 likes and repost
5 more on Bluesky
- Aug 29, 2025I haven''t had a chance to give it a go, but I wonder if the Datalayer MCP server would help: github.com/datalayer/ju... — @dhirschfeld.bsky.social1 likes and repost
- Jul 22, 20253/ If you haven’t starred us yet, feel free to check out our github repo below and give us a ⭐ Any support helps others find the project.… — @datalayer.ai1 likes and repost
- May 13, 2025I wonder if the `jupyter-mcp-server` would help. github.com/datalayer/ju... I've yet to give it a go, but I've been meaning to try it out. — @dhirschfeld.bsky.social1 likes and repost
- Aug 19, 20255️⃣/ Our github code repo: github.com/datalayer/ju... — @datalayer.ai0 likes and reposts · 1 reply
- May 12, 20254/ Oh, and big news, we just released Jupyter MCP Server for editing and executing notebooks. See our repo here: 🔗… — @datalayer.ai0 likes and reposts · 1 reply
Used with
Projects with it also use starter, media-processing and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ww-w-aiSkillstarter
Static web development guide for beginners. Covers HTML/CSS/JavaScript and Next.js App Router basics. Project initialization with "init starter". Triggers: static website, portfolio, landing page, HTML CSS, beginner, 정적 웹, 포트폴리오, 초보자, 静的サイト, 初心者, 静态网站, 初学者, sitio web estático, site statique, statische Website, sito web statico Do NOT use for: fullstack apps (use $dynamic), enterprise (use $enterprise).
Also in 4 projects that use this
mrgoonieSkillmedia-processing
Process multimedia files with FFmpeg (video/audio encoding, conversion, streaming, filtering, hardware acceleration) and ImageMagick (image manipulation, format conversion, batch processing, effects, composition). Use when converting media formats, encoding videos with specific codecs (H.264, H.265, VP9), resizing/cropping images, extracting audio from video, applying filters and effects, optimizing file sizes, creating streaming manifests (HLS/DASH), generating thumbnails, batch processing images, creating composite images, or implementing media processing pipelines. Supports 100+ formats, hardware acceleration (NVENC, QSV), and complex filtergraphs.
Also in 5 projects that use this
loulanyueSkillsetup-ts-deep-modules
Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.
Also in 15 projects that use this
mrgoonieSkillaesthetic
Create aesthetically beautiful interfaces following proven design principles. Use when building UI/UX, analyzing designs from inspiration sites, generating design images with ai-multimodal, implementing visual hierarchy and color theory, adding micro-interactions, or creating design documentation. Includes workflows for capturing and analyzing inspiration screenshots with chrome-devtools and ai-multimodal, iterative design image generation until aesthetic standards are met, and comprehensive design system guidance covering BEAUTIFUL (aesthetic principles), RIGHT (functionality/accessibility), SATISFYING (micro-interactions), and PEAK (storytelling) stages. Integrates with chrome-devtools, ai-multimodal, media-processing, ui-styling, and web-frameworks skills.
Also in 4 projects that use this
AWSSkillask-matt
Ask which skill or flow fits your situation. A router over the skills in this repo.
Also in 32 projects that use this
AWSSkillresolving-merge-conflicts
Use when you need to resolve an in-progress git merge/rebase conflict.
Also in 48 projects that use this
- +1 more from mrgoonie
- +2 more from aws
Other versions188 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 188
- mattpocock/skills★ 335ksame name
- microsoft/vscode★ 196ksame name
- github/spec-kit★ 153ksame name
- shareAI-lab/learn-claude-code★ 78ksame name
- github/awesome-copilot★ 40ksame name
- langchain-ai/deepagents★ 30ksame name
- microsoft/vcpkg★ 28ksame name
- anthropics/knowledge-work-plugins★ 26ksame name
- Donchitos/Claude-Code-Game-Studios★ 26ksame name
- microsoft/onnxruntime★ 22ksame name
178 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 174 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 33
Would it fail if the behaviour were removed?: If you cannot say yes, delete the assertion or strengthen it.
- Very specific: line 63
Every tool answers through @structured in jupyter_mcp_server/results.py.
“Common” is measured: kept by at least 6 in 10 of the 174 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Reviewing a change to Jupyter MCP Server
This server is what an agent talks to when it reads and runs somebody's notebooks. Most of what goes wrong here is quiet: a test that passes without exercising its subject, a tool that answers an empty list instead of an error, a page that documents a flag nothing reads. None of it fails loudly, and all of it has happened.
Review for those first. Ordinary bugs are usually caught by the suite.
Start here: does the test exercise its subject?
The most common defect in this repository is not broken code — it is a test that passes for a reason other than the one it claims. Two real examples:
test_an_expired_task_is_gone…calledstore.get()beforestore.list().get()deletes the expired record itself, so by the timelist()ran there was nothing left to sweep and the sweep never executed.list()was iterating a dictionary while popping from it — a guaranteedRuntimeError— and the test named after that path was green.tests/test_mcpb_version_sync.pynever ran at all. It importsscripts.sync_mcpb_version,scripts/had no__init__.py, and the module failed at collection. The suite was green and the version drift it guards was unguarded.
So for every new or changed test, ask:
- Would it fail if the behaviour were removed? If you cannot say yes, delete the assertion or strengthen it. Say so in the review.
- Does an earlier line already do the work? A setup call that cleans up, caches, or short-circuits leaves the code under test unreached.
- Does it assert a cell, or a substring of everything?
assert "no" in outputpasses on almost any English. Pull the row or the field apart. - Does it signal by raising inside a
try? Several functions here catchExceptiondeliberately — a test that raises to signal gets swallowed and asserts nothing. Record into a list and assert the list. - Does it set an environment variable that was already read at import?
config-style modules read once. Patch the attribute, not the environment.
The quiet failure
The pattern to hunt for: a well-formed request, a truthful empty answer, and a legitimate-looking zero. Nobody investigates a zero.
- A tool that answers
[]where it could not reach the thing it was listing. An empty list is what a user with no notebooks looks like. - An
exceptthat returns a default instead of raising. Ask what the caller will render, and whether they could tell that answer from a real one. - A metric or a field that stops being written. A panel showing zero reads the same as a healthy system.
- Retention, sweeps and background jobs. "It ran and found nothing" and "it stopped running" must not look the same in a log.
An error the caller can act on beats an empty answer they will believe.
Result shape and cache hints
Every tool answers through @structured in jupyter_mcp_server/results.py.
Check:
- The tool annotates its return type (
ToolAnswer,TableAnswer,OutputsAnswer). Returning nothing advertises no output schema, and the generated reference silently loses its Output section. shape=matches what the body returns. A mapping is already the structured answer; rendering it underresulthands a client text where it had an object, and nothing looks wrong until a field is read.- A cache hint needs a listing or an ETag.
ttl_mson a read that cannot be revalidated hands an agent a stale notebook and no way to tell. Nothing that changes a notebook may be hinted at all.tests/test_results.pyenforces this — if a change edits that test, ask why. cacheScopestaysprivateunless the answer genuinely is the same for every caller. A shared cache holding one person's notebooks for another is the failure the field exists to prevent.
Contracts that must not drift
These tests exist because nothing else connects the two ends, and a mismatch fails silently:
tests/test_documented_features.py— the docs pages against the code. A page naming an environment variable nothing reads, a method that does not exist, or a store method the protocol does not have sends somebody to a feature that silently does not turn on. When a change adds a config variable, a public helper or a protocol method, the page and this test move with it.tests/test_conformance.pywithtests/conformance-baseline.yaml— the specification's own suite. A new failure blocks the release. A baseline entry is a debt with a name; adding one needs a reason in the review.
Extensions
- Extensions register in name order, and the SDK keeps the original when a tool name is registered twice. An extension that means to replace a tool must remove it first, or the replacement silently does nothing.
- A new extension needs its entry point in
pyproject.tomlunderjupyter_mcp_server.extensions, and its tests underextensions/<name>/tests. - The extension identifier belongs in one constant. When a feature moves into the core protocol, that should be a rename in one place.
Protocol and transport
- The Streamable HTTP transport is stateless by default and issues no
Mcp-Session-Id. That is right for one process many people reach — each request runs in its own context and the identity middleware sees the caller of that request. It is wrong where one process serves one user.JUPYTER_MCP_STATEFULchooses; a change that hard-codes either is a regression for the other. _metakeys are the protocol's (io.modelcontextprotocol/*) or this project's namespace. Never invent an unnamespaced one.- Identity comes from the request, not from the process. A tool that reaches for a credential in the environment works in one deployment and acts as the wrong person in another.
Style this repository keeps
- No backwards compatibility shims. A rename replaces; there is no alias, no deprecation period, no migration path. If a change adds one, ask.
- Comments say why, not what. A comment restating the line below it is noise; one explaining a decision that looks wrong is the point.
- No dead defence. A guard that cannot fire reads as a guarantee and is worse than nothing. If a check is unreachable, remove it and put the reasoning where the decision actually is.
noqaonly for rules this repo enables.ruffflags the rest as unused, and anoqacarrying prose hides its own explanation. Put the reasoning in an ordinary comment.
Before approving
make test-mcp-server # ~15 minutes; do not cancel
make test-extensions # seconds
.github/workflows/lint.sh # ruff, mypy, mdformat, pyproject validationA change that touches a documented feature also runs
pytest tests/test_documented_features.py, and one that touches the wire
runs pytest tests/test_conformance.py.
Writing the review
Say what breaks and for whom. "This returns an empty list when Spacer is unreachable, so an agent will tell the user they have no notebooks" is worth more than "consider adding error handling".
Rank by what a reader would do about it. A confirmed defect first, a weakened test second, style last — and if the only findings are style, say the change looks correct before listing them.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

