jupyter-mcp
Jupyter AI MCP para Codex
Воспроизводимый проект для запуска JupyterLab и предоставления его инструментов Codex через MCP. Зависимости Python управляются исключительно с помощью uv.
Требования
uvPython 3.10 или выше (
uvможет установить его)Codex Desktop, CLI или расширение для VS Code
Docker Desktop, только если вы выберете запуск в контейнере
Related MCP server: Claude Code Notebook MCP
Рекомендуемый запуск в WSL2
Например, папка, расположенная в D:\Projetos\jupyter-ai-mcp-codex, отображается в WSL2 как /mnt/d/Projetos/jupyter-ai-mcp-codex.
После копирования этого проекта на диск D: откройте WSL2 и выполните:
cd /mnt/d/Projetos/jupyter-ai-mcp-codex
bash scripts/start-local.shСкрипт использует исключительно относительные пути самого проекта, выполняет uv sync --frozen на основе uv.lock и создаёт новый локальный .venv. Никакие пути OneDrive или исходного пользователя не попадают в окружение.
Если uv ещё не установлен в дистрибутиве WSL2, следуйте официальной инструкции по установке uv, а затем снова запустите скрипт.
Для лучшей производительности с большим количеством мелких файлов родная файловая система WSL2 обычно быстрее, чем
/mnt/d. ИспользованиеD:остаётся допустимым и уместно, когда приоритет — сохранить файлы видимыми для Windows.
Локальный запуск в Windows
В PowerShell, внутри этой папки:
.\scripts\start-local.ps1Скрипт выполняет uv sync --frozen и запускает:
JupyterLab:
http://127.0.0.1:8888MCP:
http://127.0.0.1:3001/mcp
Держите терминал открытым. URL JupyterLab с токеном доступа будет показан в журнале.
Запуск с помощью Docker
.\scripts\start-docker.ps1Или напрямую:
docker compose up --buildПорты публикуются только на loopback машины. Блокноты сохраняются в notebooks/ внутри самой папки проекта.
Для завершения:
docker compose downПодключение к Codex
Этот проект включает .codex/config.toml с сервером:
[mcp_servers.jupyter-mcp]
url = "http://127.0.0.1:3001/mcp"Откройте копию, расположенную на диске D:, как доверенный проект в Codex и перезапустите Codex после запуска JupyterLab. Конфигурация является локальной для проекта; она не изменяет глобальную конфигурацию в ~/.codex/config.toml.
Если Codex работает в Windows, а Jupyter — в WSL2, сначала проверьте http://127.0.0.1:3001/mcp. Скрипт WSL2 заставляет MCP прослушивать 0.0.0.0 внутри дистрибутива, и проброс localhost в WSL2 обычно делает порт доступным в Windows. Предоставленная конфигурация уже использует этот адрес. Не публикуйте порт 3001 на роутере и не открывайте широкое правило в брандмауэре Windows.
Проверка
Проверьте, слушает ли MCP:
Test-NetConnection 127.0.0.1 -Port 3001Ожидаемый результат — TcpTestSucceeded : True. Затем в Codex попросите его прочитать или выполнить notebooks/verificacao.ipynb с помощью инструментов Jupyter MCP.
В WSL2 эквивалентная проверка:
curl --silent --output /dev/null --write-out '%{http_code}\n' \
http://127.0.0.1:3001/mcpКонечная точка MCP может ответить, что необходим допустимый запрос MCP; это всё равно подтверждает, что HTTP-сервер доступен. В журналах Jupyter должно отображаться MCP server started on port 3001.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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.
Connect AI agents to Flato's editable canvas runtime through a hosted MCP server.
Related MCP Servers
- AlicenseAqualityDmaintenanceAI-powered MCP server for connecting and managing Jupyter Notebooks. Enables interactive code execution, multi-notebook management, and multimodal output for data analysis, visualization, and machine learning.129MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol (MCP) server that provides comprehensive Jupyter notebook interaction capabilities, compatible with Claude Code.296MIT
- AlicenseNot gradedqualityDmaintenanceAn agent-agnostic MCP server that lets any AI agent drive a local JupyterLab session via the Model Context Protocol.CC BY-4.0
- AlicenseBqualityBmaintenanceAn MCP server that connects directly to a Jupyter kernel via ZMQ, enabling AI assistants to read, create, edit, execute, and manage Jupyter Notebooks as MCP tools.9MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/LucianoTeixeiras/jupyter-ai-mcp-codex'
If you have feedback or need assistance with the MCP directory API, please join our Discord server