GitHub · Capability

GitHub Gists API — Public

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

Run with Naftiko GithubPublic

What You Can Do

GET
Listpublicgists — GitHub List Public Gists
/v1/gists/public

MCP Tools

github-list-public-gists

GitHub List Public Gists

read-only idempotent

Capability Spec

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