Back to Home
datalayer icon

jupyter-mcp-server

Verified Safe

by datalayer

Overview

The Jupyter MCP Server enables AI agents to connect to, manage, and interact with Jupyter Notebooks in real-time, facilitating contextualized coding tasks.

Installation

Run Command
docker run -i --rm -e JUPYTER_URL -e JUPYTER_TOKEN -e ALLOW_IMG_OUTPUT datalayer/jupyter-mcp-server:latest

Environment Variables

  • PROVIDER
  • JUPYTERLAB
  • RUNTIME_URL
  • RUNTIME_ID
  • RUNTIME_TOKEN
  • DOCUMENT_URL
  • DOCUMENT_ID
  • DOCUMENT_TOKEN
  • JUPYTER_URL
  • JUPYTER_TOKEN
  • TRANSPORT
  • START_NEW_RUNTIME
  • PORT
  • ALLOW_IMG_OUTPUT

Security Notes

The server includes tools (`execute_code`, `execute_cell`) that are designed to execute arbitrary code within a Jupyter kernel. While this is the intended functionality, it poses an inherent risk if the calling AI agent is unconstrained or receives untrusted input. The `execute_code` tool provides explicit warnings regarding its usage. The CORS policy is broadly open (`Access-Control-Allow-Origin: *`), which is typical for desktop/browser extension integrations but could be tightened for specific production environments. No direct `eval` or `exec` of untrusted input is observed outside the designated code execution tools.

Similar Servers

Stats

Interest Score99
Security Score7
Cost ClassMedium
Avg Tokens500
Stars797
Forks132
Last Update2025-12-01

Tags

JupyterMCPAINotebookReal-time