Mews · Capability

Connector API — Accounts

Connector API — Accounts. 3 operations. Lead operation: Upload and link file to account. Self-contained Naftiko capability covering one Mews business surface.

Run with Naftiko MewsAccounts

What You Can Do

POST
Accountsaddfile — Upload and link file to account
/v1/api/connector/v1/accounts/addfile
POST
Accountsmerge — Merge accounts
/v1/api/connector/v1/accounts/merge
POST
Accountsupdate — Update accounts
/v1/api/connector/v1/accounts/update

MCP Tools

upload-and-link-file-account

Upload and link file to account

merge-accounts

Merge accounts

update-accounts

Update accounts

Capability Spec

connector-accounts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Connector API — Accounts
  description: 'Connector API — Accounts. 3 operations. Lead operation: Upload and link file to account. Self-contained Naftiko
    capability covering one Mews business surface.'
  tags:
  - Mews
  - Accounts
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MEWS_API_KEY: MEWS_API_KEY
capability:
  consumes:
  - type: http
    namespace: connector-accounts
    baseUri: https://api.mews.com
    description: Connector API — Accounts business capability. Self-contained, no shared references.
    resources:
    - name: api-connector-v1-accounts-addFile
      path: /api/connector/v1/accounts/addFile
      operations:
      - name: accountsaddfile
        method: POST
        description: Upload and link file to account
        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-accounts-merge
      path: /api/connector/v1/accounts/merge
      operations:
      - name: accountsmerge
        method: POST
        description: Merge accounts
        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-accounts-update
      path: /api/connector/v1/accounts/update
      operations:
      - name: accountsupdate
        method: POST
        description: Update accounts
        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-accounts-rest
    port: 8080
    description: REST adapter for Connector API — Accounts. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/connector/v1/accounts/addfile
      name: api-connector-v1-accounts-addfile
      description: REST surface for api-connector-v1-accounts-addFile.
      operations:
      - method: POST
        name: accountsaddfile
        description: Upload and link file to account
        call: connector-accounts.accountsaddfile
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/connector/v1/accounts/merge
      name: api-connector-v1-accounts-merge
      description: REST surface for api-connector-v1-accounts-merge.
      operations:
      - method: POST
        name: accountsmerge
        description: Merge accounts
        call: connector-accounts.accountsmerge
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/connector/v1/accounts/update
      name: api-connector-v1-accounts-update
      description: REST surface for api-connector-v1-accounts-update.
      operations:
      - method: POST
        name: accountsupdate
        description: Update accounts
        call: connector-accounts.accountsupdate
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: connector-accounts-mcp
    port: 9090
    transport: http
    description: MCP adapter for Connector API — Accounts. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: upload-and-link-file-account
      description: Upload and link file to account
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: connector-accounts.accountsaddfile
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: merge-accounts
      description: Merge accounts
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: connector-accounts.accountsmerge
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: update-accounts
      description: Update accounts
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: connector-accounts.accountsupdate
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.