Porter · Capability

Porter Bundle API — Installations

Porter Bundle API — Installations. 5 operations. Lead operation: Porter List installations. Self-contained Naftiko capability covering one Porter business surface.

Run with Naftiko PorterInstallations

What You Can Do

GET
Listinstallations — Porter List installations
/v1/v1/installations
POST
Createinstallation — Porter Create an installation
/v1/v1/installations
GET
Getinstallation — Porter Get an installation
/v1/v1/installations/{namespace}/{name}
PATCH
Patchinstallation — Porter Update an installation
/v1/v1/installations/{namespace}/{name}
DELETE
Deleteinstallation — Porter Delete an installation
/v1/v1/installations/{namespace}/{name}

MCP Tools

porter-list-installations

Porter List installations

read-only idempotent
porter-create-installation

Porter Create an installation

porter-get-installation

Porter Get an installation

read-only idempotent
porter-update-installation

Porter Update an installation

idempotent
porter-delete-installation

Porter Delete an installation

idempotent

Capability Spec

bundle-installations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Porter Bundle API — Installations
  description: 'Porter Bundle API — Installations. 5 operations. Lead operation: Porter List installations. Self-contained
    Naftiko capability covering one Porter business surface.'
  tags:
  - Porter
  - Installations
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PORTER_API_KEY: PORTER_API_KEY
capability:
  consumes:
  - type: http
    namespace: bundle-installations
    baseUri: http://localhost:3000
    description: Porter Bundle API — Installations business capability. Self-contained, no shared references.
    resources:
    - name: v1-installations
      path: /v1/installations
      operations:
      - name: listinstallations
        method: GET
        description: Porter List installations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createinstallation
        method: POST
        description: Porter Create an installation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-installations-namespace-name
      path: /v1/installations/{namespace}/{name}
      operations:
      - name: getinstallation
        method: GET
        description: Porter Get an installation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: patchinstallation
        method: PATCH
        description: Porter Update an installation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteinstallation
        method: DELETE
        description: Porter Delete an installation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.PORTER_API_KEY}}'
  exposes:
  - type: rest
    namespace: bundle-installations-rest
    port: 8080
    description: REST adapter for Porter Bundle API — Installations. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/installations
      name: v1-installations
      description: REST surface for v1-installations.
      operations:
      - method: GET
        name: listinstallations
        description: Porter List installations
        call: bundle-installations.listinstallations
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createinstallation
        description: Porter Create an installation
        call: bundle-installations.createinstallation
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/installations/{namespace}/{name}
      name: v1-installations-namespace-name
      description: REST surface for v1-installations-namespace-name.
      operations:
      - method: GET
        name: getinstallation
        description: Porter Get an installation
        call: bundle-installations.getinstallation
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patchinstallation
        description: Porter Update an installation
        call: bundle-installations.patchinstallation
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteinstallation
        description: Porter Delete an installation
        call: bundle-installations.deleteinstallation
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: bundle-installations-mcp
    port: 9090
    transport: http
    description: MCP adapter for Porter Bundle API — Installations. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: porter-list-installations
      description: Porter List installations
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bundle-installations.listinstallations
      outputParameters:
      - type: object
        mapping: $.
    - name: porter-create-installation
      description: Porter Create an installation
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: bundle-installations.createinstallation
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: porter-get-installation
      description: Porter Get an installation
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bundle-installations.getinstallation
      outputParameters:
      - type: object
        mapping: $.
    - name: porter-update-installation
      description: Porter Update an installation
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: bundle-installations.patchinstallation
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: porter-delete-installation
      description: Porter Delete an installation
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: bundle-installations.deleteinstallation
      outputParameters:
      - type: object
        mapping: $.