GitHub · Capability

GitHub Issues API — Get

GitHub Issues API — Get. 3 operations. Lead operation: GitHub Get an Issue Comment. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubGet

What You Can Do

GET
Getanissuecomment — GitHub Get an Issue Comment
/v1/repos/{owner}/{repo}/issues/comments/{comment-id}
GET
Getanissueevent — GitHub Get an Issue Event
/v1/repos/{owner}/{repo}/issues/events/{event-id}
GET
Getanissue — GitHub Get an Issue
/v1/repos/{owner}/{repo}/issues/{issue-number}

MCP Tools

github-get-issue-comment

GitHub Get an Issue Comment

read-only idempotent
github-get-issue-event

GitHub Get an Issue Event

read-only idempotent
github-get-issue

GitHub Get an Issue

read-only idempotent

Capability Spec

issues-get.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitHub Issues API — Get
  description: 'GitHub Issues API — Get. 3 operations. Lead operation: GitHub Get an Issue Comment. 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: issues-get
    baseUri: ''
    description: GitHub Issues API — Get business capability. Self-contained, no shared references.
    resources:
    - name: repos-owner-repo-issues-comments-comment_id
      path: /repos/{owner}/{repo}/issues/comments/{comment_id}
      operations:
      - name: getanissuecomment
        method: GET
        description: GitHub Get 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: repos-owner-repo-issues-events-event_id
      path: /repos/{owner}/{repo}/issues/events/{event_id}
      operations:
      - name: getanissueevent
        method: GET
        description: GitHub Get an Issue Event
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: event_id
          in: path
          type: integer
          required: true
        - 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
      path: /repos/{owner}/{repo}/issues/{issue_number}
      operations:
      - name: getanissue
        method: GET
        description: GitHub Get 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-get-rest
    port: 8080
    description: REST adapter for GitHub Issues API — Get. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/repos/{owner}/{repo}/issues/comments/{comment-id}
      name: repos-owner-repo-issues-comments-comment-id
      description: REST surface for repos-owner-repo-issues-comments-comment_id.
      operations:
      - method: GET
        name: getanissuecomment
        description: GitHub Get an Issue Comment
        call: issues-get.getanissuecomment
        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/events/{event-id}
      name: repos-owner-repo-issues-events-event-id
      description: REST surface for repos-owner-repo-issues-events-event_id.
      operations:
      - method: GET
        name: getanissueevent
        description: GitHub Get an Issue Event
        call: issues-get.getanissueevent
        with:
          event_id: rest.event_id
          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}
      name: repos-owner-repo-issues-issue-number
      description: REST surface for repos-owner-repo-issues-issue_number.
      operations:
      - method: GET
        name: getanissue
        description: GitHub Get an Issue
        call: issues-get.getanissue
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: issues-get-mcp
    port: 9090
    transport: http
    description: MCP adapter for GitHub Issues API — Get. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: github-get-issue-comment
      description: GitHub Get an Issue Comment
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: issues-get.getanissuecomment
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-get-issue-event
      description: GitHub Get an Issue Event
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: issues-get.getanissueevent
      with:
        event_id: tools.event_id
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-get-issue
      description: GitHub Get an Issue
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: issues-get.getanissue
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.