Dokploy · Capability

Dokploy API — cluster

Dokploy API — cluster. 4 operations. Lead operation: cluster.getNodes. Self-contained Naftiko capability covering one Dokploy business surface.

Dokploy API — cluster is a Naftiko capability published by Dokploy, one of 48 capabilities the APIs.io network indexes for this provider. It bundles 4 operations across the GET and POST methods.

The capability includes 3 read-only operations and 1 state-changing operation. Lead operation: cluster-getNodes. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Dokploy and cluster.

Run with Naftiko Dokploycluster

What You Can Do

GET
Cluster getnodes — cluster-getNodes
/v1/cluster.getNodes
POST
Cluster removeworker — cluster-removeWorker
/v1/cluster.removeWorker
GET
Cluster addworker — cluster-addWorker
/v1/cluster.addWorker
GET
Cluster addmanager — cluster-addManager
/v1/cluster.addManager

MCP Tools

cluster-getNodes

cluster-getNodes

read-only idempotent
cluster-removeWorker

cluster-removeWorker

cluster-addWorker

cluster-addWorker

read-only idempotent
cluster-addManager

cluster-addManager

read-only idempotent

Capability Spec

dokploy-cluster.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Dokploy API — cluster
  description: 'Dokploy API — cluster. 4 operations. Lead operation: cluster.getNodes. Self-contained Naftiko capability covering one Dokploy
    business surface.'
  tags:
  - Dokploy
  - cluster
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    DOKPLOY_API_KEY: DOKPLOY_API_KEY
    DOKPLOY_URL: DOKPLOY_URL
capability:
  consumes:
  - type: http
    namespace: dokploy-cluster
    baseUri: ${DOKPLOY_URL}/api
    description: Dokploy API — cluster business capability. Self-contained, no shared references.
    resources:
    - name: getNodes
      path: /cluster.getNodes
      operations:
      - name: cluster-getNodes
        method: GET
        description: cluster-getNodes
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: removeWorker
      path: /cluster.removeWorker
      operations:
      - name: cluster-removeWorker
        method: POST
        description: cluster-removeWorker
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body
          required: true
    - name: addWorker
      path: /cluster.addWorker
      operations:
      - name: cluster-addWorker
        method: GET
        description: cluster-addWorker
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: addManager
      path: /cluster.addManager
      operations:
      - name: cluster-addManager
        method: GET
        description: cluster-addManager
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: dokploy-cluster-rest
    port: 8080
    description: REST adapter for Dokploy API — cluster. One Spectral-compliant resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/cluster.getNodes
      name: getNodes
      description: REST surface for getNodes.
      operations:
      - method: GET
        name: cluster-getNodes
        description: cluster-getNodes
        call: dokploy-cluster.cluster-getNodes
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/cluster.removeWorker
      name: removeWorker
      description: REST surface for removeWorker.
      operations:
      - method: POST
        name: cluster-removeWorker
        description: cluster-removeWorker
        call: dokploy-cluster.cluster-removeWorker
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/cluster.addWorker
      name: addWorker
      description: REST surface for addWorker.
      operations:
      - method: GET
        name: cluster-addWorker
        description: cluster-addWorker
        call: dokploy-cluster.cluster-addWorker
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/cluster.addManager
      name: addManager
      description: REST surface for addManager.
      operations:
      - method: GET
        name: cluster-addManager
        description: cluster-addManager
        call: dokploy-cluster.cluster-addManager
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: dokploy-cluster-mcp
    port: 9090
    transport: http
    description: MCP adapter for Dokploy API — cluster. One tool per consumed operation, routed inline through this capability’s consumes block.
    tools:
    - name: cluster-getNodes
      description: cluster-getNodes
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: dokploy-cluster.cluster-getNodes
      outputParameters:
      - type: object
        mapping: $.
    - name: cluster-removeWorker
      description: cluster-removeWorker
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: dokploy-cluster.cluster-removeWorker
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: cluster-addWorker
      description: cluster-addWorker
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: dokploy-cluster.cluster-addWorker
      outputParameters:
      - type: object
        mapping: $.
    - name: cluster-addManager
      description: cluster-addManager
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: dokploy-cluster.cluster-addManager
      outputParameters:
      - type: object
        mapping: $.