GitHub · Capability

GitHub v3 REST API — Meta

GitHub v3 REST API — Meta. 4 operations. Lead operation: GitHub API Root. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubMeta

What You Can Do

GET
Metaroot — GitHub API Root
/v1
GET
Metaget — GitHub Get GitHub Enterprise Server Meta Information
/v1/meta
GET
Metagetoctocat — GitHub Get Octocat
/v1/octocat
GET
Metagetzen — GitHub Get the Zen of GitHub
/v1/zen

MCP Tools

github-api-root

GitHub API Root

read-only idempotent
github-get-github-enterprise-server

GitHub Get GitHub Enterprise Server Meta Information

read-only idempotent
github-get-octocat

GitHub Get Octocat

read-only idempotent
github-get-zen-github

GitHub Get the Zen of GitHub

read-only idempotent

Capability Spec

github-meta.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitHub v3 REST API — Meta
  description: 'GitHub v3 REST API — Meta. 4 operations. Lead operation: GitHub API Root. Self-contained Naftiko capability
    covering one Github business surface.'
  tags:
  - Github
  - Meta
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_API_KEY: GITHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: github-meta
    baseUri: ''
    description: GitHub v3 REST API — Meta business capability. Self-contained, no shared references.
    resources:
    - name: root
      path: /
      operations:
      - name: metaroot
        method: GET
        description: GitHub API Root
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: meta
      path: /meta
      operations:
      - name: metaget
        method: GET
        description: GitHub Get GitHub Enterprise Server Meta Information
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: octocat
      path: /octocat
      operations:
      - name: metagetoctocat
        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
    - name: zen
      path: /zen
      operations:
      - name: metagetzen
        method: GET
        description: GitHub Get the Zen of GitHub
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: github-meta-rest
    port: 8080
    description: REST adapter for GitHub v3 REST API — Meta. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1
      name: root
      description: REST surface for root.
      operations:
      - method: GET
        name: metaroot
        description: GitHub API Root
        call: github-meta.metaroot
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/meta
      name: meta
      description: REST surface for meta.
      operations:
      - method: GET
        name: metaget
        description: GitHub Get GitHub Enterprise Server Meta Information
        call: github-meta.metaget
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/octocat
      name: octocat
      description: REST surface for octocat.
      operations:
      - method: GET
        name: metagetoctocat
        description: GitHub Get Octocat
        call: github-meta.metagetoctocat
        with:
          s: rest.s
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/zen
      name: zen
      description: REST surface for zen.
      operations:
      - method: GET
        name: metagetzen
        description: GitHub Get the Zen of GitHub
        call: github-meta.metagetzen
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: github-meta-mcp
    port: 9090
    transport: http
    description: MCP adapter for GitHub v3 REST API — Meta. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: github-api-root
      description: GitHub API Root
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-meta.metaroot
      outputParameters:
      - type: object
        mapping: $.
    - name: github-get-github-enterprise-server
      description: GitHub Get GitHub Enterprise Server Meta Information
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-meta.metaget
      outputParameters:
      - type: object
        mapping: $.
    - name: github-get-octocat
      description: GitHub Get Octocat
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-meta.metagetoctocat
      with:
        s: tools.s
      outputParameters:
      - type: object
        mapping: $.
    - name: github-get-zen-github
      description: GitHub Get the Zen of GitHub
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-meta.metagetzen
      outputParameters:
      - type: object
        mapping: $.