Mews · Capability

Connector API — Enterprises

Connector API — Enterprises. 1 operations. Lead operation: Get all enterprises. Self-contained Naftiko capability covering one Mews business surface.

Run with Naftiko MewsEnterprises

What You Can Do

POST
Enterprisesgetall — Get all enterprises
/v1/api/connector/v1/enterprises/getall

MCP Tools

get-all-enterprises

Get all enterprises

read-only

Capability Spec

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