Mews · Capability

Connector API — Accounting items

Connector API — Accounting items. 2 operations. Lead operation: Get all accounting items. Self-contained Naftiko capability covering one Mews business surface.

Run with Naftiko MewsAccounting items

What You Can Do

POST
Accountingitemsgetall — Get all accounting items
/v1/api/connector/v1/accountingitems/getall
POST
Accountingitemsupdate — Update accounting items
/v1/api/connector/v1/accountingitems/update

MCP Tools

get-all-accounting-items

Get all accounting items

read-only
update-accounting-items

Update accounting items

Capability Spec

connector-accounting-items.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Connector API — Accounting items
  description: 'Connector API — Accounting items. 2 operations. Lead operation: Get all accounting items. Self-contained Naftiko
    capability covering one Mews business surface.'
  tags:
  - Mews
  - Accounting items
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MEWS_API_KEY: MEWS_API_KEY
capability:
  consumes:
  - type: http
    namespace: connector-accounting-items
    baseUri: https://api.mews.com
    description: Connector API — Accounting items business capability. Self-contained, no shared references.
    resources:
    - name: api-connector-v1-accountingItems-getAll
      path: /api/connector/v1/accountingItems/getAll
      operations:
      - name: accountingitemsgetall
        method: POST
        description: Get all accounting items
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-connector-v1-accountingItems-update
      path: /api/connector/v1/accountingItems/update
      operations:
      - name: accountingitemsupdate
        method: POST
        description: Update accounting items
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
  exposes:
  - type: rest
    namespace: connector-accounting-items-rest
    port: 8080
    description: REST adapter for Connector API — Accounting items. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/connector/v1/accountingitems/getall
      name: api-connector-v1-accountingitems-getall
      description: REST surface for api-connector-v1-accountingItems-getAll.
      operations:
      - method: POST
        name: accountingitemsgetall
        description: Get all accounting items
        call: connector-accounting-items.accountingitemsgetall
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/connector/v1/accountingitems/update
      name: api-connector-v1-accountingitems-update
      description: REST surface for api-connector-v1-accountingItems-update.
      operations:
      - method: POST
        name: accountingitemsupdate
        description: Update accounting items
        call: connector-accounting-items.accountingitemsupdate
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: connector-accounting-items-mcp
    port: 9090
    transport: http
    description: MCP adapter for Connector API — Accounting items. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-all-accounting-items
      description: Get all accounting items
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: connector-accounting-items.accountingitemsgetall
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: update-accounting-items
      description: Update accounting items
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: connector-accounting-items.accountingitemsupdate
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.