naftiko: 1.0.0-alpha2 info: label: Couchbase XDCR REST API — Replications description: 'Couchbase XDCR REST API — Replications. 2 operations. Lead operation: Delete an XDCR replication. Self-contained Naftiko capability covering one Couchbase business surface.' tags: - Couchbase - Replications created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: COUCHBASE_API_KEY: COUCHBASE_API_KEY capability: consumes: - type: http namespace: xdcr-rest-replications baseUri: https://localhost:8091 description: Couchbase XDCR REST API — Replications business capability. Self-contained, no shared references. resources: - name: controller-cancelXDCR-replicationId path: /controller/cancelXDCR/{replicationId} operations: - name: deletereplication method: DELETE description: Delete an XDCR replication outputRawFormat: json outputParameters: - name: result type: object value: $. - name: controller-createReplication path: /controller/createReplication operations: - name: createreplication method: POST description: Create an XDCR replication outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: basic username: '{{env.COUCHBASE_USER}}' password: '{{env.COUCHBASE_PASS}}' exposes: - type: rest namespace: xdcr-rest-replications-rest port: 8080 description: REST adapter for Couchbase XDCR REST API — Replications. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/controller/cancelxdcr/{replicationid} name: controller-cancelxdcr-replicationid description: REST surface for controller-cancelXDCR-replicationId. operations: - method: DELETE name: deletereplication description: Delete an XDCR replication call: xdcr-rest-replications.deletereplication outputParameters: - type: object mapping: $. - path: /v1/controller/createreplication name: controller-createreplication description: REST surface for controller-createReplication. operations: - method: POST name: createreplication description: Create an XDCR replication call: xdcr-rest-replications.createreplication with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: xdcr-rest-replications-mcp port: 9090 transport: http description: MCP adapter for Couchbase XDCR REST API — Replications. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: delete-xdcr-replication description: Delete an XDCR replication hints: readOnly: false destructive: true idempotent: true call: xdcr-rest-replications.deletereplication outputParameters: - type: object mapping: $. - name: create-xdcr-replication description: Create an XDCR replication hints: readOnly: false destructive: false idempotent: false call: xdcr-rest-replications.createreplication with: body: tools.body outputParameters: - type: object mapping: $.