Red Hat · Capability

Red Hat Quay API — Robot Accounts

Red Hat Quay API — Robot Accounts. 2 operations. Lead operation: Red Hat Get an Organization Robot Account. Self-contained Naftiko capability covering one Red Hat business surface.

Run with Naftiko Red HatRobot Accounts

What You Can Do

GET
Getorgrobot — Red Hat Get an Organization Robot Account
/v1/organization/{orgname}/robots/{robot-shortname}
PUT
Createorgrobot — Red Hat Create an Organization Robot Account
/v1/organization/{orgname}/robots/{robot-shortname}

MCP Tools

red-hat-get-organization-robot

Red Hat Get an Organization Robot Account

read-only idempotent
red-hat-create-organization-robot

Red Hat Create an Organization Robot Account

idempotent

Capability Spec

quay-robot-accounts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Red Hat Quay API — Robot Accounts
  description: 'Red Hat Quay API — Robot Accounts. 2 operations. Lead operation: Red Hat Get an Organization Robot Account.
    Self-contained Naftiko capability covering one Red Hat business surface.'
  tags:
  - Red Hat
  - Robot Accounts
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    RED_HAT_API_KEY: RED_HAT_API_KEY
capability:
  consumes:
  - type: http
    namespace: quay-robot-accounts
    baseUri: https://quay.io/api/v1
    description: Red Hat Quay API — Robot Accounts business capability. Self-contained, no shared references.
    resources:
    - name: organization-orgname-robots-robot_shortname
      path: /organization/{orgname}/robots/{robot_shortname}
      operations:
      - name: getorgrobot
        method: GET
        description: Red Hat Get an Organization Robot Account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: robot_shortname
          in: path
          type: string
          description: The short name of the robot account.
          required: true
      - name: createorgrobot
        method: PUT
        description: Red Hat Create an Organization Robot Account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: robot_shortname
          in: path
          type: string
          description: The short name for the new robot account.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: bearer
      token: '{{env.RED_HAT_API_KEY}}'
  exposes:
  - type: rest
    namespace: quay-robot-accounts-rest
    port: 8080
    description: REST adapter for Red Hat Quay API — Robot Accounts. 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: GET
        name: getorgrobot
        description: Red Hat Get an Organization Robot Account
        call: quay-robot-accounts.getorgrobot
        with:
          robot_shortname: rest.robot_shortname
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: createorgrobot
        description: Red Hat Create an Organization Robot Account
        call: quay-robot-accounts.createorgrobot
        with:
          robot_shortname: rest.robot_shortname
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: quay-robot-accounts-mcp
    port: 9090
    transport: http
    description: MCP adapter for Red Hat Quay API — Robot Accounts. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: red-hat-get-organization-robot
      description: Red Hat Get an Organization Robot Account
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: quay-robot-accounts.getorgrobot
      with:
        robot_shortname: tools.robot_shortname
      outputParameters:
      - type: object
        mapping: $.
    - name: red-hat-create-organization-robot
      description: Red Hat Create an Organization Robot Account
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: quay-robot-accounts.createorgrobot
      with:
        robot_shortname: tools.robot_shortname
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.