GitHub · Capability

GitHub Org API — Keys

GitHub Org API — Keys. 2 operations. Lead operation: GitHub Get an Organization Public Key. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubKeys

What You Can Do

GET
Getanorganizationpublickey — GitHub Get an Organization Public Key
/v1/orgs/{org}/actions/secrets/public-key
GET
Getanorganizationpublickey — GitHub Get an Organization Public Key
/v1/orgs/{org}/dependabot/secrets/public-key

MCP Tools

github-get-organization-public-key

GitHub Get an Organization Public Key

read-only idempotent
github-get-organization-public-key-2

GitHub Get an Organization Public Key

read-only idempotent

Capability Spec

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