Mews · Capability

Connector API — Services

Connector API — Services. 4 operations. Lead operation: Get all services. Self-contained Naftiko capability covering one Mews business surface.

Run with Naftiko MewsServices

What You Can Do

POST
Servicesgetall — Get all services
/v1/api/connector/v1/services/getall
POST
Servicesgetavailability — Get service availability
/v1/api/connector/v1/services/getavailability
POST
Servicesgetavailability20240122 — Get service availability (ver 2024-01-22)
/v1/api/connector/v1/services/getavailability/2024-01-22
POST
Servicesupdateavailability — Update service availability
/v1/api/connector/v1/services/updateavailability

MCP Tools

get-all-services

Get all services

read-only
get-service-availability

Get service availability

read-only
get-service-availability-ver-2024

Get service availability (ver 2024-01-22)

read-only
update-service-availability

Update service availability

Capability Spec

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