Jupyter Notebook · Capability

Jupyter Notebook REST API

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

Run with Naftiko Jupyter Notebook

What You Can Do

GET
Getapiinfo — Jupyter Notebook Get API info
/v1/api
GET
Getapistatus — Jupyter Notebook Get server status
/v1/api/status

MCP Tools

jupyter-notebook-get-api-info

Jupyter Notebook Get API info

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

Jupyter Notebook Get server status

read-only idempotent

Capability Spec

rest-general.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Jupyter Notebook REST API
  description: 'Jupyter Notebook REST API. 2 operations. Lead operation: Jupyter Notebook Get API info. 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: rest-general
    baseUri: http://localhost:8888/api
    description: Jupyter Notebook REST API business capability. Self-contained, no shared references.
    resources:
    - name: api
      path: /api
      operations:
      - name: getapiinfo
        method: GET
        description: Jupyter Notebook Get API info
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-status
      path: /api/status
      operations:
      - name: getapistatus
        method: GET
        description: Jupyter Notebook Get server status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: token
      value: '{{env.JUPYTER_NOTEBOOK_API_KEY}}'
      placement: query
  exposes:
  - type: rest
    namespace: rest-general-rest
    port: 8080
    description: REST adapter for Jupyter Notebook REST API. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api
      name: api
      description: REST surface for api.
      operations:
      - method: GET
        name: getapiinfo
        description: Jupyter Notebook Get API info
        call: rest-general.getapiinfo
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/status
      name: api-status
      description: REST surface for api-status.
      operations:
      - method: GET
        name: getapistatus
        description: Jupyter Notebook Get server status
        call: rest-general.getapistatus
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: rest-general-mcp
    port: 9090
    transport: http
    description: MCP adapter for Jupyter Notebook REST API. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: jupyter-notebook-get-api-info
      description: Jupyter Notebook Get API info
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-general.getapiinfo
      outputParameters:
      - type: object
        mapping: $.
    - name: jupyter-notebook-get-server-status
      description: Jupyter Notebook Get server status
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-general.getapistatus
      outputParameters:
      - type: object
        mapping: $.