naftiko: 1.0.0-alpha2 info: label: GitHub Issues API — Lists description: 'GitHub Issues API — Lists. 8 operations. Lead operation: GitHub List Issue Comments for Repository. Self-contained Naftiko capability covering one Github business surface.' tags: - Github - Lists created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GITHUB_API_KEY: GITHUB_API_KEY capability: consumes: - type: http namespace: issues-lists baseUri: '' description: GitHub Issues API — Lists business capability. Self-contained, no shared references. resources: - name: repos-owner-repo-issues-comments path: /repos/{owner}/{repo}/issues/comments operations: - name: listissuecommentsforrepository method: GET description: GitHub List Issue Comments for Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: direction in: query type: string description: Either `asc` or `desc`. Ignored without the `sort` parameter. - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: repos-owner-repo-issues-comments-comment_id-reactions path: /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions operations: - name: listreactionsforanissuecomment method: GET description: GitHub List Reactions for an Issue Comment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: content in: query type: string description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.9/rest/reactions/reactions#about-reactions). Omit this parameter to list all reacti - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: repos-owner-repo-issues-events path: /repos/{owner}/{repo}/issues/events operations: - name: listissueeventsforrepository method: GET description: GitHub List Issue Events for Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: repos-owner-repo-issues-issue_number-comments path: /repos/{owner}/{repo}/issues/{issue_number}/comments operations: - name: listissuecomments method: GET description: GitHub List Issue Comments outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: repos-owner-repo-issues-issue_number-events path: /repos/{owner}/{repo}/issues/{issue_number}/events operations: - name: listissueevents method: GET description: GitHub List Issue Events outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: repos-owner-repo-issues-issue_number-labels path: /repos/{owner}/{repo}/issues/{issue_number}/labels operations: - name: listlabelsforanissue method: GET description: GitHub List Labels for an Issue outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: repos-owner-repo-issues-issue_number-reactions path: /repos/{owner}/{repo}/issues/{issue_number}/reactions operations: - name: listreactionsforanissue method: GET description: GitHub List Reactions for an Issue outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: content in: query type: string description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.9/rest/reactions/reactions#about-reactions). Omit this parameter to list all reacti - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: repos-owner-repo-issues-issue_number-timeline path: /repos/{owner}/{repo}/issues/{issue_number}/timeline operations: - name: listtimelineeventsforanissue method: GET description: GitHub List Timeline Events for an Issue outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string authentication: type: bearer token: '{{env.GITHUB_API_KEY}}' exposes: - type: rest namespace: issues-lists-rest port: 8080 description: REST adapter for GitHub Issues API — Lists. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/repos/{owner}/{repo}/issues/comments name: repos-owner-repo-issues-comments description: REST surface for repos-owner-repo-issues-comments. operations: - method: GET name: listissuecommentsforrepository description: GitHub List Issue Comments for Repository call: issues-lists.listissuecommentsforrepository with: direction: rest.direction Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/issues/comments/{comment-id}/reactions name: repos-owner-repo-issues-comments-comment-id-reactions description: REST surface for repos-owner-repo-issues-comments-comment_id-reactions. operations: - method: GET name: listreactionsforanissuecomment description: GitHub List Reactions for an Issue Comment call: issues-lists.listreactionsforanissuecomment with: content: rest.content Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/issues/events name: repos-owner-repo-issues-events description: REST surface for repos-owner-repo-issues-events. operations: - method: GET name: listissueeventsforrepository description: GitHub List Issue Events for Repository call: issues-lists.listissueeventsforrepository with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/issues/{issue-number}/comments name: repos-owner-repo-issues-issue-number-comments description: REST surface for repos-owner-repo-issues-issue_number-comments. operations: - method: GET name: listissuecomments description: GitHub List Issue Comments call: issues-lists.listissuecomments with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/issues/{issue-number}/events name: repos-owner-repo-issues-issue-number-events description: REST surface for repos-owner-repo-issues-issue_number-events. operations: - method: GET name: listissueevents description: GitHub List Issue Events call: issues-lists.listissueevents with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/issues/{issue-number}/labels name: repos-owner-repo-issues-issue-number-labels description: REST surface for repos-owner-repo-issues-issue_number-labels. operations: - method: GET name: listlabelsforanissue description: GitHub List Labels for an Issue call: issues-lists.listlabelsforanissue with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/issues/{issue-number}/reactions name: repos-owner-repo-issues-issue-number-reactions description: REST surface for repos-owner-repo-issues-issue_number-reactions. operations: - method: GET name: listreactionsforanissue description: GitHub List Reactions for an Issue call: issues-lists.listreactionsforanissue with: content: rest.content Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/issues/{issue-number}/timeline name: repos-owner-repo-issues-issue-number-timeline description: REST surface for repos-owner-repo-issues-issue_number-timeline. operations: - method: GET name: listtimelineeventsforanissue description: GitHub List Timeline Events for an Issue call: issues-lists.listtimelineeventsforanissue with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - type: mcp namespace: issues-lists-mcp port: 9090 transport: http description: MCP adapter for GitHub Issues API — Lists. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: github-list-issue-comments-repository description: GitHub List Issue Comments for Repository hints: readOnly: true destructive: false idempotent: true call: issues-lists.listissuecommentsforrepository with: direction: tools.direction Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-list-reactions-issue-comment description: GitHub List Reactions for an Issue Comment hints: readOnly: true destructive: false idempotent: true call: issues-lists.listreactionsforanissuecomment with: content: tools.content Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-list-issue-events-repository description: GitHub List Issue Events for Repository hints: readOnly: true destructive: false idempotent: true call: issues-lists.listissueeventsforrepository with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-list-issue-comments description: GitHub List Issue Comments hints: readOnly: true destructive: false idempotent: true call: issues-lists.listissuecomments with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-list-issue-events description: GitHub List Issue Events hints: readOnly: true destructive: false idempotent: true call: issues-lists.listissueevents with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-list-labels-issue description: GitHub List Labels for an Issue hints: readOnly: true destructive: false idempotent: true call: issues-lists.listlabelsforanissue with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-list-reactions-issue description: GitHub List Reactions for an Issue hints: readOnly: true destructive: false idempotent: true call: issues-lists.listreactionsforanissue with: content: tools.content Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-list-timeline-events-issue description: GitHub List Timeline Events for an Issue hints: readOnly: true destructive: false idempotent: true call: issues-lists.listtimelineeventsforanissue with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $.