Skip to content
MCP Servers
MCP

datalayer

Ships with jupyter-mcp-server: An MCP server developed for AI to connect and manage Jupyter Notebooks in real-time β€” and scale your Code Sandbox from local to the cloud (Datalayer, Kaggle, Google Colab, Modal,…

From plugin
jupyter-mcp-server
1.3k3 commands1 MCP

Claude Code

$ claude mcp add --transport http datalayer https://mcp.datalayer.run/mcp

From the README

What can you do with datalayer?

  • ⚑ Real-time control

    Instantly view notebook changes as they happen.

  • πŸ” Smart execution

    Automatically adjusts when a cell run fails thanks to cell output feedback.

  • 🧠 Context-aware

    Understands the entire notebook context for more relevant interactions.

  • πŸ“Š Multimodal support

    Support different output types, including images, plots, and text.

  • πŸ“š Multi-notebook support

    Seamlessly switch between multiple notebooks.

  • 🎨 JupyterLab integration

    Enhanced UI integration like automatic notebook opening.

  • 🀝 MCP-compatible

    Works with any MCP client, such as Claude Desktop, Cursor, Windsurf, and more.

  • πŸ” Observability

    Built-in hook system with OpenTelemetry integration for tracing tool calls and kernel executions.

Security report

Found

Low risk

  • Known flaws

    Not published

  • Signed build

    Not published

  • Maintained

    Nov 21, 2026

    Last push

  • Licence

    BSD-3-Clause

  • Runs as

    Remote

    mcp.datalayer.run

  • Deprecated

    Not published

Signals from public registries, not an audit. Checked Nov 21, 2026.

jupyter-mcp-server README

Datalayer

Become a Sponsor

πŸͺπŸ”§ Jupyter MCP Server

An MCP server developed for AI to connect and manage Jupyter Notebooks in real-time β€” and scale your Code Sandbox from local to the cloud (Datalayer, Kaggle, Google Colab, Modal, Daytona, E2B, CoreWeave, Cloudflare...)

Developed by Datalayer - Join our Discord

PyPI - Version Total PyPI downloads Docker Pulls License

Built and maintained by Datalayer

πŸ“– Documentation Β Β·Β  πŸ”§ Tools Β Β·Β  πŸ’¬ Community

HOT NEWS

No process to run. Datalayer now hosts this server for you at https://mcp.datalayer.run/mcp β€” one endpoint for every agent and every notebook. Sign in from your browser, approve what the agent may do, and your work keeps running on the server after the agent disconnects.

β†’ Hosted Jupyter MCP Server

Jupyter MCP Server 2

Claude Code plugin

One command to connect Claude Code, with /datalayer:notebook, /datalayer:run and /datalayer:status on top:

/plugin marketplace add datalayer/jupyter-mcp-server
/plugin install datalayer

β†’ Datalayer plugin for Claude Code


Free and open source, BSD 3-Clause β€” point it at any Jupyter you already run, local or JupyterHub, no account needed.

Built and maintained by Datalayer, where the same server drives always-on Notebooks with GPU Code Sandboxes and durable execution β€” so your agent keeps working on your data when your laptop does not.

Discover Datalayer


New: OAuth 2.1

No token to copy and paste. An agent that meets this server unauthenticated is told where to authenticate, opens your browser, and you sign in to Datalayer as yourself. The agent never sees your password β€” it receives a token scoped to what you approved, and you can disconnect one agent without touching the others.

What each agent may do is two separate decisions: the scopes you approve (notebooks:read, notebooks:write, code:execute, data:read) say what kind of operation it may perform, and your own Datalayer permissions still say which notebooks it may touch. An agent can never reach a notebook you cannot.

Personal access tokens keep working, and remain the simpler path for a CLI or a script. β†’ OAuth and identity

Hot fix

Pin code-sandboxes to match your jupyter-mcp-server. The sandbox variant jupyter was renamed to jupyter-server in code-sandboxes 1.1.1, and the two packages have to agree on the name.

Your jupyter-mcp-serverInstall
>= 1.5.0code-sandboxes >= 1.1.1
< 1.5.0code-sandboxes <= 1.0.9
# On 1.5.0 or later
pip install "jupyter-mcp-server>=1.5.0" "code-sandboxes>=1.1.1"

# Staying on an earlier jupyter-mcp-server
pip install "jupyter-mcp-server<1.5.0" "code-sandboxes<=1.0.9"

An older server with a newer code-sandboxes installs cleanly and then fails on the first execution with Unknown sandbox variant: jupyter. β†’ Release notes


Built on MCP 2 in v2.0.0

Jupyter MCP Server 2 runs on the MCP Python SDK 2 (mcp>=2,<3), the SDK's first major release. Nothing changes in how you start or configure the server, in the tools, or for the MCP clients connecting to it β€” the protocol is negotiated with each client as before. What changes is the Python environment:

Your jupyter-mcp-servermcp SDK
>= 2.0.0mcp >= 2
< 2.0.0mcp < 2

Both are pinned in the package, so pip sorts it out; an environment holding another package that still pins mcp<2 has to stay on jupyter-mcp-server<2 until that package moves. Writing an extension or a custom token verifier against the SDK? See the release notes for the renamed imports.


Renamed in v1.3.2

--provider is now --document-provider (env var PROVIDER β†’ DOCUMENT_PROVIDER).

It only ever chose where the notebook documents live β€” jupyter for the collaboration API of a Jupyter Server, datalayer for the Datalayer spacer β€” while the old name and its help text suggested it also chose where code runs. Execution is picked separately, with --sandbox-variant (jupyter-server, datalayer, daytona, e2b, coreweave, cloudflare, kaggle, google-colab, monty, modal).

Nothing breaks in v1.3.2: --provider is still accepted as an alias, PROVIDER is still read, and a /connect payload carrying "provider" is still understood. Move to the new names when convenient β€” the old ones are deprecated, not removed.


Jupyter MCP Server Demo

πŸ“– Table of Contents

  • Key Features
  • MCP Overview
  • Getting Started
  • Sandbox Variants
  • Best Practices
  • Contributing
  • Resources

πŸš€ Key Features

  • ⚑ Real-time control: Instantly view notebook changes as they happen.
  • πŸ” Smart execution: Automatically adjusts when a cell run fails thanks to cell output feedback.
  • 🧠 Context-aware: Understands the entire notebook context for more relevant interactions.
  • πŸ“Š Multimodal support: Support different output types, including images, plots, and text.
  • πŸ“š Multi-notebook support: Seamlessly switch between multiple notebooks.
  • 🎨 JupyterLab integration: Enhanced UI integration like automatic notebook opening.
  • 🀝 MCP-compatible: Works with any MCP client, such as Claude Desktop, Cursor, Windsurf, and more.
  • πŸ” Observability: Built-in hook system with OpenTelemetry integration for tracing tool calls and kernel executions.

Compatible with any Jupyter deployment (local, JupyterHub, ...) and with Datalayer hosted Notebooks, where the Code Sandboxes come with GPUs and the execution survives a disconnect.

πŸ”§ MCP Overview

πŸ”§ Tools Overview

Every tool, with its parameters, schema and return value, is generated from a live snapshot of the running server and published at jupyter-mcp-server.datalayer.tech/mcp β€” so it is never out of step with the code, which a table copied into this file would be.

They fall into four groups:

  • Server and code sandbox β€” browse the Jupyter file system, list kernels, connect to a server at runtime, and launch, select and terminate code sandboxes.
  • Notebooks β€” open, create and switch between notebooks, list them, read one, restart its kernel, release it.
  • Cells β€” read, insert, delete, move, reorder and edit cells, surgically or wholesale, and clear their outputs.
  • Execution β€” run a cell or arbitrary code on the active backend, with multimodal output and streaming where the sandbox supports it.

Sandbox tools need the optional jupyter_mcp_sandboxes extension; see Sandbox Variants.

JupyterLab Integration

Available only when JupyterLab mode is enabled. It is enabled by default.

In JupyterLab mode the server also exposes JupyterLab commands as MCP tools through jupyter-mcp-tools β€” notebook_run-all-cells and notebook_get-selected-cell by default, with more selectable through allowed_jupyter_mcp_tools. The full list and how to configure it are in the Additional Tools documentation.

πŸ“ Prompt Overview

The server implements the MCP prompts feature. jupyter-cite cites specific cells from a notebook, the way @ does in a coding IDE or CLI. Input parameters and returned content are in the Prompts documentation.

🏁 Getting Started

For comprehensive setup instructionsβ€”including Streamable HTTP transport, running as a Jupyter Server extension and advanced configurationβ€”check out our documentation. Or, get started quickly with JupyterLab and STDIO transport here below.

1. Set Up Your Environment

pip install jupyterlab jupyter-collaboration jupyter-mcp-tools ipykernel

Tip

To confirm your environment is correctly configured:

  1. Open a notebook in JupyterLab
  2. Type some content in any cell (code or markdown)

Stars on GitHub

Momentum

stars in total
1.3k
Star history of datalayer/jupyter-mcp-server on GitHub, a chart by star-history.com

More MCP servers from other plugins.

gitnexus

gitnexus

MCP

Ships with gitnexus: GitNexus indexes a codebase into a knowledge graph of symbols, calls, dependencies and execution flows. Use…

@abhigyanpatwari@abhigyanpatwariInstall MCP
mcp-use-docs

mcp-use-docs

MCP

Ships with mcp-use: The fullstack MCP framework to develop MCP Apps for ChatGPT / Claude & MCP Servers for AI Agents.

mcp-use7d11k
@mcp-use@mcp-useInstall MCP
cloudwatch

cloudwatch

MCP

Amazon's monitoring service that collects metrics, logs and alarms across AWS infrastructure and apps.

mcp3d9.9k
@awslabs@awslabsInstall MCP
treg

treg

MCP

Ships with treg: OpenRouter, but for agent tools instead of models. Point an agent at one base URL with one token and it can do…

treg3d8.4k
@superdesigndev@superdesigndevInstall MCP

Questions about datalayer.

Which coding agents can use datalayer?
datalayer works in any agent that reads an MCP config file: Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf. Each agent reads it from its own file; this page names the file for each one.
How do I add datalayer to Claude Code?
Run this in your terminal: claude mcp add --transport http datalayer https://mcp.datalayer.run/mcp
Is datalayer safe to install?
Low risk. Signals from public registries, not an audit.