GitHub · Capability

GitHub User API — Received

GitHub User API — Received. 2 operations. Lead operation: GitHub List Events Received by the Authenticated User. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubReceived

What You Can Do

GET
Listeventsreceivedbytheauthenticateduser — GitHub List Events Received by the Authenticated User
/v1/users/{username}/received-events
GET
Listpubliceventsreceivedbyuser — GitHub List Public Events Received by User
/v1/users/{username}/received-events/public

MCP Tools

github-list-events-received-authenticated

GitHub List Events Received by the Authenticated User

read-only idempotent
github-list-public-events-received

GitHub List Public Events Received by User

read-only idempotent

Capability Spec

users-received.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitHub User API — Received
  description: 'GitHub User API — Received. 2 operations. Lead operation: GitHub List Events Received by the Authenticated
    User. Self-contained Naftiko capability covering one Github business surface.'
  tags:
  - Github
  - Received
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_API_KEY: GITHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: users-received
    baseUri: ''
    description: GitHub User API — Received business capability. Self-contained, no shared references.
    resources:
    - name: users-username-received_events
      path: /users/{username}/received_events
      operations:
      - name: listeventsreceivedbytheauthenticateduser
        method: GET
        description: GitHub List Events Received by the Authenticated User
        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: users-username-received_events-public
      path: /users/{username}/received_events/public
      operations:
      - name: listpubliceventsreceivedbyuser
        method: GET
        description: GitHub List Public Events Received by User
        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: users-received-rest
    port: 8080
    description: REST adapter for GitHub User API — Received. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/users/{username}/received-events
      name: users-username-received-events
      description: REST surface for users-username-received_events.
      operations:
      - method: GET
        name: listeventsreceivedbytheauthenticateduser
        description: GitHub List Events Received by the Authenticated User
        call: users-received.listeventsreceivedbytheauthenticateduser
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/users/{username}/received-events/public
      name: users-username-received-events-public
      description: REST surface for users-username-received_events-public.
      operations:
      - method: GET
        name: listpubliceventsreceivedbyuser
        description: GitHub List Public Events Received by User
        call: users-received.listpubliceventsreceivedbyuser
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: users-received-mcp
    port: 9090
    transport: http
    description: MCP adapter for GitHub User API — Received. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: github-list-events-received-authenticated
      description: GitHub List Events Received by the Authenticated User
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: users-received.listeventsreceivedbytheauthenticateduser
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-list-public-events-received
      description: GitHub List Public Events Received by User
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: users-received.listpubliceventsreceivedbyuser
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.