Portainer · Capability

PortainerCE API — registries

PortainerCE API — registries. 7 operations. Lead operation: List Registries. Self-contained Naftiko capability covering one Portainer business surface.

Run with Naftiko Portainerregistries

What You Can Do

GET
Registrylist — List Registries
/v1/registries
POST
Registrycreate — Create a new registry
/v1/registries
POST
Registryping — Test registry connection
/v1/registries/ping
DELETE
Registrydelete — Remove a registry
/v1/registries/{id}
GET
Registryinspect — Inspect a registry
/v1/registries/{id}
PUT
Registryupdate — Update a registry
/v1/registries/{id}
POST
Registryconfigure — Configures a registry
/v1/registries/{id}/configure

MCP Tools

list-registries

List Registries

read-only idempotent
create-new-registry

Create a new registry

test-registry-connection

Test registry connection

read-only
remove-registry

Remove a registry

idempotent
inspect-registry

Inspect a registry

read-only idempotent
update-registry

Update a registry

idempotent
configures-registry

Configures a registry

Capability Spec

portainer-registries.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: PortainerCE API — registries
  description: 'PortainerCE API — registries. 7 operations. Lead operation: List Registries. Self-contained Naftiko capability
    covering one Portainer business surface.'
  tags:
  - Portainer
  - registries
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PORTAINER_API_KEY: PORTAINER_API_KEY
capability:
  consumes:
  - type: http
    namespace: portainer-registries
    baseUri: ''
    description: PortainerCE API — registries business capability. Self-contained, no shared references.
    resources:
    - name: registries
      path: /registries
      operations:
      - name: registrylist
        method: GET
        description: List Registries
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: registrycreate
        method: POST
        description: Create a new registry
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: string
          description: Registry details
          required: true
    - name: registries-ping
      path: /registries/ping
      operations:
      - name: registryping
        method: POST
        description: Test registry connection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: string
          description: Registry credentials to test
          required: true
    - name: registries-id
      path: /registries/{id}
      operations:
      - name: registrydelete
        method: DELETE
        description: Remove a registry
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: Registry identifier
          required: true
      - name: registryinspect
        method: GET
        description: Inspect a registry
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: Registry identifier
          required: true
      - name: registryupdate
        method: PUT
        description: Update a registry
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: Registry identifier
          required: true
        - name: body
          in: body
          type: string
          description: Registry details
          required: true
    - name: registries-id-configure
      path: /registries/{id}/configure
      operations:
      - name: registryconfigure
        method: POST
        description: Configures a registry
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: Registry identifier
          required: true
        - name: body
          in: body
          type: string
          description: Registry configuration
          required: true
  exposes:
  - type: rest
    namespace: portainer-registries-rest
    port: 8080
    description: REST adapter for PortainerCE API — registries. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/registries
      name: registries
      description: REST surface for registries.
      operations:
      - method: GET
        name: registrylist
        description: List Registries
        call: portainer-registries.registrylist
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: registrycreate
        description: Create a new registry
        call: portainer-registries.registrycreate
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/registries/ping
      name: registries-ping
      description: REST surface for registries-ping.
      operations:
      - method: POST
        name: registryping
        description: Test registry connection
        call: portainer-registries.registryping
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/registries/{id}
      name: registries-id
      description: REST surface for registries-id.
      operations:
      - method: DELETE
        name: registrydelete
        description: Remove a registry
        call: portainer-registries.registrydelete
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: registryinspect
        description: Inspect a registry
        call: portainer-registries.registryinspect
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: registryupdate
        description: Update a registry
        call: portainer-registries.registryupdate
        with:
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/registries/{id}/configure
      name: registries-id-configure
      description: REST surface for registries-id-configure.
      operations:
      - method: POST
        name: registryconfigure
        description: Configures a registry
        call: portainer-registries.registryconfigure
        with:
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: portainer-registries-mcp
    port: 9090
    transport: http
    description: MCP adapter for PortainerCE API — registries. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-registries
      description: List Registries
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: portainer-registries.registrylist
      outputParameters:
      - type: object
        mapping: $.
    - name: create-new-registry
      description: Create a new registry
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: portainer-registries.registrycreate
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: test-registry-connection
      description: Test registry connection
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: portainer-registries.registryping
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: remove-registry
      description: Remove a registry
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: portainer-registries.registrydelete
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: inspect-registry
      description: Inspect a registry
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: portainer-registries.registryinspect
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: update-registry
      description: Update a registry
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: portainer-registries.registryupdate
      with:
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: configures-registry
      description: Configures a registry
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: portainer-registries.registryconfigure
      with:
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.