GitHub · Capability

GitHub Octocat API — Octocat

GitHub Octocat API — Octocat. 1 operations. Lead operation: GitHub Get Octocat. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubOctocat

What You Can Do

GET
Getoctocat — GitHub Get Octocat
/v1/octocat

MCP Tools

github-get-octocat

GitHub Get Octocat

read-only idempotent

Capability Spec

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