GitHub · Capability

github-repos-api — Reactions

github-repos-api — Reactions. 6 operations. Lead operation: GitHub List Reactions for an Issue Comment. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubReactions

What You Can Do

GET
Listreactionsforanissuecomment — GitHub List Reactions for an Issue Comment
/v1/repos/{owner}/{repo}/issues/comments/{comment-id}/reactions
POST
Createreactionforanissuecomment — GitHub Create Reaction for an Issue Comment
/v1/repos/{owner}/{repo}/issues/comments/{comment-id}/reactions
DELETE
Deleteanissuecommentreaction — GitHub Delete an Issue Comment Reaction
/v1/repos/{owner}/{repo}/issues/comments/{comment-id}/reactions/{reaction-id}
GET
Listreactionsforanissue — GitHub List Reactions for an Issue
/v1/repos/{owner}/{repo}/issues/{issue-number}/reactions
POST
Createreactionforanissue — GitHub Create Reaction for an Issue
/v1/repos/{owner}/{repo}/issues/{issue-number}/reactions
DELETE
Deleteanissuereaction — GitHub Delete an Issue Reaction
/v1/repos/{owner}/{repo}/issues/{issue-number}/reactions/{reaction-id}

MCP Tools

github-list-reactions-issue-comment

GitHub List Reactions for an Issue Comment

read-only idempotent
github-create-reaction-issue-comment

GitHub Create Reaction for an Issue Comment

github-delete-issue-comment-reaction

GitHub Delete an Issue Comment Reaction

idempotent
github-list-reactions-issue

GitHub List Reactions for an Issue

read-only idempotent
github-create-reaction-issue

GitHub Create Reaction for an Issue

github-delete-issue-reaction

GitHub Delete an Issue Reaction

idempotent

Capability Spec

repo-issues-reactions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: github-repos-api — Reactions
  description: 'github-repos-api — Reactions. 6 operations. Lead operation: GitHub List Reactions for an Issue Comment. Self-contained
    Naftiko capability covering one Github business surface.'
  tags:
  - Github
  - Reactions
  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-reactions
    baseUri: ''
    description: github-repos-api — Reactions business capability. Self-contained, no shared references.
    resources:
    - 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: createreactionforanissuecomment
        method: POST
        description: GitHub Create Reaction for an Issue Comment
        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: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-issues-comments-comment_id-reactions-reaction_id
      path: /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}
      operations:
      - name: deleteanissuecommentreaction
        method: DELETE
        description: GitHub Delete an Issue Comment Reaction
        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: createreactionforanissue
        method: POST
        description: GitHub Create Reaction 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: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-issues-issue_number-reactions-reaction_id
      path: /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}
      operations:
      - name: deleteanissuereaction
        method: DELETE
        description: GitHub Delete an Issue Reaction
        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-reactions-rest
    port: 8080
    description: REST adapter for github-repos-api — Reactions. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - 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-reactions.listreactionsforanissuecomment
        with:
          content: rest.content
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createreactionforanissuecomment
        description: GitHub Create Reaction for an Issue Comment
        call: repo-issues-reactions.createreactionforanissuecomment
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/issues/comments/{comment-id}/reactions/{reaction-id}
      name: repos-owner-repo-issues-comments-comment-id-reactions-reaction-id
      description: REST surface for repos-owner-repo-issues-comments-comment_id-reactions-reaction_id.
      operations:
      - method: DELETE
        name: deleteanissuecommentreaction
        description: GitHub Delete an Issue Comment Reaction
        call: repo-issues-reactions.deleteanissuecommentreaction
        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-reactions.listreactionsforanissue
        with:
          content: rest.content
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createreactionforanissue
        description: GitHub Create Reaction for an Issue
        call: repo-issues-reactions.createreactionforanissue
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/issues/{issue-number}/reactions/{reaction-id}
      name: repos-owner-repo-issues-issue-number-reactions-reaction-id
      description: REST surface for repos-owner-repo-issues-issue_number-reactions-reaction_id.
      operations:
      - method: DELETE
        name: deleteanissuereaction
        description: GitHub Delete an Issue Reaction
        call: repo-issues-reactions.deleteanissuereaction
        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-reactions-mcp
    port: 9090
    transport: http
    description: MCP adapter for github-repos-api — Reactions. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: github-list-reactions-issue-comment
      description: GitHub List Reactions for an Issue Comment
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: repo-issues-reactions.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-create-reaction-issue-comment
      description: GitHub Create Reaction for an Issue Comment
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: repo-issues-reactions.createreactionforanissuecomment
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: github-delete-issue-comment-reaction
      description: GitHub Delete an Issue Comment Reaction
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: repo-issues-reactions.deleteanissuecommentreaction
      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-reactions.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-create-reaction-issue
      description: GitHub Create Reaction for an Issue
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: repo-issues-reactions.createreactionforanissue
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: github-delete-issue-reaction
      description: GitHub Delete an Issue Reaction
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: repo-issues-reactions.deleteanissuereaction
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.