Logo di Jupyterlab Collab Mcp Setup

Jupyterlab Collab Mcp Setup

Community
ericmjl
jupyterlab-collab-mcp-setup

Set up and verify the jupyterlab-collab-mcp MCP server so an agent can read/edit/execute Jupyter notebooks with real-time collaboration. Use when the user says 'connect to the jupyter MCP server', 'check the jupyterlab collab mcp', 'jlabx extensions aren't working', 'verify the MCP server is installed', the agent has no jupyter MCP tools despite expecting them, or notebook edits via MCP fail or return connection errors. THREE-LAYER architecture (opencode <-stdio-> MCP server <-y-websocket-> JupyterLab), three independent break points: (1) jlabx is a LAUNCHER, not the MCP server; (2) jupyter-collaboration must be installed in the SAME env JupyterLab runs from; (3) the MCP server must be registered in opencode.json mcp config (no auto-discovery; restart after changes). Verification: (a) 'jupyter server extension list' shows jupyter_server_ydoc enabled, (b) opencode.json has the jupyter entry, (c) the session actually has jupyter MCP tools. Full gotchas and the confirmed-working config in the body.

Panoramica

Pubblicato daericmjl
Repositoryskills
Nome della skilljupyterlab-collab-mcp-setup
Stelle
41
Fork
5
File inclusi
Solo istruzioni
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da ericmjl su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Jupyterlab Collab Mcp Setup in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/ericmjl/skills/tree/main/skills/jupyterlab-collab-mcp-setup
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ericmjl/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/jupyterlab-collab-mcp-setup .claude/skills/jupyterlab-collab-mcp-setup
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Jupyterlab Collab Mcp Setup in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Jupyterlab Collab Mcp Setup non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Jupyterlab Collab Mcp Setup non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Jupyterlab Collab Mcp Setup

Set up and verify the jupyterlab-collab-mcp MCP server so an opencode (or Claude Code) agent can read/edit/execute Jupyter notebooks with real-time collaboration. Use when the user says 'connect to the jupyter MCP server', 'check the jupyterlab collab mcp', 'jlabx extensions aren't working', 'verify the MCP server is installed', the agent has no jupyter MCP tools despite the user expecting them, notebook edits via MCP fail or return connection errors, OR you need to debug why the agent cannot reach JupyterLab through the MCP server. Covers the THREE-LAYER architecture and the three gotchas that each independently break the connection: (1) jlabx is a LAUNCHER (uv tool install jlabx) that starts JupyterLab with collaboration enabled — it is NOT the MCP server itself; confusing the two wastes turns. (2) jupyter-collaboration (the jupyter-server extension providing y-websocket RTC) MUST be installed in the SAME env that JupyterLab runs from (e.g. the project's pixi env via 'pixi add jupyter-collaboration') — the MCP server connects to JupyterLab via y-websocket, which jupyter-collaboration provides; without it the server cannot reach the notebook. (3) The MCP server must be registered in opencode.json under mcp (or the equivalent client config) — opencode does NOT auto-discover stdio MCP servers. Architecture: opencode <-stdio-> MCP server (npx jupyterlab-collab-mcp) <-y-websocket-> JupyterLab (localhost). The doc URL https://ianhuntisaak.com/jupyterlab-collab-mcp/ is DOCS, NOT an HTTP endpoint you connect to. Confirmed-working opencode.json entry: {"jupyter": {"command": ["npx", "jupyterlab-collab-mcp"], "enabled": true, "type": "local"}}. Verification procedure (3 surfaces, all must pass): (a) 'jupyter server extension list' shows jupyter_server_ydoc as enabled (NOT jupyter_collaboration — that package is a lab frontend extension, not a server extension; see server-extension-name-gotcha section); (b) opencode.json mcp section contains the jupyter entry; (c) the agent session actually has jupyter MCP tools available (restart opencode after config changes — MCP servers load at startup). When debugging, check all three in order — a single broken layer produces a misleading 'cannot connect' symptom. Discovered 2026-07-14 setting up jupyterlab-collab-mcp on the xarray-tutorial repo (pixi env).

Instructions

TODO: Add specific instructions based on observed patterns.

server-extension-name-gotcha

  • CRITICAL CORRECTION to verification step (a): 'jupyter server extension list' does NOT show 'jupyter_collaboration' — it shows 'jupyter_server_ydoc' (v2.4.x) and 'jupyter_server_fileid' (v0.9.x), which are the DEPENDENCIES of jupyter-collaboration that ARE server extensions. The package 'jupyter_collaboration' is a JupyterLab FRONTEND/lab extension + metapackage, NOT a server extension module. Consequence: 'jupyter server extension enable jupyter_collaboration' FAILS with 'Validation failed: The module jupyter_collaboration could not be found. Are you sure the extension is installed?' — this is EXPECTED, not a bug; do NOT waste turns debugging it or trying to force-enable. The RTC/y-websocket backend the MCP server needs is provided by jupyter_server_ydoc, which auto-enables on install. CORRECTED verification step (a): run 'jupyter server extension list' and confirm jupyter_server_ydoc is 'ok' (enabled) and jupyter_server_fileid is present — that is the signal that jupyter-collaboration installed correctly. Do NOT grep for 'jupyter_collaboration' in the extension list (it will never appear there). Discovered 2026-07-14 on xarray-tutorial (pixi env) where pixi add jupyter-collaboration pulled in jupyter_server_ydoc 2.4.1 + jupyter_server_fileid 0.9.2 as deps, both auto-enabled, while the explicit enable of jupyter_collaboration itself failed validation.

Domande frequenti

Cosa fa la skill IA Jupyterlab Collab Mcp Setup?

Set up and verify the jupyterlab-collab-mcp MCP server so an agent can read/edit/execute Jupyter notebooks with real-time collaboration. Use when the user says 'connect to the jupyter MCP server', 'check the jupyterlab collab mcp', 'jlabx extensions aren't working', 'verify the MCP server is installed', the agent has no jupyter MCP tools despite expecting them, or notebook edits via MCP fail or return connection errors. THREE-LAYER architecture (opencode <-stdio-> MCP server <-y-websocket-> JupyterLab), three independent break points: (1) jlabx is a LAUNCHER, not the MCP server; (2) jupyter...

Perché usare Jupyterlab Collab Mcp Setup su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Jupyterlab Collab Mcp Setup è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Jupyterlab Collab Mcp Setup in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/ericmjl/skills/tree/main/skills/jupyterlab-collab-mcp-setup. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Jupyterlab Collab Mcp Setup?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Jupyterlab Collab Mcp Setup?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Jupyterlab Collab Mcp Setup: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Jupyterlab Collab Mcp Setup è gratuita?

È pubblicata su GitHub da ericmjl. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇