Apache CouchDB · Capability

Apache CouchDB HTTP API — Replication

Apache CouchDB HTTP API — Replication. 1 operations. Lead operation: Apache CouchDB Replicate Database. Self-contained Naftiko capability covering one Apache Couchdb business surface.

Run with Naftiko Apache CouchdbReplication

What You Can Do

POST
Replicate — Apache CouchDB Replicate Database
/v1/replicate

MCP Tools

apache-couchdb-replicate-database

Apache CouchDB Replicate Database

Capability Spec

http-replication.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Apache CouchDB HTTP API — Replication
  description: 'Apache CouchDB HTTP API — Replication. 1 operations. Lead operation: Apache CouchDB Replicate Database. Self-contained
    Naftiko capability covering one Apache Couchdb business surface.'
  tags:
  - Apache Couchdb
  - Replication
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    APACHE_COUCHDB_API_KEY: APACHE_COUCHDB_API_KEY
capability:
  consumes:
  - type: http
    namespace: http-replication
    baseUri: http://localhost:5984
    description: Apache CouchDB HTTP API — Replication business capability. Self-contained, no shared references.
    resources:
    - name: _replicate
      path: /_replicate
      operations:
      - name: replicate
        method: POST
        description: Apache CouchDB Replicate Database
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: AuthSession
      value: '{{env.APACHE_COUCHDB_API_KEY}}'
      placement: cookie
  exposes:
  - type: rest
    namespace: http-replication-rest
    port: 8080
    description: REST adapter for Apache CouchDB HTTP API — Replication. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/replicate
      name: replicate
      description: REST surface for _replicate.
      operations:
      - method: POST
        name: replicate
        description: Apache CouchDB Replicate Database
        call: http-replication.replicate
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: http-replication-mcp
    port: 9090
    transport: http
    description: MCP adapter for Apache CouchDB HTTP API — Replication. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: apache-couchdb-replicate-database
      description: Apache CouchDB Replicate Database
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: http-replication.replicate
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.