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.0a5
  • jupyter-docprovider >=2.4.0a0 and jupyter-server-ydoc >=2.4.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.7.tar.gz (3.1 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.7-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ajlab-0.1.7.tar.gz
  • Upload date:
  • Size: 3.1 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.7.tar.gz
Algorithm Hash digest
SHA256 38881dd2c5b219863574b0966472dfaa4ccc9377373168ca59239471efe6ee2d
MD5 33d16880e209cf8a41818deebd8041aa
BLAKE2b-256 05f7078e69e2a20e4a4227ef311f8c2b85555f58451a651da719d86608bc7672

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ajlab-0.1.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c904e0f98f436848aa29551014edfebea67e644d1699e58017a6379c7d7fb9eb
MD5 ea599a8c55d1ac2bac41a85331a850fd
BLAKE2b-256 407a6ca782ad97f5bfc09f5b7469f44100fd334b8e3f5cf22aa35332f771c8cf

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