GitHub · Capability

GitHub Application API — Single

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

Run with Naftiko GithubSingle

What You Can Do

GET
Getsinglegrant — GitHub Getsingle Grant
/v1/applications/grants/{grant-id}

MCP Tools

github-getsingle-grant

GitHub Getsingle Grant

read-only idempotent

Capability Spec

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