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 >=3.0.0a0 and jupyter-server-ydoc >=3.0.0a0
  • 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.9.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.9-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ajlab-0.1.9.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.9.tar.gz
Algorithm Hash digest
SHA256 70c07b04038511c7812da0d6cb040f09017f780de37e05b08369e052b5d1fa13
MD5 571bc281596e061788224e6dc1d61cc8
BLAKE2b-256 d97e8b2f65457d6731a11e479025690d0e21750db7ef45c3eb5f3d6bf62db831

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ajlab-0.1.9-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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 33decf2a6240600e796c152afc4e4d407ce78cc1da731a0dd6e6bfa40b7cfe78
MD5 6433ec7f135f76176fac85d8daa2630a
BLAKE2b-256 47b770b68a0f0f6727c8dd695b47a9e052fc6d20a6cf5939809c08ed4adefa9c

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