Tutorial: Run Jupyter MCP Server with Docker in 5 Minutes
Step-by-step tutorial to deploy Jupyter MCP Server with Docker, verify the health endpoint, and connect your MCP-compatible AI assistant to a live Jupyter kernel.
In this tutorial you'll get Jupyter MCP Server running with Docker and connect it to an MCP-compatible AI assistant β in under five minutes. We'll use the official image, verify the server responds, and run your first code cell through the agent.
π Want to deploy Jupyter MCP Server yourself?
Docker configs, system requirements, and installation guides β all on one page.
View Jupyter MCP Server Tool Page β
Step 1 β Pull and run the container
Create a project directory and start the server. The image listens on port 8080 by default and keeps notebook data under ./data:
docker run -d --name jupyter-mcp \
-p 8080:8080 \
-v $(pwd)/data:/data \
datalayer/jupyter-mcp-server:latest
Step 2 β Verify it's alive
Check the health endpoint. A 200 response means the MCP server is ready to accept tool calls:
curl -s -o /dev/null -w "%{http_code}\n" http://localhost:8080
Step 3 β Connect your AI assistant
Point any MCP client at the server URL. Your assistant will now discover tools for managing notebooks and kernels, and you can ask it to:
- Create a new notebook session
- Execute a cell that computes a data summary
- Read back the output and iterate on the analysis
Step 4 β Keep it running like a pro
For production, add restart: unless-stopped and mount a persistent volume so your notebooks survive container restarts. A complete docker-compose.yml is generated for you on the tool page.
| Resource | Minimum | Recommended |
|---|---|---|
| CPU | 2 cores | 4 cores |
| RAM | 4 GB | 8 GB |
That's it β your AI agent now has a live Jupyter backend. Experiment with multi-cell workflows and let the agent handle the plumbing while you focus on the analysis.
π Ready to run Jupyter MCP Server?
Docker configs, system requirements, and installation guides β all on one page.
View Jupyter MCP Server Tool Page β