Quay · Capability

Quay Container Registry API — Robot

Quay Container Registry API — Robot. 1 operations. Lead operation: Create a robot account. Self-contained Naftiko capability covering one Quay business surface.

Run with Naftiko QuayRobot

What You Can Do

PUT
Createorgrobot — Create a robot account
/v1/organization/{orgname}/robots/{robot-shortname}

MCP Tools

create-robot-account

Create a robot account

idempotent

Capability Spec

quay-robot.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Quay Container Registry API — Robot
  description: 'Quay Container Registry API — Robot. 1 operations. Lead operation: Create a robot account. Self-contained
    Naftiko capability covering one Quay business surface.'
  tags:
  - Quay
  - Robot
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    QUAY_API_KEY: QUAY_API_KEY
capability:
  consumes:
  - type: http
    namespace: quay-robot
    baseUri: https://quay.io/api/v1
    description: Quay Container Registry API — Robot business capability. Self-contained, no shared references.
    resources:
    - name: organization-orgname-robots-robot_shortname
      path: /organization/{orgname}/robots/{robot_shortname}
      operations:
      - name: createorgrobot
        method: PUT
        description: Create a robot account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgname
          in: path
          type: string
          required: true
        - name: robot_shortname
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.QUAY_API_KEY}}'
  exposes:
  - type: rest
    namespace: quay-robot-rest
    port: 8080
    description: REST adapter for Quay Container Registry API — Robot. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/organization/{orgname}/robots/{robot-shortname}
      name: organization-orgname-robots-robot-shortname
      description: REST surface for organization-orgname-robots-robot_shortname.
      operations:
      - method: PUT
        name: createorgrobot
        description: Create a robot account
        call: quay-robot.createorgrobot
        with:
          orgname: rest.orgname
          robot_shortname: rest.robot_shortname
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: quay-robot-mcp
    port: 9090
    transport: http
    description: MCP adapter for Quay Container Registry API — Robot. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: create-robot-account
      description: Create a robot account
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: quay-robot.createorgrobot
      with:
        orgname: tools.orgname
        robot_shortname: tools.robot_shortname
      outputParameters:
      - type: object
        mapping: $.