Apache CouchDB · Capability

Apache CouchDB HTTP API — Server

Apache CouchDB HTTP API — Server. 2 operations. Lead operation: Apache CouchDB Get Server Information. Self-contained Naftiko capability covering one Apache Couchdb business surface.

Run with Naftiko Apache CouchdbServer

What You Can Do

GET
Getserverinfo — Apache CouchDB Get Server Information
/v1
GET
Getalldbs — Apache CouchDB Get All Databases
/v1/all-dbs

MCP Tools

apache-couchdb-get-server-information

Apache CouchDB Get Server Information

read-only idempotent
apache-couchdb-get-all-databases

Apache CouchDB Get All Databases

read-only idempotent

Capability Spec

http-server.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Apache CouchDB HTTP API — Server
  description: 'Apache CouchDB HTTP API — Server. 2 operations. Lead operation: Apache CouchDB Get Server Information. Self-contained
    Naftiko capability covering one Apache Couchdb business surface.'
  tags:
  - Apache Couchdb
  - Server
  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-server
    baseUri: http://localhost:5984
    description: Apache CouchDB HTTP API — Server business capability. Self-contained, no shared references.
    resources:
    - name: root
      path: /
      operations:
      - name: getserverinfo
        method: GET
        description: Apache CouchDB Get Server Information
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: _all_dbs
      path: /_all_dbs
      operations:
      - name: getalldbs
        method: GET
        description: Apache CouchDB Get All Databases
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: descending
          in: query
          type: boolean
          description: Return databases in descending order.
        - name: limit
          in: query
          type: integer
          description: Maximum number of results to return.
        - name: skip
          in: query
          type: integer
          description: Number of results to skip before returning.
    authentication:
      type: apikey
      key: AuthSession
      value: '{{env.APACHE_COUCHDB_API_KEY}}'
      placement: cookie
  exposes:
  - type: rest
    namespace: http-server-rest
    port: 8080
    description: REST adapter for Apache CouchDB HTTP API — Server. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1
      name: root
      description: REST surface for root.
      operations:
      - method: GET
        name: getserverinfo
        description: Apache CouchDB Get Server Information
        call: http-server.getserverinfo
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/all-dbs
      name: all-dbs
      description: REST surface for _all_dbs.
      operations:
      - method: GET
        name: getalldbs
        description: Apache CouchDB Get All Databases
        call: http-server.getalldbs
        with:
          descending: rest.descending
          limit: rest.limit
          skip: rest.skip
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: http-server-mcp
    port: 9090
    transport: http
    description: MCP adapter for Apache CouchDB HTTP API — Server. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: apache-couchdb-get-server-information
      description: Apache CouchDB Get Server Information
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: http-server.getserverinfo
      outputParameters:
      - type: object
        mapping: $.
    - name: apache-couchdb-get-all-databases
      description: Apache CouchDB Get All Databases
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: http-server.getalldbs
      with:
        descending: tools.descending
        limit: tools.limit
        skip: tools.skip
      outputParameters:
      - type: object
        mapping: $.