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: $.