Skip to main content

Jupyter + MCP with comprehensive resource support

Project description

JupyMCP

JupyMCP is a Model Context Protocol (MCP) server for Jupyter Notebooks that provides both tools and resources for comprehensive notebook interaction.

Usage

{
    "mcpServers": {
        "jupymcp": {
            "command": "uvx",
            "args": ["jupymcp"]
        }
    }
}
from mcp.client.stdio import StdioServerParameters
from swarmx import Agent

agent = Agent(
    mcpServers={
        "jupymcp": StdioServerParameters(
            command="uvx",
            args=["jupymcp"],
        )
    }
)

You do not need to specify the server URL, token, or path. JupyMCP will automatically manage them for you.

Alternatives

Features

JupyMCP provides comprehensive Jupyter Notebook integration through MCP:

Tools

  • Cell Execution: Execute, add, and modify notebook cells, and return outputs (support image & audio)
  • Cell Management: Add, insert, and manage code, markdown, and raw cells
  • Metadata Operations: Get and set cell and notebook metadata

Resources

  • Kernel Specs: List available kernel specifications via jupyter://kernelspecs
  • Kernels: List running kernels via jupyter://kernels
  • Notebooks: Read and write notebook files via notebook://{path}

Why yet another one?

I personally want a full-featured Jupyter Notebook server that can be used as a MCP server. All of the above alternatives are either not meeting my requirements (e.g. lack of editing).

Why not a folk of one of the above?

I think it's better to start from scratch with LLM assistance. LLM-driven bootstrap is fun.

Roadmap

  • Multiple Kernel support
  • Multiple Notebook support
  • Multimedia output support
  • Authentication & security
  • Notebook import/export

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jupymcp-0.2.0.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jupymcp-0.2.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file jupymcp-0.2.0.tar.gz.

File metadata

  • Download URL: jupymcp-0.2.0.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.13

File hashes

Hashes for jupymcp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ce68686e375177a33c687c59b9a5401ebfad6af79e9b76a6dee9db64a26890d7
MD5 d4dc06b2e76039fef89e1b8aa3d86b70
BLAKE2b-256 9ec5e31303535de5df4c1a3938c472f8ae23af43cd7dc118897107d54cac780a

See more details on using hashes here.

File details

Details for the file jupymcp-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: jupymcp-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.13

File hashes

Hashes for jupymcp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e0a10fcf13b577542e801892300299b4ede3ad8019a6dc880b05fadb3aa6a1bd
MD5 cee53c93818851dfd1efc6d42ac4f51a
BLAKE2b-256 e2231fcba9cff5e31c9e66bcba809c2442f0011b7641608c9d20a8258251cf74

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page