Apache ZooKeeper · Capability

Apache ZooKeeper Admin Server API — Configuration

Apache ZooKeeper Admin Server API — Configuration. 5 operations. Lead operation: Apache ZooKeeper Get Server Configuration. Self-contained Naftiko capability covering one Apache Zookeeper business surface.

Run with Naftiko Apache ZookeeperConfiguration

What You Can Do

GET
Getconfiguration — Apache ZooKeeper Get Server Configuration
/v1/conf
GET
Getdirectorysize — Apache ZooKeeper Get Data Directory Sizes
/v1/dirs
GET
Getenvironment — Apache ZooKeeper Get Server Environment
/v1/environment
GET
Getinitialconfiguration — Apache ZooKeeper Get Initial Configuration
/v1/initial-configuration
GET
Getsystemproperties — Apache ZooKeeper Get JVM System Properties
/v1/system-properties

MCP Tools

apache-zookeeper-get-server-configuration

Apache ZooKeeper Get Server Configuration

read-only idempotent
apache-zookeeper-get-data-directory

Apache ZooKeeper Get Data Directory Sizes

read-only idempotent
apache-zookeeper-get-server-environment

Apache ZooKeeper Get Server Environment

read-only idempotent
apache-zookeeper-get-initial-configuration

Apache ZooKeeper Get Initial Configuration

read-only idempotent
apache-zookeeper-get-jvm-system

Apache ZooKeeper Get JVM System Properties

read-only idempotent

Capability Spec

zookeeper-admin-configuration.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Apache ZooKeeper Admin Server API — Configuration
  description: 'Apache ZooKeeper Admin Server API — Configuration. 5 operations. Lead operation: Apache ZooKeeper Get Server
    Configuration. Self-contained Naftiko capability covering one Apache Zookeeper business surface.'
  tags:
  - Apache Zookeeper
  - Configuration
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    APACHE_ZOOKEEPER_API_KEY: APACHE_ZOOKEEPER_API_KEY
capability:
  consumes:
  - type: http
    namespace: zookeeper-admin-configuration
    baseUri: http://localhost:8080/commands
    description: Apache ZooKeeper Admin Server API — Configuration business capability. Self-contained, no shared references.
    resources:
    - name: conf
      path: /conf
      operations:
      - name: getconfiguration
        method: GET
        description: Apache ZooKeeper Get Server Configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: dirs
      path: /dirs
      operations:
      - name: getdirectorysize
        method: GET
        description: Apache ZooKeeper Get Data Directory Sizes
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: environment
      path: /environment
      operations:
      - name: getenvironment
        method: GET
        description: Apache ZooKeeper Get Server Environment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: initial_configuration
      path: /initial_configuration
      operations:
      - name: getinitialconfiguration
        method: GET
        description: Apache ZooKeeper Get Initial Configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: system_properties
      path: /system_properties
      operations:
      - name: getsystemproperties
        method: GET
        description: Apache ZooKeeper Get JVM System Properties
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: zookeeper-admin-configuration-rest
    port: 8080
    description: REST adapter for Apache ZooKeeper Admin Server API — Configuration. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/conf
      name: conf
      description: REST surface for conf.
      operations:
      - method: GET
        name: getconfiguration
        description: Apache ZooKeeper Get Server Configuration
        call: zookeeper-admin-configuration.getconfiguration
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/dirs
      name: dirs
      description: REST surface for dirs.
      operations:
      - method: GET
        name: getdirectorysize
        description: Apache ZooKeeper Get Data Directory Sizes
        call: zookeeper-admin-configuration.getdirectorysize
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/environment
      name: environment
      description: REST surface for environment.
      operations:
      - method: GET
        name: getenvironment
        description: Apache ZooKeeper Get Server Environment
        call: zookeeper-admin-configuration.getenvironment
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/initial-configuration
      name: initial-configuration
      description: REST surface for initial_configuration.
      operations:
      - method: GET
        name: getinitialconfiguration
        description: Apache ZooKeeper Get Initial Configuration
        call: zookeeper-admin-configuration.getinitialconfiguration
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/system-properties
      name: system-properties
      description: REST surface for system_properties.
      operations:
      - method: GET
        name: getsystemproperties
        description: Apache ZooKeeper Get JVM System Properties
        call: zookeeper-admin-configuration.getsystemproperties
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: zookeeper-admin-configuration-mcp
    port: 9090
    transport: http
    description: MCP adapter for Apache ZooKeeper Admin Server API — Configuration. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: apache-zookeeper-get-server-configuration
      description: Apache ZooKeeper Get Server Configuration
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: zookeeper-admin-configuration.getconfiguration
      outputParameters:
      - type: object
        mapping: $.
    - name: apache-zookeeper-get-data-directory
      description: Apache ZooKeeper Get Data Directory Sizes
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: zookeeper-admin-configuration.getdirectorysize
      outputParameters:
      - type: object
        mapping: $.
    - name: apache-zookeeper-get-server-environment
      description: Apache ZooKeeper Get Server Environment
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: zookeeper-admin-configuration.getenvironment
      outputParameters:
      - type: object
        mapping: $.
    - name: apache-zookeeper-get-initial-configuration
      description: Apache ZooKeeper Get Initial Configuration
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: zookeeper-admin-configuration.getinitialconfiguration
      outputParameters:
      - type: object
        mapping: $.
    - name: apache-zookeeper-get-jvm-system
      description: Apache ZooKeeper Get JVM System Properties
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: zookeeper-admin-configuration.getsystemproperties
      outputParameters:
      - type: object
        mapping: $.