GitHub · Capability

GitHub Repos API — Annotations

GitHub Repos API — Annotations. 1 operations. Lead operation: List Check Run Annotations. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubAnnotations

What You Can Do

GET
Listcheckrunannotations — List Check Run Annotations
/v1/repos/{owner}/{repo}/check-runs/{check-run-id}/annotations

MCP Tools

list-check-run-annotations

List Check Run Annotations

read-only idempotent

Capability Spec

temp-annotations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitHub Repos API — Annotations
  description: 'GitHub Repos API — Annotations. 1 operations. Lead operation: List Check Run Annotations. Self-contained Naftiko
    capability covering one Github business surface.'
  tags:
  - Github
  - Annotations
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_API_KEY: GITHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: temp-annotations
    baseUri: ''
    description: GitHub Repos API — Annotations business capability. Self-contained, no shared references.
    resources:
    - name: repos-owner-repo-check-runs-check_run_id-annotations
      path: /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations
      operations:
      - name: listcheckrunannotations
        method: GET
        description: List Check Run Annotations
        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: temp-annotations-rest
    port: 8080
    description: REST adapter for GitHub Repos API — Annotations. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/repos/{owner}/{repo}/check-runs/{check-run-id}/annotations
      name: repos-owner-repo-check-runs-check-run-id-annotations
      description: REST surface for repos-owner-repo-check-runs-check_run_id-annotations.
      operations:
      - method: GET
        name: listcheckrunannotations
        description: List Check Run Annotations
        call: temp-annotations.listcheckrunannotations
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: temp-annotations-mcp
    port: 9090
    transport: http
    description: MCP adapter for GitHub Repos API — Annotations. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-check-run-annotations
      description: List Check Run Annotations
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: temp-annotations.listcheckrunannotations
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.