naftiko: 1.0.0-alpha2 info: label: BlaBlaCar Bus API — Stations description: 'BlaBlaCar Bus API — Stations. 1 operations. Lead operation: BlaBlaCar Bus List Stations. Self-contained Naftiko capability covering one Blablacar Bus Api business surface.' tags: - Blablacar Bus Api - Stations created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: BLABLACAR_BUS_API_API_KEY: BLABLACAR_BUS_API_API_KEY capability: consumes: - type: http namespace: blablacar-bus-stations baseUri: https://bus-api.blablacar.com/v1 description: BlaBlaCar Bus API — Stations business capability. Self-contained, no shared references. resources: - name: stations path: /stations operations: - name: liststations method: GET description: BlaBlaCar Bus List Stations outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: country_code in: query type: string description: Filter stations by ISO 3166-1 alpha-2 country code - name: query in: query type: string description: Search stations by name or city authentication: type: apikey key: X-API-Key value: '{{env.BLABLACAR_BUS_API_API_KEY}}' placement: header exposes: - type: rest namespace: blablacar-bus-stations-rest port: 8080 description: REST adapter for BlaBlaCar Bus API — Stations. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/stations name: stations description: REST surface for stations. operations: - method: GET name: liststations description: BlaBlaCar Bus List Stations call: blablacar-bus-stations.liststations with: country_code: rest.country_code query: rest.query outputParameters: - type: object mapping: $. - type: mcp namespace: blablacar-bus-stations-mcp port: 9090 transport: http description: MCP adapter for BlaBlaCar Bus API — Stations. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: blablacar-bus-list-stations description: BlaBlaCar Bus List Stations hints: readOnly: true destructive: false idempotent: true call: blablacar-bus-stations.liststations with: country_code: tools.country_code query: tools.query outputParameters: - type: object mapping: $.