jupyter-mcp-tools
Jupyter MCP Tools.
What it is and what it does
jupyter-mcp-tools is a JupyterLab server extension that bridges JupyterLab's command system with the Model Context Protocol (MCP), a standardized interface for AI agents and external tools. It dynamically registers all available JupyterLab commands—notebook operations, file management, kernel control, console commands, and UI toggles—as MCP tools that can be invoked remotely via WebSocket.
The extension operates in two modes: local mode executes commands directly within the JupyterLab frontend, while remote mode transmits commands via WebSocket to the backend, enabling external MCP clients and AI agents to control JupyterLab from outside the environment. It depends on aiohttp for async HTTP/WebSocket handling and jupyter-server for the backend infrastructure, and is designed to work with jupyter-mcp-server for full MCP integration.
Use it for:
- Enable AI agents to open notebooks, execute cells, and manage kernel state in JupyterLab through a standardized MCP interface.
- Automate notebook workflows (append cells, run all cells, manage cell selection) triggered by external systems or chatbots.
- Provide remote file browser and document management operations (create, delete, rename, open files) to external MCP clients.
- Allow external tools to inject code into consoles, restart kernels, and manage terminal sessions without direct UI access.
- Integrate JupyterLab command execution into AI agent orchestration platforms that speak the MCP protocol.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Exposes JupyterLab commands as MCP (Model Context Protocol) tools, enabling external AI agents and clients to trigger notebook operations, file management, and kernel control through a standardized protocol.
Yes, if you need to expose JupyterLab commands to external MCP clients or AI agents. The package is actively maintained, has no known vulnerabilities, and carries a permissive BSD license. Install friction is low. Primary consideration: verify whether the frontend NPM package must be installed separately and whether jupyter-mcp-server is required for your use case.
Install
jupyter-mcp-tools on PyPI
pip
pip install jupyter-mcp-toolsuv
uv add jupyter-mcp-toolspoetry
poetry add jupyter-mcp-toolsInstalling jupyter-mcp-tools
Before you install
Low friction: pure Python wheel with only aiohttp and jupyter-server as runtime dependencies. Active maintenance with a release 4 days old; repository is not archived and supports Python 3.9 through 3.13.
License in practice
BSD 3-Clause permissive license allows commercial and private use with minimal restrictions; you may use, modify, and distribute the software provided you retain the license notice.
Quickstart
pip install jupyter-mcp-tools
# Then enable in JupyterLab and connect via MCP client:
import aiohttp
from jupyter_mcp_tools import MCP_TOOLS
# MCP tools are automatically registered and exposed via WebSocket
Requires a running Jupyter Server instance and a corresponding MCP client to connect; the frontend NPM package may need separate installation.
Verify before relying
- Whether the extension requires a corresponding frontend NPM package (@datalayer/jupyter-mcp-tools) to be installed separately for full functionality.
- Whether jupyter-mcp-server is a required peer dependency or an optional integration point.
- Performance characteristics when exposing a large number of JupyterLab commands as MCP tools.
Package facts
| License | BSD 3-Clause License Copyright (c) 2025, Datalayer All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following… (full text in the JSON record) (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — aiohttp, jupyter-server |
| Maintenance | actively maintained — 4 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 85,101/month — #13,950 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: jupyter_mcp_tools-0.1.7-py3-none-any.whl
Keywords: ai, jupyter, jupyterlab, jupyterlab-extension, mcp
Tags
More Application Frameworks packages
FastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
textualTextual is a Python framework for building…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
mcpBuild and connect to Model Context Protocol…
permissive · top 1,000 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
jupyter-mcp-serverAn MCP server that exposes Jupyter notebooks…
permissive · top 15,000 on PyPI
jupyter-ai-toolsA Jupyter Server extension that exposes file…
permissive · top 15,000 on PyPI
jupyter-aiJupyter AI is a JupyterLab extension that…
permissive · top 15,000 on PyPI
jupyterlab-commands-toolkitExposes JupyterLab commands to Python code and…
permissive · top 15,000 on PyPI
jupyter-ai-magicsJupyter AI Magics provides a JupyterLab…
permissive · top 15,000 on PyPI
jupyter-server-mcpExposes Python functions as tools to MCP…
permissive · top 15,000 on PyPI
jupyterlite-coreProvides the core build and CLI infrastructure…
permissive · top 15,000 on PyPI
jupyter-nbmodel-clientProgrammatically interact with live Jupyter…
permissive · top 15,000 on PyPI
agent-sandboxA Python SDK for accessing sandbox, shell,…
permissive · top 15,000 on PyPI
jupyter-server-documentsA JupyterLab extension that moves document…
permissive · top 15,000 on PyPI