GitHub · Capability

GitHub Application API — Checks

GitHub Application API — Checks. 1 operations. Lead operation: GitHub Checktoken. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubChecks

What You Can Do

POST
Checktoken — GitHub Checktoken
/v1/applications/{client-id}/token

MCP Tools

github-checktoken

GitHub Checktoken

Capability Spec

app-checks.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitHub Application API — Checks
  description: 'GitHub Application API — Checks. 1 operations. Lead operation: GitHub Checktoken. Self-contained Naftiko capability
    covering one Github business surface.'
  tags:
  - Github
  - Checks
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_API_KEY: GITHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: app-checks
    baseUri: ''
    description: GitHub Application API — Checks business capability. Self-contained, no shared references.
    resources:
    - name: applications-client_id-token
      path: /applications/{client_id}/token
      operations:
      - name: checktoken
        method: POST
        description: GitHub Checktoken
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.GITHUB_API_KEY}}'
  exposes:
  - type: rest
    namespace: app-checks-rest
    port: 8080
    description: REST adapter for GitHub Application API — Checks. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/applications/{client-id}/token
      name: applications-client-id-token
      description: REST surface for applications-client_id-token.
      operations:
      - method: POST
        name: checktoken
        description: GitHub Checktoken
        call: app-checks.checktoken
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: app-checks-mcp
    port: 9090
    transport: http
    description: MCP adapter for GitHub Application API — Checks. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: github-checktoken
      description: GitHub Checktoken
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: app-checks.checktoken
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.