Apache RocketMQ · Capability

Apache RocketMQ REST API — Brokers

Apache RocketMQ REST API — Brokers. 1 operations. Lead operation: Apache RocketMQ List Brokers. Self-contained Naftiko capability covering one Apache Rocketmq business surface.

Run with Naftiko Apache RocketmqBrokers

What You Can Do

GET
Listbrokers — Apache RocketMQ List Brokers
/v1/brokers

MCP Tools

apache-rocketmq-list-brokers

Apache RocketMQ List Brokers

read-only idempotent

Capability Spec

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