naftiko: 1.0.0-alpha2 info: label: GitHub Org API — Applications description: 'GitHub Org API — Applications. 3 operations. Lead operation: GitHub List Runner Applications for an Organization. Self-contained Naftiko capability covering one Github business surface.' tags: - Github - Applications created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GITHUB_API_KEY: GITHUB_API_KEY capability: consumes: - type: http namespace: organizations-applications baseUri: '' description: GitHub Org API — Applications business capability. Self-contained, no shared references. resources: - name: orgs-org-actions-runners-downloads path: /orgs/{org}/actions/runners/downloads operations: - name: listrunnerapplicationsforanorganization method: GET description: GitHub List Runner Applications for an Organization outputRawFormat: json outputParameters: - name: result type: object value: $. - name: orgs-org-installation path: /orgs/{org}/installation operations: - name: getanorganizationinstallationfortheauthenticatedapp method: GET description: GitHub Get an Organization Installation for the Authenticated App outputRawFormat: json outputParameters: - name: result type: object value: $. - name: orgs-org-installations path: /orgs/{org}/installations operations: - name: listappinstallationsforanorganization method: GET description: GitHub List App Installations for an Organization outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.GITHUB_API_KEY}}' exposes: - type: rest namespace: organizations-applications-rest port: 8080 description: REST adapter for GitHub Org API — Applications. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/orgs/{org}/actions/runners/downloads name: orgs-org-actions-runners-downloads description: REST surface for orgs-org-actions-runners-downloads. operations: - method: GET name: listrunnerapplicationsforanorganization description: GitHub List Runner Applications for an Organization call: organizations-applications.listrunnerapplicationsforanorganization outputParameters: - type: object mapping: $. - path: /v1/orgs/{org}/installation name: orgs-org-installation description: REST surface for orgs-org-installation. operations: - method: GET name: getanorganizationinstallationfortheauthenticatedapp description: GitHub Get an Organization Installation for the Authenticated App call: organizations-applications.getanorganizationinstallationfortheauthenticatedapp outputParameters: - type: object mapping: $. - path: /v1/orgs/{org}/installations name: orgs-org-installations description: REST surface for orgs-org-installations. operations: - method: GET name: listappinstallationsforanorganization description: GitHub List App Installations for an Organization call: organizations-applications.listappinstallationsforanorganization outputParameters: - type: object mapping: $. - type: mcp namespace: organizations-applications-mcp port: 9090 transport: http description: MCP adapter for GitHub Org API — Applications. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: github-list-runner-applications-organization description: GitHub List Runner Applications for an Organization hints: readOnly: true destructive: false idempotent: true call: organizations-applications.listrunnerapplicationsforanorganization outputParameters: - type: object mapping: $. - name: github-get-organization-installation-authenticated description: GitHub Get an Organization Installation for the Authenticated App hints: readOnly: true destructive: false idempotent: true call: organizations-applications.getanorganizationinstallationfortheauthenticatedapp outputParameters: - type: object mapping: $. - name: github-list-app-installations-organization description: GitHub List App Installations for an Organization hints: readOnly: true destructive: false idempotent: true call: organizations-applications.listappinstallationsforanorganization outputParameters: - type: object mapping: $.