GitHub · Capability

GitHub User API — Signing

GitHub User API — Signing. 5 operations. Lead operation: GitHub List Ssh Signing Keys for the Authenticated User. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubSigning

What You Can Do

GET
Listsshsigningkeysfortheauthenticateduser — GitHub List Ssh Signing Keys for the Authenticated User
/v1/user/ssh-signing-keys
POST
Createsshsigningkeyfortheauthenticateduser — GitHub Create Ssh Signing Key for the Authenticated User
/v1/user/ssh-signing-keys
GET
Getansshsigningkeyfortheauthenticateduser — GitHub Get an Ssh Signing Key for the Authenticated User
/v1/user/ssh-signing-keys/{ssh-signing-key-id}
DELETE
Deleteansshsigningkeyfortheauthenticateduser — GitHub Delete an Ssh Signing Key for the Authenticated User
/v1/user/ssh-signing-keys/{ssh-signing-key-id}
GET
Listsshsigningkeysforuser — GitHub List Ssh Signing Keys for User
/v1/users/{username}/ssh-signing-keys

MCP Tools

github-list-ssh-signing-keys

GitHub List Ssh Signing Keys for the Authenticated User

read-only idempotent
github-create-ssh-signing-key

GitHub Create Ssh Signing Key for the Authenticated User

github-get-ssh-signing-key

GitHub Get an Ssh Signing Key for the Authenticated User

read-only idempotent
github-delete-ssh-signing-key

GitHub Delete an Ssh Signing Key for the Authenticated User

idempotent
github-list-ssh-signing-keys-2

GitHub List Ssh Signing Keys for User

read-only idempotent

Capability Spec

users-signing.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitHub User API — Signing
  description: 'GitHub User API — Signing. 5 operations. Lead operation: GitHub List Ssh Signing Keys for the Authenticated
    User. Self-contained Naftiko capability covering one Github business surface.'
  tags:
  - Github
  - Signing
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_API_KEY: GITHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: users-signing
    baseUri: ''
    description: GitHub User API — Signing business capability. Self-contained, no shared references.
    resources:
    - name: user-ssh_signing_keys
      path: /user/ssh_signing_keys
      operations:
      - name: listsshsigningkeysfortheauthenticateduser
        method: GET
        description: GitHub List Ssh Signing Keys for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
      - name: createsshsigningkeyfortheauthenticateduser
        method: POST
        description: GitHub Create Ssh Signing Key for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: user-ssh_signing_keys-ssh_signing_key_id
      path: /user/ssh_signing_keys/{ssh_signing_key_id}
      operations:
      - name: getansshsigningkeyfortheauthenticateduser
        method: GET
        description: GitHub Get an Ssh Signing Key for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
      - name: deleteansshsigningkeyfortheauthenticateduser
        method: DELETE
        description: GitHub Delete an Ssh Signing Key for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: users-username-ssh_signing_keys
      path: /users/{username}/ssh_signing_keys
      operations:
      - name: listsshsigningkeysforuser
        method: GET
        description: GitHub List Ssh Signing Keys for User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    authentication:
      type: bearer
      token: '{{env.GITHUB_API_KEY}}'
  exposes:
  - type: rest
    namespace: users-signing-rest
    port: 8080
    description: REST adapter for GitHub User API — Signing. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/user/ssh-signing-keys
      name: user-ssh-signing-keys
      description: REST surface for user-ssh_signing_keys.
      operations:
      - method: GET
        name: listsshsigningkeysfortheauthenticateduser
        description: GitHub List Ssh Signing Keys for the Authenticated User
        call: users-signing.listsshsigningkeysfortheauthenticateduser
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createsshsigningkeyfortheauthenticateduser
        description: GitHub Create Ssh Signing Key for the Authenticated User
        call: users-signing.createsshsigningkeyfortheauthenticateduser
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/user/ssh-signing-keys/{ssh-signing-key-id}
      name: user-ssh-signing-keys-ssh-signing-key-id
      description: REST surface for user-ssh_signing_keys-ssh_signing_key_id.
      operations:
      - method: GET
        name: getansshsigningkeyfortheauthenticateduser
        description: GitHub Get an Ssh Signing Key for the Authenticated User
        call: users-signing.getansshsigningkeyfortheauthenticateduser
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteansshsigningkeyfortheauthenticateduser
        description: GitHub Delete an Ssh Signing Key for the Authenticated User
        call: users-signing.deleteansshsigningkeyfortheauthenticateduser
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/users/{username}/ssh-signing-keys
      name: users-username-ssh-signing-keys
      description: REST surface for users-username-ssh_signing_keys.
      operations:
      - method: GET
        name: listsshsigningkeysforuser
        description: GitHub List Ssh Signing Keys for User
        call: users-signing.listsshsigningkeysforuser
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: users-signing-mcp
    port: 9090
    transport: http
    description: MCP adapter for GitHub User API — Signing. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: github-list-ssh-signing-keys
      description: GitHub List Ssh Signing Keys for the Authenticated User
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: users-signing.listsshsigningkeysfortheauthenticateduser
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-create-ssh-signing-key
      description: GitHub Create Ssh Signing Key for the Authenticated User
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: users-signing.createsshsigningkeyfortheauthenticateduser
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: github-get-ssh-signing-key
      description: GitHub Get an Ssh Signing Key for the Authenticated User
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: users-signing.getansshsigningkeyfortheauthenticateduser
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-delete-ssh-signing-key
      description: GitHub Delete an Ssh Signing Key for the Authenticated User
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: users-signing.deleteansshsigningkeyfortheauthenticateduser
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-list-ssh-signing-keys-2
      description: GitHub List Ssh Signing Keys for User
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: users-signing.listsshsigningkeysforuser
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.