Merge · Capability

Merge Accounting API — Items

Merge Accounting API — Items. 1 operations. Lead operation: Merge List Items. Self-contained Naftiko capability covering one Merge business surface.

Run with Naftiko MergeItems

What You Can Do

GET
Listitems — Merge List Items
/v1/items

MCP Tools

merge-list-items

Merge List Items

read-only idempotent

Capability Spec

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