GitHub · Capability
github-repos-api — Lists
github-repos-api — Lists. 9 operations. Lead operation: GitHub List Repository Issues. Self-contained Naftiko capability covering one Github business surface.
What You Can Do
GET
Listrepositoryissues
— GitHub List Repository Issues
/v1/repos/{owner}/{repo}/issues
GET
Listissuecommentsforrepository
— GitHub List Issue Comments for Repository
/v1/repos/{owner}/{repo}/issues/comments
GET
Listreactionsforanissuecomment
— GitHub List Reactions for an Issue Comment
/v1/repos/{owner}/{repo}/issues/comments/{comment-id}/reactions
GET
Listissueeventsforrepository
— GitHub List Issue Events for Repository
/v1/repos/{owner}/{repo}/issues/events
GET
Listissuecomments
— GitHub List Issue Comments
/v1/repos/{owner}/{repo}/issues/{issue-number}/comments
GET
Listissueevents
— GitHub List Issue Events
/v1/repos/{owner}/{repo}/issues/{issue-number}/events
GET
Listlabelsforanissue
— GitHub List Labels for an Issue
/v1/repos/{owner}/{repo}/issues/{issue-number}/labels
GET
Listreactionsforanissue
— GitHub List Reactions for an Issue
/v1/repos/{owner}/{repo}/issues/{issue-number}/reactions
GET
Listtimelineeventsforanissue
— GitHub List Timeline Events for an Issue
/v1/repos/{owner}/{repo}/issues/{issue-number}/timeline
MCP Tools
github-list-repository-issues
GitHub List Repository Issues
read-only
idempotent
github-list-issue-comments-repository
GitHub List Issue Comments for Repository
read-only
idempotent
github-list-reactions-issue-comment
GitHub List Reactions for an Issue Comment
read-only
idempotent
github-list-issue-events-repository
GitHub List Issue Events for Repository
read-only
idempotent
github-list-issue-comments
GitHub List Issue Comments
read-only
idempotent
github-list-issue-events
GitHub List Issue Events
read-only
idempotent
github-list-labels-issue
GitHub List Labels for an Issue
read-only
idempotent
github-list-reactions-issue
GitHub List Reactions for an Issue
read-only
idempotent
github-list-timeline-events-issue
GitHub List Timeline Events for an Issue
read-only
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: github-repos-api — Lists
description: 'github-repos-api — Lists. 9 operations. Lead operation: GitHub List Repository Issues. 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: repo-issues-lists
baseUri: ''
description: github-repos-api — Lists business capability. Self-contained, no shared references.
resources:
- name: repos-owner-repo-issues
path: /repos/{owner}/{repo}/issues
operations:
- name: listrepositoryissues
method: GET
description: GitHub List Repository Issues
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: milestone
in: query
type: string
description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*`
is passed, issues with any milestone are accepted. If the str
- name: state
in: query
type: string
description: Indicates the state of the issues to return.
- name: assignee
in: query
type: string
description: Can be the name of a user. Pass in `none` for issues with no assigned user, and `*` for issues assigned
to any user.
- name: creator
in: query
type: string
description: The user that created the issue.
- name: mentioned
in: query
type: string
description: user that's mentioned in the issue.
- name: sort
in: query
type: string
description: What to sort results by.
- 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
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/[email protected]/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/[email protected]/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: repo-issues-lists-rest
port: 8080
description: REST adapter for github-repos-api — Lists. One Spectral-compliant resource per consumed operation, prefixed
with /v1.
resources:
- path: /v1/repos/{owner}/{repo}/issues
name: repos-owner-repo-issues
description: REST surface for repos-owner-repo-issues.
operations:
- method: GET
name: listrepositoryissues
description: GitHub List Repository Issues
call: repo-issues-lists.listrepositoryissues
with:
milestone: rest.milestone
state: rest.state
assignee: rest.assignee
creator: rest.creator
mentioned: rest.mentioned
sort: rest.sort
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
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: repo-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: repo-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: repo-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: repo-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: repo-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: repo-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: repo-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: repo-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: repo-issues-lists-mcp
port: 9090
transport: http
description: MCP adapter for github-repos-api — Lists. One tool per consumed operation, routed inline through this capability's
consumes block.
tools:
- name: github-list-repository-issues
description: GitHub List Repository Issues
hints:
readOnly: true
destructive: false
idempotent: true
call: repo-issues-lists.listrepositoryissues
with:
milestone: tools.milestone
state: tools.state
assignee: tools.assignee
creator: tools.creator
mentioned: tools.mentioned
sort: tools.sort
Authorization: tools.Authorization
X-GitHub-Api-Version: tools.X-GitHub-Api-Version
Accept: tools.Accept
outputParameters:
- type: object
mapping: $.
- name: github-list-issue-comments-repository
description: GitHub List Issue Comments for Repository
hints:
readOnly: true
destructive: false
idempotent: true
call: repo-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: repo-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: repo-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: repo-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: repo-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: repo-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: repo-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: repo-issues-lists.listtimelineeventsforanissue
with:
Authorization: tools.Authorization
X-GitHub-Api-Version: tools.X-GitHub-Api-Version
Accept: tools.Accept
outputParameters:
- type: object
mapping: $.