naftiko: 1.0.0-alpha2 info: label: Upbound API — Control Planes description: 'Upbound API — Control Planes. 5 operations. Lead operation: List Control Planes. Self-contained Naftiko capability covering one Upbound business surface.' tags: - Upbound - Control Planes created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: UPBOUND_API_KEY: UPBOUND_API_KEY capability: consumes: - type: http namespace: upbound-control-planes baseUri: https://api.upbound.io/v1 description: Upbound API — Control Planes business capability. Self-contained, no shared references. resources: - name: organizations-orgName-controlplanes path: /organizations/{orgName}/controlplanes operations: - name: listcontrolplanes method: GET description: List Control Planes outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgName in: path type: string required: true - name: page in: query type: integer - name: size in: query type: integer - name: createcontrolplane method: POST description: Create Control Plane outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgName in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: organizations-orgName-controlplanes-cpName path: /organizations/{orgName}/controlplanes/{cpName} operations: - name: getcontrolplane method: GET description: Get Control Plane outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgName in: path type: string required: true - name: cpName in: path type: string description: Control plane name required: true - name: updatecontrolplane method: PUT description: Update Control Plane outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgName in: path type: string required: true - name: cpName in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deletecontrolplane method: DELETE description: Delete Control Plane outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgName in: path type: string required: true - name: cpName in: path type: string required: true authentication: type: bearer token: '{{env.UPBOUND_API_KEY}}' exposes: - type: rest namespace: upbound-control-planes-rest port: 8080 description: REST adapter for Upbound API — Control Planes. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/organizations/{orgname}/controlplanes name: organizations-orgname-controlplanes description: REST surface for organizations-orgName-controlplanes. operations: - method: GET name: listcontrolplanes description: List Control Planes call: upbound-control-planes.listcontrolplanes with: orgName: rest.orgName page: rest.page size: rest.size outputParameters: - type: object mapping: $. - method: POST name: createcontrolplane description: Create Control Plane call: upbound-control-planes.createcontrolplane with: orgName: rest.orgName body: rest.body outputParameters: - type: object mapping: $. - path: /v1/organizations/{orgname}/controlplanes/{cpname} name: organizations-orgname-controlplanes-cpname description: REST surface for organizations-orgName-controlplanes-cpName. operations: - method: GET name: getcontrolplane description: Get Control Plane call: upbound-control-planes.getcontrolplane with: orgName: rest.orgName cpName: rest.cpName outputParameters: - type: object mapping: $. - method: PUT name: updatecontrolplane description: Update Control Plane call: upbound-control-planes.updatecontrolplane with: orgName: rest.orgName cpName: rest.cpName body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletecontrolplane description: Delete Control Plane call: upbound-control-planes.deletecontrolplane with: orgName: rest.orgName cpName: rest.cpName outputParameters: - type: object mapping: $. - type: mcp namespace: upbound-control-planes-mcp port: 9090 transport: http description: MCP adapter for Upbound API — Control Planes. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-control-planes description: List Control Planes hints: readOnly: true destructive: false idempotent: true call: upbound-control-planes.listcontrolplanes with: orgName: tools.orgName page: tools.page size: tools.size outputParameters: - type: object mapping: $. - name: create-control-plane description: Create Control Plane hints: readOnly: false destructive: false idempotent: false call: upbound-control-planes.createcontrolplane with: orgName: tools.orgName body: tools.body outputParameters: - type: object mapping: $. - name: get-control-plane description: Get Control Plane hints: readOnly: true destructive: false idempotent: true call: upbound-control-planes.getcontrolplane with: orgName: tools.orgName cpName: tools.cpName outputParameters: - type: object mapping: $. - name: update-control-plane description: Update Control Plane hints: readOnly: false destructive: false idempotent: true call: upbound-control-planes.updatecontrolplane with: orgName: tools.orgName cpName: tools.cpName body: tools.body outputParameters: - type: object mapping: $. - name: delete-control-plane description: Delete Control Plane hints: readOnly: false destructive: true idempotent: true call: upbound-control-planes.deletecontrolplane with: orgName: tools.orgName cpName: tools.cpName outputParameters: - type: object mapping: $.