Skip to main content

jupygate

A standalone Jupyter server (contents, sessions, kernels, kernelspecs, terminals) with a thin MCP layer, distributed as a single static binary and reusable Rust library crate.

Installation

Prebuilt wheels cover Linux x86-64, Linux ARM64, and Apple Silicon macOS:

pip install jupygate

Installing from the source distribution on other platforms requires a Rust toolchain.

Running

jupygate [--host H] [--port N] [--port-file PATH] [--token T | --token-file PATH] [--trust-loopback] [--root DIR] [--tls] [--cull-idle SECONDS] [--exit-with-parent]

Defaults are 127.0.0.1, port 8787, no authentication, and the current working directory as --root. Pass --port 0 --port-file PATH to bind an ephemeral port and write the bound port number atomically to PATH once listening. When a token is configured, clients authenticate with Authorization: Bearer T, Authorization: token T, or ?token=T. --trust-loopback lets loopback TCP peers omit the token. --tls serves HTTPS and WSS with a self-signed certificate generated at startup. --exit-with-parent shuts the gateway down once its parent process exits.

Running as a service

jupygate service installs and controls a user service via launchd on macOS and systemd on Linux:

jupygate service install --root ~/git --workdir ~/git
jupygate service status
jupygate service restart
jupygate service stop
jupygate service start
jupygate service uninstall

APIs

  • Contents: GET/POST /api/contents, GET/PUT/POST/PATCH/DELETE /api/contents/{path} (stock Jupyter file, notebook, and directory models).
  • Sessions: GET/POST /api/sessions, GET/PATCH/DELETE /api/sessions/{sid} (standard Jupyter path-to-kernel session reuse and rename tracking).
  • Kernels: GET/POST /api/kernels, GET/DELETE /api/kernels/{kid}, POST /api/kernels/{kid}/interrupt, POST /api/kernels/{kid}/restart, WS /api/kernels/{kid}/channels. Direct kernel creates are always independent; an optional path sets the default working directory. A WebSocket reconnect starts a fresh event stream with no detached-session replay buffer. Internal kernel-channel loss requires a restart.
  • Kernelspecs: GET /api/kernelspecs, GET /api/kernelspecs/{name} (matching jupyter kernelspec list search order).
  • Terminals: GET/POST /api/terminals, GET/DELETE /api/terminals/{name}, WS /terminals/websocket/{name} (Jupyter terminado JSON-array framing). Terminal lifetimes are independent of kernel deletions.
  • MCP: POST /mcp and DELETE /mcp (Streamable HTTP JSON-RPC with list_kernels, create, use_kernel, delete_kernel, exec, restart, interrupt, /params/jupygate session defaults, and "jupygate": true in the initialize result).
  • Contract: GET / returns {"version", "cwd"} and GET /openapi.json returns the public OpenAPI 3.1 schema.

Metadata

Release files for jupygate 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jupygate 0.1.2
File Size Uploaded Provenance Actions
jupygate-0.1.2.tar.gz 97.6 kB With provenance Details for jupygate-0.1.2.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for jupygate 0.1.2
File Interpreter ABI Platform Actions
jupygate-0.1.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for jupygate-0.1.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
jupygate-0.1.2-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for jupygate-0.1.2-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
jupygate-0.1.2-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for jupygate-0.1.2-py3-none-macosx_11_0_arm64.whl

Total release size: 7.6 MB

Release files / jupygate-0.1.2.tar.gz

Download URL jupygate-0.1.2.tar.gz
Size 97.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a5083231c2ff5ef0be3c6fe7efd9d5312e6830de0567db746ab4e66d3b1e3b9e
BLAKE2b-256 checksum
How to use checksums
ce52fe7ced39ac4fb7ca1d4f0a45520c5191454d646e82b6eccdb9f94f39b0c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Release files / jupygate-0.1.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL jupygate-0.1.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 2.6 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
861143cef36d39e1bd113be287f898e1091db5ecd48142cb7fe03b60acf96375
BLAKE2b-256 checksum
How to use checksums
90abf86d21514e4ba59b98a82530dd3b0404589ec5a7e116a99d8a2e9385fcc2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Release files / jupygate-0.1.2-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL jupygate-0.1.2-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 2.5 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
df040b90a864be540e676699e527c0328fbccc97df652162eada82e23dd76736
BLAKE2b-256 checksum
How to use checksums
6c78af603a66ee27f6cdd5f321c45ca0ad10ce8cc0346766e275355af4680a6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Release files / jupygate-0.1.2-py3-none-macosx_11_0_arm64.whl

Download URL jupygate-0.1.2-py3-none-macosx_11_0_arm64.whl
Size 2.4 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
aac96db1a20f369bc8f9042140512d8dd3de20f457c7a023ce0d5c8e84411f6e
BLAKE2b-256 checksum
How to use checksums
94929ae6eaa7586df0979199125f45dbbde8c6dd1478c3229d1c0fec735f42b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Security for jupygate 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for jupygate-0.1.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page