GitHub · Capability

GitHub Notifications API — Get

GitHub Notifications API — Get. 2 operations. Lead operation: GitHub Get Thread. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubGet

What You Can Do

GET
Getthread — GitHub Get Thread
/v1/notifications/threads/{thread-id}
GET
Getthreadsubscriptionfortheauthenticateduser — GitHub Get Thread Subscription for the Authenticated User
/v1/notifications/threads/{thread-id}/subscription

MCP Tools

github-get-thread

GitHub Get Thread

read-only idempotent
github-get-thread-subscription-authenticated

GitHub Get Thread Subscription for the Authenticated User

read-only idempotent

Capability Spec

notifications-get.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitHub Notifications API — Get
  description: 'GitHub Notifications API — Get. 2 operations. Lead operation: GitHub Get Thread. 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: notifications-get
    baseUri: ''
    description: GitHub Notifications API — Get business capability. Self-contained, no shared references.
    resources:
    - name: notifications-threads-thread_id
      path: /notifications/threads/{thread_id}
      operations:
      - name: getthread
        method: GET
        description: GitHub Get Thread
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: notifications-threads-thread_id-subscription
      path: /notifications/threads/{thread_id}/subscription
      operations:
      - name: getthreadsubscriptionfortheauthenticateduser
        method: GET
        description: GitHub Get Thread Subscription for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.GITHUB_API_KEY}}'
  exposes:
  - type: rest
    namespace: notifications-get-rest
    port: 8080
    description: REST adapter for GitHub Notifications API — Get. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/notifications/threads/{thread-id}
      name: notifications-threads-thread-id
      description: REST surface for notifications-threads-thread_id.
      operations:
      - method: GET
        name: getthread
        description: GitHub Get Thread
        call: notifications-get.getthread
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/notifications/threads/{thread-id}/subscription
      name: notifications-threads-thread-id-subscription
      description: REST surface for notifications-threads-thread_id-subscription.
      operations:
      - method: GET
        name: getthreadsubscriptionfortheauthenticateduser
        description: GitHub Get Thread Subscription for the Authenticated User
        call: notifications-get.getthreadsubscriptionfortheauthenticateduser
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: notifications-get-mcp
    port: 9090
    transport: http
    description: MCP adapter for GitHub Notifications API — Get. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: github-get-thread
      description: GitHub Get Thread
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: notifications-get.getthread
      outputParameters:
      - type: object
        mapping: $.
    - name: github-get-thread-subscription-authenticated
      description: GitHub Get Thread Subscription for the Authenticated User
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: notifications-get.getthreadsubscriptionfortheauthenticateduser
      outputParameters:
      - type: object
        mapping: $.