magento · Capability

Magento REST API — Tax

Magento REST API — Tax. 1 operations. Lead operation: List tax rates. Self-contained Naftiko capability covering one Magento business surface.

Run with Naftiko MagentoTax

What You Can Do

GET
Listtaxrates — List tax rates
/v1/v1/taxrates

MCP Tools

list-tax-rates

List tax rates

read-only idempotent

Capability Spec

rest-tax.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Magento REST API — Tax
  description: 'Magento REST API — Tax. 1 operations. Lead operation: List tax rates. Self-contained Naftiko capability covering
    one Magento business surface.'
  tags:
  - Magento
  - Tax
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MAGENTO_API_KEY: MAGENTO_API_KEY
capability:
  consumes:
  - type: http
    namespace: rest-tax
    baseUri: https://{store_domain}/rest/{store_code}
    description: Magento REST API — Tax business capability. Self-contained, no shared references.
    resources:
    - name: V1-taxRates
      path: /V1/taxRates
      operations:
      - name: listtaxrates
        method: GET
        description: List tax rates
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.MAGENTO_API_KEY}}'
  exposes:
  - type: rest
    namespace: rest-tax-rest
    port: 8080
    description: REST adapter for Magento REST API — Tax. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/v1/taxrates
      name: v1-taxrates
      description: REST surface for V1-taxRates.
      operations:
      - method: GET
        name: listtaxrates
        description: List tax rates
        call: rest-tax.listtaxrates
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: rest-tax-mcp
    port: 9090
    transport: http
    description: MCP adapter for Magento REST API — Tax. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: list-tax-rates
      description: List tax rates
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-tax.listtaxrates
      outputParameters:
      - type: object
        mapping: $.