Logo von 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.

Übersicht

Herausgeberericmjl
Repositoryskills
Skill-Namejupyterlab-collab-mcp-setup
Sterne
41
Forks
5
Mitgelieferte Dateien
Nur Anweisungen
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von ericmjl auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Jupyterlab Collab Mcp Setup in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/ericmjl/skills/tree/main/skills/jupyterlab-collab-mcp-setup
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

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
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Jupyterlab Collab Mcp Setup in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Jupyterlab Collab Mcp Setup automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Jupyterlab Collab Mcp Setup nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

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.

Häufig gestellte Fragen

Was macht der KI-Skill 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...

Warum Jupyterlab Collab Mcp Setup in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Jupyterlab Collab Mcp Setup besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Jupyterlab Collab Mcp Setup in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/ericmjl/skills/tree/main/skills/jupyterlab-collab-mcp-setup ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Jupyterlab Collab Mcp Setup nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Jupyterlab Collab Mcp Setup verwenden?

So viele Sie möchten. In TypingMind können Sie Jupyterlab Collab Mcp Setup mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Jupyterlab Collab Mcp Setup kostenlos?

Der Skill wird von ericmjl auf GitHub veröffentlicht. Prüfen Sie im Repository, ob dort Lizenzbedingungen angegeben sind. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇