GridGain · Capability

GridGain REST module — dcr

GridGain REST module — dcr. 7 operations. Lead operation: Retrieve a list of replications for connected clusters. Self-contained Naftiko capability covering one Gridgain business surface.

Run with Naftiko Gridgaindcr

What You Can Do

GET
Listreplications — Retrieve a list of replications for connected clusters
/v1/management/v1/dcr/replications
POST
Createreplication — Create a new replication for a cluster
/v1/management/v1/dcr/replications
GET
Showreplication — Get information about specific replication
/v1/management/v1/dcr/replications/{name}
POST
Deletereplication — Delete replication
/v1/management/v1/dcr/replications/{name}/delete
POST
Flushreplication — Specifies timestamp for replication which will be used as flush point.
/v1/management/v1/dcr/replications/{name}/flush
POST
Startreplication — Start replication
/v1/management/v1/dcr/replications/{name}/start
POST
Stopreplication — Stop replication
/v1/management/v1/dcr/replications/{name}/stop

MCP Tools

retrieve-list-replications-connected-clusters

Retrieve a list of replications for connected clusters

read-only idempotent
create-new-replication-cluster

Create a new replication for a cluster

get-information-about-specific-replication

Get information about specific replication

read-only idempotent
delete-replication

Delete replication

specifies-timestamp-replication-which-will

Specifies timestamp for replication which will be used as flush point.

start-replication

Start replication

stop-replication

Stop replication

Capability Spec

gridgain-dcr.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GridGain REST module — dcr
  description: 'GridGain REST module — dcr. 7 operations. Lead operation: Retrieve a list of replications for connected clusters.
    Self-contained Naftiko capability covering one Gridgain business surface.'
  tags:
  - Gridgain
  - dcr
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GRIDGAIN_API_KEY: GRIDGAIN_API_KEY
capability:
  consumes:
  - type: http
    namespace: gridgain-dcr
    baseUri: http://localhost:10300
    description: GridGain REST module — dcr business capability. Self-contained, no shared references.
    resources:
    - name: management-v1-dcr-replications
      path: /management/v1/dcr/replications
      operations:
      - name: listreplications
        method: GET
        description: Retrieve a list of replications for connected clusters
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createreplication
        method: POST
        description: Create a new replication for a cluster
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: management-v1-dcr-replications-name
      path: /management/v1/dcr/replications/{name}
      operations:
      - name: showreplication
        method: GET
        description: Get information about specific replication
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          description: The unique identifier of the replication to show.
          required: true
    - name: management-v1-dcr-replications-name-delete
      path: /management/v1/dcr/replications/{name}/delete
      operations:
      - name: deletereplication
        method: POST
        description: Delete replication
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          description: The name of the replication to delete.
          required: true
    - name: management-v1-dcr-replications-name-flush
      path: /management/v1/dcr/replications/{name}/flush
      operations:
      - name: flushreplication
        method: POST
        description: Specifies timestamp for replication which will be used as flush point.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          description: The name of the replication to flush.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: management-v1-dcr-replications-name-start
      path: /management/v1/dcr/replications/{name}/start
      operations:
      - name: startreplication
        method: POST
        description: Start replication
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          description: The unique identifier of the replication to start.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: management-v1-dcr-replications-name-stop
      path: /management/v1/dcr/replications/{name}/stop
      operations:
      - name: stopreplication
        method: POST
        description: Stop replication
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          description: The id of the replication to stop.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.GRIDGAIN_API_KEY}}'
  exposes:
  - type: rest
    namespace: gridgain-dcr-rest
    port: 8080
    description: REST adapter for GridGain REST module — dcr. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/management/v1/dcr/replications
      name: management-v1-dcr-replications
      description: REST surface for management-v1-dcr-replications.
      operations:
      - method: GET
        name: listreplications
        description: Retrieve a list of replications for connected clusters
        call: gridgain-dcr.listreplications
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createreplication
        description: Create a new replication for a cluster
        call: gridgain-dcr.createreplication
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/management/v1/dcr/replications/{name}
      name: management-v1-dcr-replications-name
      description: REST surface for management-v1-dcr-replications-name.
      operations:
      - method: GET
        name: showreplication
        description: Get information about specific replication
        call: gridgain-dcr.showreplication
        with:
          name: rest.name
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/management/v1/dcr/replications/{name}/delete
      name: management-v1-dcr-replications-name-delete
      description: REST surface for management-v1-dcr-replications-name-delete.
      operations:
      - method: POST
        name: deletereplication
        description: Delete replication
        call: gridgain-dcr.deletereplication
        with:
          name: rest.name
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/management/v1/dcr/replications/{name}/flush
      name: management-v1-dcr-replications-name-flush
      description: REST surface for management-v1-dcr-replications-name-flush.
      operations:
      - method: POST
        name: flushreplication
        description: Specifies timestamp for replication which will be used as flush point.
        call: gridgain-dcr.flushreplication
        with:
          name: rest.name
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/management/v1/dcr/replications/{name}/start
      name: management-v1-dcr-replications-name-start
      description: REST surface for management-v1-dcr-replications-name-start.
      operations:
      - method: POST
        name: startreplication
        description: Start replication
        call: gridgain-dcr.startreplication
        with:
          name: rest.name
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/management/v1/dcr/replications/{name}/stop
      name: management-v1-dcr-replications-name-stop
      description: REST surface for management-v1-dcr-replications-name-stop.
      operations:
      - method: POST
        name: stopreplication
        description: Stop replication
        call: gridgain-dcr.stopreplication
        with:
          name: rest.name
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: gridgain-dcr-mcp
    port: 9090
    transport: http
    description: MCP adapter for GridGain REST module — dcr. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: retrieve-list-replications-connected-clusters
      description: Retrieve a list of replications for connected clusters
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: gridgain-dcr.listreplications
      outputParameters:
      - type: object
        mapping: $.
    - name: create-new-replication-cluster
      description: Create a new replication for a cluster
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: gridgain-dcr.createreplication
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-information-about-specific-replication
      description: Get information about specific replication
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: gridgain-dcr.showreplication
      with:
        name: tools.name
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-replication
      description: Delete replication
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: gridgain-dcr.deletereplication
      with:
        name: tools.name
      outputParameters:
      - type: object
        mapping: $.
    - name: specifies-timestamp-replication-which-will
      description: Specifies timestamp for replication which will be used as flush point.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: gridgain-dcr.flushreplication
      with:
        name: tools.name
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: start-replication
      description: Start replication
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: gridgain-dcr.startreplication
      with:
        name: tools.name
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: stop-replication
      description: Stop replication
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: gridgain-dcr.stopreplication
      with:
        name: tools.name
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.