Connections & Capabilities
Connects To
Capabilities
Quickstart
Install
brew install uvConfig
{
"mcpServers": {
"jupyter": {
"command": "uv",
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/PARENT/REPO/FOLDER/src",
"run",
"jupyter_mcp_server.py"
]
}
}
}Exposed MCP Tools (11)
pingChecks the connectivity to the Jupyter Notebook server.
Read-only operation with no side effects.
insert_and_execute_cellInserts a new cell at a specified position and executes its content.
Allows arbitrary code execution, potentially leading to data modification or deletion.
save_notebookSaves the current Jupyter Notebook.
Modifies the notebook file, potentially overwriting existing content.
get_cells_infoRetrieves information about all cells in the notebook.
Read-only operation that retrieves cell metadata.
get_notebook_infoRetrieves information about the current notebook.
Read-only operation that retrieves notebook metadata.
run_cellRuns a specific cell by its index.
Executes arbitrary code within a specific cell.
run_all_cellsRuns all cells in the notebook sequentially.
Executes arbitrary code in all cells, potentially causing widespread changes.
get_cell_text_outputRetrieves the text output content of a specific cell.
Read-only operation that retrieves cell output.
get_image_outputRetrieves the images output of a specific cell.
Read-only operation that retrieves image output.
edit_cell_contentEdits the content of an existing cell.
Modifies the content of a cell, potentially altering code or markdown.
set_slideshow_typeSets the slide show type for a cell.
Modifies cell metadata related to slideshow presentation.
Safety Assessment
JupyterMCP offers powerful integration but poses significant risks due to its ability to execute arbitrary code without sandboxing. It's safe for controlled environments with trusted code, but risky when used with untrusted sources or without careful oversight.
- Requires explicit user setup and initialization within a Jupyter Notebook.
- Includes a disclaimer emphasizing the experimental nature and potential risks.
- Provides example prompts to guide users on how to interact with Claude.
- Allows arbitrary Python code execution, potentially leading to data modification or deletion.
- Lacks sandboxing, increasing the risk of malicious code execution.
- Relies on user-configured paths, which could introduce vulnerabilities if misconfigured.
- Limited text output from cells could truncate important information, obscuring potential risks.
