Naftiko · Capability

Iata Ndc Shopping Context Capability

A capability over the IATA NDC shopping flow — shape AirShopping/OfferPrice responses into a compact AI-friendly shopping context.

Run with Naftiko NaftikoIATA NDCTravel

What You Can Do

POST
Shop — Run an NDC AirShopping query and return shaped offers.
/shop

MCP Tools

shop

price-offer

Capability Spec

iata-ndc-shopping-context-capability.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  title: Iata Ndc Shopping Context Capability
  description: A capability over the IATA NDC shopping flow — shape AirShopping/OfferPrice responses into a compact AI-friendly shopping context.
  tags: [Naftiko, IATA NDC, Travel]
  created: '2026-05-01'
  modified: '2026-05-04'
binds:
- namespace: ndc-env
  keys: {NDC_HOST: NDC_HOST, NDC_TOKEN: NDC_TOKEN}
capability:
  consumes:
  - namespace: ndc
    type: http
    baseUri: https://{{NDC_HOST}}
    authentication: {type: bearer, token: '{{NDC_TOKEN}}'}
    resources:
    - {name: air-shopping, path: /ndc/v21.3/AirShopping, operations: [{name: air-shopping, method: POST, description: NDC AirShopping request.}]}
    - {name: offer-price, path: /ndc/v21.3/OfferPrice, operations: [{name: offer-price, method: POST}]}
  exposes:
  - type: rest
    address: 0.0.0.0
    port: 8080
    namespace: iata-ndc-shopping-context-capability-rest
    description: REST surface for shaped NDC shopping.
    resources:
    - {name: shop, path: /shop, operations: [{method: POST, name: shop, description: Run an NDC AirShopping query and return shaped offers., call: ndc.air-shopping}]}
  - type: mcp
    address: 0.0.0.0
    port: 3010
    namespace: iata-ndc-shopping-context-capability-mcp
    description: MCP for NDC shopping.
    tools:
    - {name: shop, call: ndc.air-shopping}
    - {name: price-offer, call: ndc.offer-price}
  - type: skill
    address: 0.0.0.0
    port: 3011
    namespace: iata-ndc-shopping-context-capability-skills
    description: Skill for NDC shopping.
    skills:
    - name: iata-ndc-shopping-context-capability
      description: IATA NDC shaped shopping context.
      location: file:///opt/naftiko/skills/iata-ndc-shopping-context-capability
      allowed-tools: shop,price-offer
      tools:
      - {name: shop, from: {sourceNamespace: iata-ndc-shopping-context-capability-mcp, action: shop}}
      - {name: price-offer, from: {sourceNamespace: iata-ndc-shopping-context-capability-mcp, action: price-offer}}