--- id: jupyterlab-commands-toolkit version: "0.1.6" license: BSD 3-Clause License Copyright (c) 2025, Project Jupyter Team All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the… (full text in the JSON record) license_treatment: permissive maintenance: active --- # jupyterlab-commands-toolkit — A Jupyter extension that provides an AI toolkit for JupyterLab commands. License: permissive · Maintenance: active · Downloads: 81.1K/mo ## What it is and what it does jupyterlab_commands_toolkit is a JupyterLab server extension that bridges Python code and AI assistants to JupyterLab's command system. It provides two main functions: discovering all available commands with their metadata, and executing any command programmatically. The extension is designed to integrate with jupyter-server-mcp, automatically exposing its tools to AI clients like Claude Desktop via the Model Context Protocol, making JupyterLab automation accessible to language models and other MCP-compatible tools. The package consists of a Python server component (installed via pip) and a frontend NPM component (installed automatically with the extension). It requires only jupyter-server and jupyterlab-eventlistener as runtime dependencies, keeping installation lightweight. The extension is intended for use within a running Jupyter Server process, where it can intercept and execute commands like toggling the file browser or running notebook cells—typical operations that would otherwise require manual UI interaction. Use it for: - Enable AI assistants to discover and execute JupyterLab commands programmatically via the Model Context Protocol. - Automate repetitive JupyterLab tasks (e.g., running cells, toggling panels) from server-side Python code. - Expose JupyterLab command capabilities to external tools or workflows that integrate with jupyter-server-mcp. - Build custom server extensions that need to interact with JupyterLab's command registry without direct UI access. - Integrate JupyterLab automation into AI-driven notebook workflows or assistants. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Exposes JupyterLab commands to Python code and AI assistants via a server extension, enabling programmatic command discovery and execution within Jupyter environments. Yes, if you need programmatic access to JupyterLab commands or are building AI-assisted workflows. The extension is actively maintained, has low install friction, carries a permissive BSD license, and integrates cleanly with jupyter-server-mcp. Install with caution only if your JupyterLab version is older than 4.5.0a3 or if you need to verify compatibility with your specific extensions. ## Install pip install jupyterlab-commands-toolkit uv add jupyterlab-commands-toolkit poetry add jupyterlab-commands-toolkit ## Installing jupyterlab-commands-toolkit Before you install: Low install friction; pure Python wheel with only two runtime dependencies (jupyter-server and jupyterlab-eventlistener). Active maintenance with recent releases; repository is not archived. License in practice: BSD 3-Clause License permits commercial and private use with minimal restrictions; you must retain copyright notices and disclaimers in distributions. Quickstart: pip install jupyterlab_commands_toolkit from jupyterlab_commands_toolkit.tools import execute_command, list_all_commands async def main(): commands = await list_all_commands() result = await execute_command("filebrowser:toggle-main") Must run within an initialized Jupyter Server process (e.g., via jupyter-server-mcp or another server extension); requires JupyterLab >= 4.5.0a3. Verify before relying: - Whether the extension works with JupyterLab versions between 4.5.0a3 and the latest stable release. - Performance characteristics when listing or executing commands with high frequency. - Compatibility with custom JupyterLab command plugins or third-party extensions. ## Package facts - License: BSD 3-Clause License Copyright (c) 2025, Project Jupyter Team All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the… (full text in the JSON record) (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 81.1K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags jupyterlab command execution python, jupyter ai toolkit extension, jupyterlab mcp integration, programmatic jupyter commands, jupyter server extension ai, jupyterlab automation tools, jupyter assistant integration, jupyter-extension, ai-integration, mcp-protocol [View on SkillFed](https://skillfed.io/packages/jupyterlab-commands-toolkit) · [View on PyPI](https://pypi.org/project/jupyterlab-commands-toolkit/)