Назад к каталогу
jupyter-mcp-server

jupyter-mcp-server

Сообщество

от datalayer

0.0
0 отзывов

🪐 ✨ Model Context Protocol (MCP) Server for Jupyter.

Установка

pip install jupyterlab==4.4.1 jupyter-collaboration==4.0.2 jupyter-mcp-tools>=0.1.4 ipykernel

Описание

<!-- ~ Copyright (c) 2024- Datalayer, Inc. ~ ~ BSD 3-Clause License --> [![Datalayer](https://assets.datalayer.tech/datalayer-25.svg)](https://datalayer.io) [![Become a Sponsor](https://img.shields.io/static/v1?label=Become%20a%20Sponsor&message=%E2%9D%A4&logo=GitHub&style=flat&color=1ABC9C)](https://github.com/sponsors/datalayer) <div align="center"> <!-- omit in toc --> # 🪐✨ Jupyter MCP Server **An [MCP](https://modelcontextprotocol.io) server developed for AI to connect and manage Jupyter Notebooks in real-time** *Developed by [Datalayer](https://github.com/datalayer)* [![PyPI - Version](https://img.shields.io/pypi/v/jupyter-mcp-server?style=for-the-badge&logo=pypi&logoColor=white)](https://pypi.org/project/jupyter-mcp-server) [![Total PyPI downloads](https://img.shields.io/pepy/dt/jupyter-mcp-server?style=for-the-badge&logo=python&logoColor=white)](https://pepy.tech/project/jupyter-mcp-server) [![Docker Pulls](https://img.shields.io/docker/pulls/datalayer/jupyter-mcp-server?style=for-the-badge&logo=docker&logoColor=white&color=2496ED)](https://hub.docker.com/r/datalayer/jupyter-mcp-server) [![License](https://img.shields.io/badge/License-BSD_3--Clause-blue?style=for-the-badge&logo=open-source-initiative&logoColor=white)](https://opensource.org/licenses/BSD-3-Clause) ![Jupyter MCP Server Demo](https://assets.datalayer.tech/jupyter-mcp/mcp-demo-multimodal.gif) </div> ## 📖 Table of Contents - [Key Features](#-key-features) - [MCP Overview](#-mcp-overview) - [Getting Started](#-getting-started) - [Best Practices](#-best-practices) - [Contributing](#-contributing) - [Resources](#-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. Compatible with any Jupyter deployment (local, JupyterHub, ...) and with [Datalayer](https://datalayer.ai/) hosted Notebooks. ## ✨ MCP Overview ### 🔧 Tools Overview The server provides a rich set of tools for interacting with Jupyter notebooks, categorized as follows: #### Server Management Tools | Name | Description | | :--------------- | :----------------------------------------------------------------------------------------- | | `list_files` | List files and directories in the Jupyter server's file system. | | `list_kernels` | List all available and running kernel sessions on the Jupyter server. | #### Multi-Notebook Management Tools | Name | Description | | :----------------- | :--------------------------------------------------------------------------------------- | | `use_notebook` | Connect to a notebook file, create a new one, or switch between notebooks. | | `list_notebooks` | List all notebooks available on the Jupyter server and their status | | `restart_notebook` | Restart the kernel for a specific managed notebook. | | `unuse_notebook` | Disconnect from a specific notebook and release its resources. | | `read_notebook` | Read notebook cells source content with brief or detailed format options. | #### Cell Operations and Execution Tools | Name | Description | | :------------------------- | :------------------------------------------------------------------------------- | | `read_cell` | Read the full content (Metadata, Source and Outputs) of a single cell. | | `insert_cell` | Insert a new code or markdown cell at a specified position. | | `delete_cell` | Delete a cell at a specified index. | | `overwrite_cell_source` | Overwrite the source code of an existing cell. | | `execute_cell` | Execute a cell with timeout, supports multimodal output including images. | | `insert_execute_code_cell` | Insert a new code cell and execute it in one step. | | `execute_code` | Execute code directly in the kernel, supports magic commands and shell commands. | #### JupyterLab Integration *

Отзывы (0)

Пока нет отзывов. Будьте первым!