Jupyter Notebook · Capability

Jupyter Notebook JupyterHub REST API

Jupyter Notebook JupyterHub REST API. 2 operations. Lead operation: Jupyter Notebook Get JupyterHub version. Self-contained Naftiko capability covering one Jupyter Notebook business surface.

Run with Naftiko Jupyter Notebook

What You Can Do

GET
Getrootinfo — Jupyter Notebook Get JupyterHub version
/v1
GET
Getinfo — Jupyter Notebook Get detailed server info
/v1/info

MCP Tools

jupyter-notebook-get-jupyterhub-version

Jupyter Notebook Get JupyterHub version

read-only idempotent
jupyter-notebook-get-detailed-server

Jupyter Notebook Get detailed server info

read-only idempotent

Capability Spec

jupyterhub-rest-general-2.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Jupyter Notebook JupyterHub REST API
  description: 'Jupyter Notebook JupyterHub REST API. 2 operations. Lead operation: Jupyter Notebook Get JupyterHub version.
    Self-contained Naftiko capability covering one Jupyter Notebook business surface.'
  tags:
  - Jupyter Notebook
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    JUPYTER_NOTEBOOK_API_KEY: JUPYTER_NOTEBOOK_API_KEY
capability:
  consumes:
  - type: http
    namespace: jupyterhub-rest-general-2
    baseUri: http://localhost:8000/hub/api
    description: Jupyter Notebook JupyterHub REST API business capability. Self-contained, no shared references.
    resources:
    - name: root
      path: /
      operations:
      - name: getrootinfo
        method: GET
        description: Jupyter Notebook Get JupyterHub version
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: info
      path: /info
      operations:
      - name: getinfo
        method: GET
        description: Jupyter Notebook Get detailed server info
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.JUPYTER_NOTEBOOK_API_KEY}}'
  exposes:
  - type: rest
    namespace: jupyterhub-rest-general-2-rest
    port: 8080
    description: REST adapter for Jupyter Notebook JupyterHub REST API. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1
      name: root
      description: REST surface for root.
      operations:
      - method: GET
        name: getrootinfo
        description: Jupyter Notebook Get JupyterHub version
        call: jupyterhub-rest-general-2.getrootinfo
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/info
      name: info
      description: REST surface for info.
      operations:
      - method: GET
        name: getinfo
        description: Jupyter Notebook Get detailed server info
        call: jupyterhub-rest-general-2.getinfo
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: jupyterhub-rest-general-2-mcp
    port: 9090
    transport: http
    description: MCP adapter for Jupyter Notebook JupyterHub REST API. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: jupyter-notebook-get-jupyterhub-version
      description: Jupyter Notebook Get JupyterHub version
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: jupyterhub-rest-general-2.getrootinfo
      outputParameters:
      - type: object
        mapping: $.
    - name: jupyter-notebook-get-detailed-server
      description: Jupyter Notebook Get detailed server info
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: jupyterhub-rest-general-2.getinfo
      outputParameters:
      - type: object
        mapping: $.