Related MCP Server Resources

Explore more AI models, providers, and integration options:

  • Explore AI Models
  • Explore AI Providers
  • Explore MCP Servers
  • LangDB Pricing
  • Documentation
  • AI Industry Blog
  • MCP Apple Reminders
  • Image Generation MCP Server
  • SQLite MCP Server
  • Jira MCP Server
  • ERPNext MCP Server
Back to MCP Servers
JupyterMCP

JupyterMCP

Public
maskperson114514/jupyterMCP

A Model Control Protocol (MCP) server that enables remote programmatic control of Jupyter notebooks, allowing AI assistants and applications to create, edit, and execute notebook cells via SSE protocol.

Verified
python
0 tools
May 30, 2025
Updated May 30, 2025

JupyterMCP

JupyterMCP,允许通过MCP(Model Control Protocol)接口远程控制和操作Jupyter笔记本。该项目提供了一个sse协议的MCP,使AI助手或其他应用程序能够以编程方式创建、编辑和执行Jupyter笔记本单元格。

功能特点

  • 📝 创建和打开Jupyter笔记本
  • ▶️ 执行单个或多个代码单元格
  • ✏️ 插入和编辑单元格内容
  • 🔎 获取笔记本结构和单元格信息
  • 💾 保存笔记本状态
  • 🗑️ 删除单元格
  • 📊 获取代码执行结果和输出
  • 🖼️ 设置幻灯片模式(用于演示)

安装说明

前提条件

  • Python 3.10+
  • Jupyter Notebook 或 JupyterLab

安装步骤

  1. 克隆仓库:
git clone https://github.com/maskperson114514/jupyterMCP.git cd jupyterMCP
  1. 安装依赖:
pip install -r requirements.txt

使用方法

在客户端中配置MCP

{ "mcpServers": { "jupyterMCP": { "autoApprove": [ "save_notebook", "get_cells_info", "insert_and_execute_cell", "run_cell", "edit_cell_content", "execute_cells_by_indices", "run_all_cells", "get_notebook_info", "get_cell_text_output", "set_slideshow_type" ], "timeout": 60, "url": "http://localhost:48080/sse", "transportType": "sse" } } }

启动服务器

python jupyterMCP.py --host 127.0.0.1 --port 48080

参数说明:

  • --host: 服务器绑定的主机地址(默认:127.0.0.1)
  • --port: 服务器监听的端口(默认:48080)

API功能说明

JupyterMCP提供以下主要工具函数:

功能描述
open_notebook打开或创建笔记本
run_cell执行特定索引的单元格
execute_cells_by_indices按序执行多个单元格
save_notebook保存笔记本
insert_and_execute_cell插入并执行新单元格
insert_cell插入新单元格(不执行)
get_cells_info获取所有单元格信息
get_notebook_info获取笔记本基本信息
run_all_cells执行所有代码单元格
get_cell_text_output获取单元格文本输出
edit_cell_content编辑单元格内容
set_slideshow_type设置单元格幻灯片类型
delete_cell删除单元格
Publicly Shared Threads0

Discover shared experiences

Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!

Share your threads to help others
Related MCPs5
  • MCP Apple Reminders
    MCP Apple Reminders

    A Model Context Protocol server that enables AI assistants to interact with Apple Reminders on macOS...

    Added May 30, 2025
  • Image Generation MCP Server
    Image Generation MCP Server

    A Model Context Protocol server that enables generation of high-quality images using the Flux.1 Schn...

    1 tools
    Added May 30, 2025
  • SQLite MCP Server
    SQLite MCP Server

    A Model Context Protocol server implementation that enables AI assistants to execute SQL queries and...

    Added May 30, 2025
  • Jira MCP Server
    Jira MCP Server

    A Model Context Protocol server that enables AI assistants like Claude to interact with Jira, allowi...

    Added May 30, 2025
  • ERPNext MCP Server
    ERPNext MCP Server

    A TypeScript-based server that enables AI assistants to interact with ERPNext/Frappe systems through...

    Added May 30, 2025