Apache ShardingSphere · Capability

Apache ShardingSphere REST API — Cluster

Apache ShardingSphere REST API — Cluster. 1 operations. Lead operation: Apache ShardingSphere Get Cluster Status. Self-contained Naftiko capability covering one Apache Shardingsphere business surface.

Run with Naftiko Apache ShardingsphereCluster

What You Can Do

GET
Getclusterstatus — Apache ShardingSphere Get Cluster Status
/v1/cluster/status

MCP Tools

apache-shardingsphere-get-cluster-status

Apache ShardingSphere Get Cluster Status

read-only idempotent

Capability Spec

rest-cluster.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Apache ShardingSphere REST API — Cluster
  description: 'Apache ShardingSphere REST API — Cluster. 1 operations. Lead operation: Apache ShardingSphere Get Cluster
    Status. Self-contained Naftiko capability covering one Apache Shardingsphere business surface.'
  tags:
  - Apache Shardingsphere
  - Cluster
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    APACHE_SHARDINGSPHERE_API_KEY: APACHE_SHARDINGSPHERE_API_KEY
capability:
  consumes:
  - type: http
    namespace: rest-cluster
    baseUri: https://shardingsphere.example.com/api
    description: Apache ShardingSphere REST API — Cluster business capability. Self-contained, no shared references.
    resources:
    - name: cluster-status
      path: /cluster/status
      operations:
      - name: getclusterstatus
        method: GET
        description: Apache ShardingSphere Get Cluster Status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: rest-cluster-rest
    port: 8080
    description: REST adapter for Apache ShardingSphere REST API — Cluster. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/cluster/status
      name: cluster-status
      description: REST surface for cluster-status.
      operations:
      - method: GET
        name: getclusterstatus
        description: Apache ShardingSphere Get Cluster Status
        call: rest-cluster.getclusterstatus
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: rest-cluster-mcp
    port: 9090
    transport: http
    description: MCP adapter for Apache ShardingSphere REST API — Cluster. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: apache-shardingsphere-get-cluster-status
      description: Apache ShardingSphere Get Cluster Status
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-cluster.getclusterstatus
      outputParameters:
      - type: object
        mapping: $.