AgentSkillsCN

jupyter-notebook

与Jupyter笔记本互动。可用于“运行单元格”、“阅读笔记本”或“在笔记本中执行Python代码”。

SKILL.md
--- frontmatter
name: jupyter-notebook
description: Interact with Jupyter notebooks. Use this to "run cell", "read notebook", or "execute python in notebook".

Jupyter Skill

Uses jupyter-mcp-server to execute code in notebooks.

Usage

Command Template:

bash
npx mcporter call --command "uvx jupyter-mcp-server --transport=stdio" --tool <tool_name> --args <json_args>

Common Tools

  • execute_cell: Run a specific cell in a notebook.

  • read_notebook: Read the contents of a .ipynb file.

Example: Read a notebook

bash
npx mcporter call --command "uvx jupyter-mcp-server --transport=stdio" --tool read_notebook --args '{"path": "analysis.ipynb"}'