JFrog · Capability

JFrog Artifactory REST API — Replication

JFrog Artifactory REST API — Replication. 4 operations. Lead operation: JFrog List All Replications. Self-contained Naftiko capability covering one Jfrog business surface.

Run with Naftiko JfrogReplication

What You Can Do

GET
Listreplications — JFrog List All Replications
/v1/api/replications
GET
Getreplication — JFrog Get Replication Configuration
/v1/api/replications/{repokey}
PUT
Createorreplacereplication — JFrog Create or Replace Replication
/v1/api/replications/{repokey}
DELETE
Deletereplication — JFrog Delete Replication
/v1/api/replications/{repokey}

MCP Tools

jfrog-list-all-replications

JFrog List All Replications

read-only idempotent
jfrog-get-replication-configuration

JFrog Get Replication Configuration

read-only idempotent
jfrog-create-replace-replication

JFrog Create or Replace Replication

idempotent
jfrog-delete-replication

JFrog Delete Replication

idempotent

Capability Spec

artifactory-replication.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: JFrog Artifactory REST API — Replication
  description: 'JFrog Artifactory REST API — Replication. 4 operations. Lead operation: JFrog List All Replications. Self-contained
    Naftiko capability covering one Jfrog business surface.'
  tags:
  - Jfrog
  - Replication
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    JFROG_API_KEY: JFROG_API_KEY
capability:
  consumes:
  - type: http
    namespace: artifactory-replication
    baseUri: https://{server}.jfrog.io/artifactory
    description: JFrog Artifactory REST API — Replication business capability. Self-contained, no shared references.
    resources:
    - name: api-replications
      path: /api/replications
      operations:
      - name: listreplications
        method: GET
        description: JFrog List All Replications
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-replications-repoKey
      path: /api/replications/{repoKey}
      operations:
      - name: getreplication
        method: GET
        description: JFrog Get Replication Configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: repoKey
          in: path
          type: string
          description: Repository key
          required: true
      - name: createorreplacereplication
        method: PUT
        description: JFrog Create or Replace Replication
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: repoKey
          in: path
          type: string
          description: Repository key
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletereplication
        method: DELETE
        description: JFrog Delete Replication
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: repoKey
          in: path
          type: string
          description: Repository key
          required: true
    authentication:
      type: bearer
      token: '{{env.JFROG_API_KEY}}'
  exposes:
  - type: rest
    namespace: artifactory-replication-rest
    port: 8080
    description: REST adapter for JFrog Artifactory REST API — Replication. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/replications
      name: api-replications
      description: REST surface for api-replications.
      operations:
      - method: GET
        name: listreplications
        description: JFrog List All Replications
        call: artifactory-replication.listreplications
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/replications/{repokey}
      name: api-replications-repokey
      description: REST surface for api-replications-repoKey.
      operations:
      - method: GET
        name: getreplication
        description: JFrog Get Replication Configuration
        call: artifactory-replication.getreplication
        with:
          repoKey: rest.repoKey
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: createorreplacereplication
        description: JFrog Create or Replace Replication
        call: artifactory-replication.createorreplacereplication
        with:
          repoKey: rest.repoKey
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletereplication
        description: JFrog Delete Replication
        call: artifactory-replication.deletereplication
        with:
          repoKey: rest.repoKey
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: artifactory-replication-mcp
    port: 9090
    transport: http
    description: MCP adapter for JFrog Artifactory REST API — Replication. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: jfrog-list-all-replications
      description: JFrog List All Replications
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: artifactory-replication.listreplications
      outputParameters:
      - type: object
        mapping: $.
    - name: jfrog-get-replication-configuration
      description: JFrog Get Replication Configuration
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: artifactory-replication.getreplication
      with:
        repoKey: tools.repoKey
      outputParameters:
      - type: object
        mapping: $.
    - name: jfrog-create-replace-replication
      description: JFrog Create or Replace Replication
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: artifactory-replication.createorreplacereplication
      with:
        repoKey: tools.repoKey
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: jfrog-delete-replication
      description: JFrog Delete Replication
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: artifactory-replication.deletereplication
      with:
        repoKey: tools.repoKey
      outputParameters:
      - type: object
        mapping: $.