python -m pip install -r ./requirements.txt
Create a jupyter_config.py
with the following content:
c = get_config()
c.MCPExtensionApp.mcp_name = "My Jupyter MCP Server"
c.MCPExtensionApp.mcp_port = 8080
c.MCPExtensionApp.mcp_tools = [
"jupyterlab_commands_toolkit.tools:list_all_commands",
"jupyterlab_commands_toolkit.tools:execute_command",
]
claude mcp add --transport http jupyter-mcp http://localhost:8080/mcp
jupyter lab --config ./jupyter_config.py
In JupyterLab, open a new terminal and start claude
.