jupyter-mcp
Provides integration with JupyterLab, allowing agents to read and execute Jupyter notebooks through the Jupyter MCP server.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@jupyter-mcprun the notebook at notebooks/verificacao.ipynb and show the results"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Jupyter AI MCP for Codex
Reproducible project to run JupyterLab and expose its tools to Codex via MCP.
Python dependencies are managed exclusively by uv.
Requirements
uvPython 3.10 or higher (
uvcan install it)Codex Desktop, CLI, or extension for VS Code
Docker Desktop, only if you choose to run in a container
Related MCP server: jupyter-interactive-mcp
Recommended execution in WSL2
A folder located at D:\Projetos\jupyter-ai-mcp-codex, for example, appears in WSL2 as /mnt/d/Projetos/jupyter-ai-mcp-codex.
After copying this project to the D: drive, open WSL2 and run:
cd /mnt/d/Projetos/jupyter-ai-mcp-codex
bash scripts/start-local.shThe script uses exclusively paths relative to the project itself, runs uv sync --frozen from uv.lock, and creates a new local .venv. No path from OneDrive or the original user is embedded in the environment.
If uv is not yet installed in the WSL2 distribution, follow the official uv installation and then run the script again.
For better performance with many small files, the native WSL2 filesystem is usually faster than
/mnt/d. UsingD:remains valid and is suitable when the priority is keeping the files visible to Windows.
Local execution on Windows
In PowerShell, inside this folder:
.\scripts\start-local.ps1The script runs uv sync --frozen and starts:
JupyterLab:
http://127.0.0.1:8888MCP:
http://127.0.0.1:3001/mcp
Keep the terminal open. The JupyterLab URL with the access token will be displayed in the log.
Execution with Docker
.\scripts\start-docker.ps1Or directly:
docker compose up --buildThe ports are published only on the machine's loopback. Notebooks are persisted in notebooks/, inside the project folder itself.
To stop:
docker compose downConnecting to Codex
This project includes .codex/config.toml with the server:
[mcp_servers.jupyter-mcp]
url = "http://127.0.0.1:3001/mcp"Open the copy located on the D: drive as a trusted project in Codex and restart Codex after starting JupyterLab. The configuration is local to the project; it does not change the global configuration in ~/.codex/config.toml.
If Codex is running on Windows and Jupyter on WSL2, first test http://127.0.0.1:3001/mcp. The WSL2 script makes MCP listen on 0.0.0.0 inside the distribution, and WSL2's localhost forwarding usually makes the port accessible from Windows. The provided configuration already uses that address. Do not publish port 3001 on the router or open a broad rule in Windows Firewall.
Verification
Check whether MCP is listening:
Test-NetConnection 127.0.0.1 -Port 3001The expected result is TcpTestSucceeded : True. Then, in Codex, ask it to read or run notebooks/verificacao.ipynb using the Jupyter MCP tools.
In WSL2, the equivalent check is:
curl --silent --output /dev/null --write-out '%{http_code}\n' \
http://127.0.0.1:3001/mcpThe MCP endpoint may respond that a valid MCP request is required; this still confirms that the HTTP server is reachable. The Jupyter logs should display MCP server started on port 3001.
This server cannot be deployed
Maintenance
Related MCP Connectors
Enable secure connectivity between Sentry issues and debugging data, and LLM clients, using a Model Context Protocol (MCP) server.
Connect AI agents to Filepad workspaces through OAuth MCP.
The Cortex MCP server provides read-only access to real-time engineering context from the Cortex developer portal, allowing AI coding assistants to answer natural language questions about your organization's catalog (microservices, libraries, domains, teams, infrastructure), scorecards (engineering standards and best practices), initiatives (goals and deadlines), and Engineering Intelligence metrics. It includes tools for querying documentation, tracking personal entities, and accessing AI-assisted insights across the entire Cortex ecosystem.
Read and write shared BitsWeave context, projects, tasks, and work sessions through MCP.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceConnects Codex to the FoggyKitchen MCP endpoint, enabling use of FoggyKitchen tools within Codex.MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that gives any MCP-compatible LLM client full control over a live JupyterLab instance.MIT
- AlicenseNot gradedqualityCmaintenanceEnables ChatGPT and Claude to securely connect to existing Codex sessions across local and remote development hosts via a self-hosted MCP gateway.Apache 2.0
- FlicenseNot gradedqualityCmaintenanceEnables Claude Code to use remote MCP servers already authenticated in Codex by reusing Codex OAuth tokens and forwarding JSON-RPC messages without requiring a second OAuth flow.-