GitHub · Capability

GitHub Gists API — Star

GitHub Gists API — Star. 1 operations. Lead operation: GitHub Stargist. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubStar

What You Can Do

PUT
Stargist — GitHub Stargist
/v1/gists/{gist-id}/star

MCP Tools

github-stargist

GitHub Stargist

idempotent

Capability Spec

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