Skip to main content

Agent ready JupyterLab

Project description

ajlab

Agent-ready JupyterLab.

ajlab is a small meta-package that installs JupyterLab plus a few extensions useful for agent workflows, and ships some defaults under etc/jupyter/labconfig.

What's included

Minimum versions (see pyproject.toml):

  • jupyterlab >=4.6.0b1
  • jupyter-docprovider >=2.4.1 and jupyter-server-ydoc >=2.4.1
  • jupyter-server-mcp >=0.3.0a0
  • jupyterlab-commands-toolkit

Default settings

  • Hidden files shown in the file browser.

Install

pip install ajlab

Run

Once installed, start JupyterLab with:

jupyter lab

Configure agents

Agent connectivity is provided by jupyter-server-mcp, which runs inside JupyterLab and exposes an MCP endpoint (default port 3001) that any MCP client can connect to.

The recommended way to connect a client is the stdio proxy, which auto-discovers the running Jupyter MCP server and bridges stdio to its HTTP endpoint. It keeps working unchanged when several Jupyter servers run side by side or when the port is assigned dynamically. To wire it up to Claude Code:

claude mcp add jupyter-mcp -- uvx --prerelease allow --from jupyter-server-mcp jupyter-server-mcp-proxy

jupyter-server-mcp is currently a pre-release. uvx skips pre-releases by default, so pass --prerelease allow or it silently installs the older stable release and the proxy/server versions won't match.

Alternatively, for a single server on a fixed port, connect directly over HTTP:

claude mcp add --transport http jupyter-mcp http://localhost:3001/mcp

See the jupyter-server-mcp README for tool registration via jupyter_config.py and snippets for other MCP clients.

License

BSD-3-Clause

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ajlab-0.1.8.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ajlab-0.1.8-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file ajlab-0.1.8.tar.gz.

File metadata

  • Download URL: ajlab-0.1.8.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for ajlab-0.1.8.tar.gz
Algorithm Hash digest
SHA256 6cdec5bb5dcf28b69e8b68c70b694e54b1b3e3a6301960b66cfde32eda516edf
MD5 17a43478aa7a7bd37f67d78a3aa7e9cc
BLAKE2b-256 5a4d4d5ae244a2b034b5c0d8a37d21e23a57888950bfe5d2bcb43b16a6d96a79

See more details on using hashes here.

File details

Details for the file ajlab-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: ajlab-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for ajlab-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 ca16a02403094ab93c5ec72a7069a0682af9c2f27b33f3339d83b52b206cfd34
MD5 76bc77c1684c2cd4e1d80fed9cdd5cef
BLAKE2b-256 f953daa593cefeedb094ec75eb23567cff0e1e847ca49c773d10f08b47ef4a5e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page