GitHub · Capability

GitHub Application API — Scoped

GitHub Application API — Scoped. 1 operations. Lead operation: GitHub Createscoped Access Token. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubScoped

What You Can Do

POST
Createscopedaccesstoken — GitHub Createscoped Access Token
/v1/applications/{client-id}/token/scoped

MCP Tools

github-createscoped-access-token

GitHub Createscoped Access Token

Capability Spec

app-scoped.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitHub Application API — Scoped
  description: 'GitHub Application API — Scoped. 1 operations. Lead operation: GitHub Createscoped Access Token. Self-contained
    Naftiko capability covering one Github business surface.'
  tags:
  - Github
  - Scoped
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_API_KEY: GITHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: app-scoped
    baseUri: ''
    description: GitHub Application API — Scoped business capability. Self-contained, no shared references.
    resources:
    - name: applications-client_id-token-scoped
      path: /applications/{client_id}/token/scoped
      operations:
      - name: createscopedaccesstoken
        method: POST
        description: GitHub Createscoped Access Token
        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-scoped-rest
    port: 8080
    description: REST adapter for GitHub Application API — Scoped. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/applications/{client-id}/token/scoped
      name: applications-client-id-token-scoped
      description: REST surface for applications-client_id-token-scoped.
      operations:
      - method: POST
        name: createscopedaccesstoken
        description: GitHub Createscoped Access Token
        call: app-scoped.createscopedaccesstoken
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: app-scoped-mcp
    port: 9090
    transport: http
    description: MCP adapter for GitHub Application API — Scoped. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: github-createscoped-access-token
      description: GitHub Createscoped Access Token
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: app-scoped.createscopedaccesstoken
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.