GitHub · Capability

GitHub Setup API — Licenses

GitHub Setup API — Licenses. 2 operations. Lead operation: GitHub Create Github License. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubLicenses

What You Can Do

POST
Creategithublicense — GitHub Create Github License
/v1/setup/api/start
POST
Upgradelicense — GitHub Upgrade License
/v1/setup/api/upgrade

MCP Tools

github-create-github-license

GitHub Create Github License

github-upgrade-license

GitHub Upgrade License

Capability Spec

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