Mews · Capability

Mews Connector API — Availability and Rates

Self-contained Naftiko capability for the Mews Connector availability and rate-management surface. Pulls availability by service/resource category, fetches rates and restrictions, and updates availability adjustments and rate prices.

Mews Connector API — Availability and Rates is a Naftiko capability published by Mews, one of 8 capabilities the APIs.io network indexes for this provider. It bundles 3 operations.

The capability includes 2 read-only operations and 1 state-changing operation. Lead operation: Get Mews service availability by resource category. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Mews, Hospitality, Availability, Rates, and Inventory.

Run with Naftiko MewsHospitalityAvailabilityRatesInventory

MCP Tools

mews-get-availability

Get Mews service availability by resource category.

read-only idempotent
mews-list-rates

List Mews rates for a service.

read-only idempotent
mews-update-rate-prices

Update Mews rate prices.

Capability Spec

connector-availability.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Mews Connector API — Availability and Rates
  description: Self-contained Naftiko capability for the Mews Connector availability and rate-management
    surface. Pulls availability by service/resource category, fetches rates and restrictions, and updates
    availability adjustments and rate prices.
  tags:
  - Mews
  - Hospitality
  - Availability
  - Rates
  - Inventory
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    MEWS_CLIENT_TOKEN: MEWS_CLIENT_TOKEN
    MEWS_ACCESS_TOKEN: MEWS_ACCESS_TOKEN
    MEWS_CLIENT: MEWS_CLIENT
capability:
  consumes:
  - type: http
    namespace: connector-availability
    baseUri: https://api.mews.com
    description: Mews Connector — availability and rates.
    resources:
    - name: services
      path: /api/connector/v1/services
      operations:
      - name: getAvailability
        method: POST
        description: Returns service-level availability by resource category over a time window.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          required: true
    - name: rates
      path: /api/connector/v1/rates
      operations:
      - name: getAll
        method: POST
        description: Returns all rates for a service.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          required: true
    - name: ratePrices
      path: /api/connector/v1/ratePrices
      operations:
      - name: update
        method: POST
        description: Updates rate prices for one or more rates over a date range.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          required: true
    - name: availabilityAdjustments
      path: /api/connector/v1/availabilityAdjustments
      operations:
      - name: update
        method: POST
        description: Adjusts availability counts for a service and resource category.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          required: true
    authentication:
      type: body
      description: Mews Connector body-token authentication.
      keys:
        ClientToken: '{{env.MEWS_CLIENT_TOKEN}}'
        AccessToken: '{{env.MEWS_ACCESS_TOKEN}}'
        Client: '{{env.MEWS_CLIENT}}'
  exposes:
  - type: mcp
    namespace: connector-availability-mcp
    port: 9090
    transport: http
    description: MCP adapter for Mews availability and rate management.
    tools:
    - name: mews-get-availability
      description: Get Mews service availability by resource category.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: connector-availability.getAvailability
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: mews-list-rates
      description: List Mews rates for a service.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: connector-availability.getAll
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: mews-update-rate-prices
      description: Update Mews rate prices.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: connector-availability.update
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.