naftiko: 1.0.0-alpha2 info: label: Easyship API — Rates description: 'Easyship API — Rates. Multi-courier rate-shopping capability. Self-contained Naftiko capability covering one Easyship business surface.' tags: - Easyship - Rates - Shipping created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: EASYSHIP_API_TOKEN: EASYSHIP_API_TOKEN capability: consumes: - type: http namespace: easyship-rates baseUri: https://api.easyship.com/2024-09 description: Easyship API — Rates business capability. Self-contained, no shared references. resources: - name: rates path: /rates operations: - name: getrates method: POST description: Request shipping rate quotes across integrated couriers outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body with origin_address, destination_address, parcels, and items required: true authentication: type: bearer token: '{{env.EASYSHIP_API_TOKEN}}' exposes: - type: rest namespace: easyship-rates-rest port: 8080 description: REST adapter for Easyship API — Rates. resources: - path: /v1/rates name: rates description: REST surface for rates. operations: - method: POST name: getrates description: Request shipping rate quotes call: easyship-rates.getrates with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: easyship-rates-mcp port: 9090 transport: http description: MCP adapter for Easyship API — Rates. tools: - name: get-rates description: Request shipping rate quotes across couriers hints: readOnly: false destructive: false idempotent: true call: easyship-rates.getrates with: body: tools.body outputParameters: - type: object mapping: $.