Mews · Capability

Connector API — Identity documents

Connector API — Identity documents. 5 operations. Lead operation: Add identity documents. Self-contained Naftiko capability covering one Mews business surface.

Run with Naftiko MewsIdentity documents

What You Can Do

POST
Identitydocumentsadd — Add identity documents
/v1/api/connector/v1/identitydocuments/add
POST
Identitydocumentsclear — Clear identity documents
/v1/api/connector/v1/identitydocuments/clear
POST
Identitydocumentsdelete — Delete identity documents
/v1/api/connector/v1/identitydocuments/delete
POST
Identitydocumentsgetall — Get all identity documents
/v1/api/connector/v1/identitydocuments/getall
POST
Identitydocumentsupdate — Update identity documents
/v1/api/connector/v1/identitydocuments/update

MCP Tools

add-identity-documents

Add identity documents

clear-identity-documents

Clear identity documents

delete-identity-documents

Delete identity documents

get-all-identity-documents

Get all identity documents

read-only
update-identity-documents

Update identity documents

Capability Spec

connector-identity-documents.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Connector API — Identity documents
  description: 'Connector API — Identity documents. 5 operations. Lead operation: Add identity documents. Self-contained Naftiko
    capability covering one Mews business surface.'
  tags:
  - Mews
  - Identity documents
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MEWS_API_KEY: MEWS_API_KEY
capability:
  consumes:
  - type: http
    namespace: connector-identity-documents
    baseUri: https://api.mews.com
    description: Connector API — Identity documents business capability. Self-contained, no shared references.
    resources:
    - name: api-connector-v1-identityDocuments-add
      path: /api/connector/v1/identityDocuments/add
      operations:
      - name: identitydocumentsadd
        method: POST
        description: Add identity documents
        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-identityDocuments-clear
      path: /api/connector/v1/identityDocuments/clear
      operations:
      - name: identitydocumentsclear
        method: POST
        description: Clear identity documents
        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-identityDocuments-delete
      path: /api/connector/v1/identityDocuments/delete
      operations:
      - name: identitydocumentsdelete
        method: POST
        description: Delete identity documents
        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-identityDocuments-getAll
      path: /api/connector/v1/identityDocuments/getAll
      operations:
      - name: identitydocumentsgetall
        method: POST
        description: Get all identity documents
        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-identityDocuments-update
      path: /api/connector/v1/identityDocuments/update
      operations:
      - name: identitydocumentsupdate
        method: POST
        description: Update identity documents
        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-identity-documents-rest
    port: 8080
    description: REST adapter for Connector API — Identity documents. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/connector/v1/identitydocuments/add
      name: api-connector-v1-identitydocuments-add
      description: REST surface for api-connector-v1-identityDocuments-add.
      operations:
      - method: POST
        name: identitydocumentsadd
        description: Add identity documents
        call: connector-identity-documents.identitydocumentsadd
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/connector/v1/identitydocuments/clear
      name: api-connector-v1-identitydocuments-clear
      description: REST surface for api-connector-v1-identityDocuments-clear.
      operations:
      - method: POST
        name: identitydocumentsclear
        description: Clear identity documents
        call: connector-identity-documents.identitydocumentsclear
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/connector/v1/identitydocuments/delete
      name: api-connector-v1-identitydocuments-delete
      description: REST surface for api-connector-v1-identityDocuments-delete.
      operations:
      - method: POST
        name: identitydocumentsdelete
        description: Delete identity documents
        call: connector-identity-documents.identitydocumentsdelete
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/connector/v1/identitydocuments/getall
      name: api-connector-v1-identitydocuments-getall
      description: REST surface for api-connector-v1-identityDocuments-getAll.
      operations:
      - method: POST
        name: identitydocumentsgetall
        description: Get all identity documents
        call: connector-identity-documents.identitydocumentsgetall
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/connector/v1/identitydocuments/update
      name: api-connector-v1-identitydocuments-update
      description: REST surface for api-connector-v1-identityDocuments-update.
      operations:
      - method: POST
        name: identitydocumentsupdate
        description: Update identity documents
        call: connector-identity-documents.identitydocumentsupdate
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: connector-identity-documents-mcp
    port: 9090
    transport: http
    description: MCP adapter for Connector API — Identity documents. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: add-identity-documents
      description: Add identity documents
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: connector-identity-documents.identitydocumentsadd
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: clear-identity-documents
      description: Clear identity documents
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: connector-identity-documents.identitydocumentsclear
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-identity-documents
      description: Delete identity documents
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: connector-identity-documents.identitydocumentsdelete
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-all-identity-documents
      description: Get all identity documents
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: connector-identity-documents.identitydocumentsgetall
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: update-identity-documents
      description: Update identity documents
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: connector-identity-documents.identitydocumentsupdate
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.