naftiko: 1.0.0-alpha2 info: label: RealEstateAPI — MLS description: 'RealEstateAPI — MLS. 2 operations. Lead operation: Retrieve MLS listing detail. Self-contained Naftiko capability covering one Realestateapi business surface.' tags: - Realestateapi - MLS created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: REALESTATEAPI_API_KEY: REALESTATEAPI_API_KEY capability: consumes: - type: http namespace: realestateapi-mls baseUri: https://api.realestateapi.com description: RealEstateAPI — MLS business capability. Self-contained, no shared references. resources: - name: v2-MLSDetail path: /v2/MLSDetail operations: - name: post method: POST description: Retrieve MLS listing detail outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v2-MLSSearch path: /v2/MLSSearch operations: - name: post method: POST description: Search MLS active and historical listings outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: x-api-key value: '{{env.REALESTATEAPI_API_KEY}}' placement: header exposes: - type: rest namespace: realestateapi-mls-rest port: 8080 description: REST adapter for RealEstateAPI — MLS. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v2/mlsdetail name: v2-mlsdetail description: REST surface for v2-MLSDetail. operations: - method: POST name: post description: Retrieve MLS listing detail call: realestateapi-mls.post with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/mlssearch name: v2-mlssearch description: REST surface for v2-MLSSearch. operations: - method: POST name: post description: Search MLS active and historical listings call: realestateapi-mls.post with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: realestateapi-mls-mcp port: 9090 transport: http description: MCP adapter for RealEstateAPI — MLS. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: retrieve-mls-listing-detail description: Retrieve MLS listing detail hints: readOnly: true destructive: false idempotent: false call: realestateapi-mls.post with: body: tools.body outputParameters: - type: object mapping: $. - name: search-mls-active-and-historical description: Search MLS active and historical listings hints: readOnly: true destructive: false idempotent: false call: realestateapi-mls.post with: body: tools.body outputParameters: - type: object mapping: $.