naftiko: 1.0.0-alpha2 info: label: Jupyter Server REST API — Config description: 'Jupyter Server REST API — Config. 2 operations. Lead operation: Jupyter Server Get config section. Self-contained Naftiko capability covering one Jupyter Server business surface.' tags: - Jupyter Server - Config created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: JUPYTER_SERVER_API_KEY: JUPYTER_SERVER_API_KEY capability: consumes: - type: http namespace: rest-config baseUri: http://localhost:8888/api description: Jupyter Server REST API — Config business capability. Self-contained, no shared references. resources: - name: config-section_name path: /config/{section_name} operations: - name: getconfig method: GET description: Jupyter Server Get config section outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: section_name in: path type: string required: true - name: updateconfig method: PATCH description: Jupyter Server Update config section outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: section_name in: path type: string required: true authentication: type: apikey key: Authorization value: '{{env.JUPYTER_SERVER_API_KEY}}' placement: header exposes: - type: rest namespace: rest-config-rest port: 8080 description: REST adapter for Jupyter Server REST API — Config. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/config/{section-name} name: config-section-name description: REST surface for config-section_name. operations: - method: GET name: getconfig description: Jupyter Server Get config section call: rest-config.getconfig with: section_name: rest.section_name outputParameters: - type: object mapping: $. - method: PATCH name: updateconfig description: Jupyter Server Update config section call: rest-config.updateconfig with: section_name: rest.section_name outputParameters: - type: object mapping: $. - type: mcp namespace: rest-config-mcp port: 9090 transport: http description: MCP adapter for Jupyter Server REST API — Config. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: jupyter-server-get-config-section description: Jupyter Server Get config section hints: readOnly: true destructive: false idempotent: true call: rest-config.getconfig with: section_name: tools.section_name outputParameters: - type: object mapping: $. - name: jupyter-server-update-config-section description: Jupyter Server Update config section hints: readOnly: false destructive: false idempotent: true call: rest-config.updateconfig with: section_name: tools.section_name outputParameters: - type: object mapping: $.