naftiko: 1.0.0-alpha2 info: label: GitHub Setup API — Get description: 'GitHub Setup API — Get. 4 operations. Lead operation: GitHub Get the Configuration Status. Self-contained Naftiko capability covering one Github business surface.' tags: - Github - Get created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GITHUB_API_KEY: GITHUB_API_KEY capability: consumes: - type: http namespace: setup-get baseUri: '' description: GitHub Setup API — Get business capability. Self-contained, no shared references. resources: - name: setup-api-configcheck path: /setup/api/configcheck operations: - name: gettheconfigurationstatus method: GET description: GitHub Get the Configuration Status outputRawFormat: json outputParameters: - name: result type: object value: $. - name: setup-api-maintenance path: /setup/api/maintenance operations: - name: getthemaintenancestatus method: GET description: GitHub Get the Maintenance Status outputRawFormat: json outputParameters: - name: result type: object value: $. - name: setup-api-settings path: /setup/api/settings operations: - name: getsettings method: GET description: GitHub Get Settings outputRawFormat: json outputParameters: - name: result type: object value: $. - name: setup-api-settings-authorized-keys path: /setup/api/settings/authorized-keys operations: - name: getallauthorizedsshkeys method: GET description: GitHub Get All Authorized Ssh Keys outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.GITHUB_API_KEY}}' exposes: - type: rest namespace: setup-get-rest port: 8080 description: REST adapter for GitHub Setup API — Get. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/setup/api/configcheck name: setup-api-configcheck description: REST surface for setup-api-configcheck. operations: - method: GET name: gettheconfigurationstatus description: GitHub Get the Configuration Status call: setup-get.gettheconfigurationstatus outputParameters: - type: object mapping: $. - path: /v1/setup/api/maintenance name: setup-api-maintenance description: REST surface for setup-api-maintenance. operations: - method: GET name: getthemaintenancestatus description: GitHub Get the Maintenance Status call: setup-get.getthemaintenancestatus outputParameters: - type: object mapping: $. - path: /v1/setup/api/settings name: setup-api-settings description: REST surface for setup-api-settings. operations: - method: GET name: getsettings description: GitHub Get Settings call: setup-get.getsettings outputParameters: - type: object mapping: $. - path: /v1/setup/api/settings/authorized-keys name: setup-api-settings-authorized-keys description: REST surface for setup-api-settings-authorized-keys. operations: - method: GET name: getallauthorizedsshkeys description: GitHub Get All Authorized Ssh Keys call: setup-get.getallauthorizedsshkeys outputParameters: - type: object mapping: $. - type: mcp namespace: setup-get-mcp port: 9090 transport: http description: MCP adapter for GitHub Setup API — Get. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: github-get-configuration-status description: GitHub Get the Configuration Status hints: readOnly: true destructive: false idempotent: true call: setup-get.gettheconfigurationstatus outputParameters: - type: object mapping: $. - name: github-get-maintenance-status description: GitHub Get the Maintenance Status hints: readOnly: true destructive: false idempotent: true call: setup-get.getthemaintenancestatus outputParameters: - type: object mapping: $. - name: github-get-settings description: GitHub Get Settings hints: readOnly: true destructive: false idempotent: true call: setup-get.getsettings outputParameters: - type: object mapping: $. - name: github-get-all-authorized-ssh description: GitHub Get All Authorized Ssh Keys hints: readOnly: true destructive: false idempotent: true call: setup-get.getallauthorizedsshkeys outputParameters: - type: object mapping: $.