naftiko: 1.0.0-alpha2 info: label: NASCAR Feed API — Companies description: 'NASCAR Feed API — Companies. 3 operations. Lead operation: Search companies by name. Self-contained Naftiko capability covering one Nascar business surface.' tags: - Nascar - Companies created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: NASCAR_API_KEY: NASCAR_API_KEY capability: consumes: - type: http namespace: nascar-companies baseUri: https://feed.nascar.com description: NASCAR Feed API — Companies business capability. Self-contained, no shared references. resources: - name: api-Companies path: /api/Companies operations: - name: searchcompanies method: GET description: Search companies by name outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-CompanyAnnuals path: /api/CompanyAnnuals operations: - name: listcompanyannuals method: GET description: List all company annuals and associations outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-CompanyAnnuals-Member path: /api/CompanyAnnuals/Member operations: - name: getcompanyannualsformember method: GET description: Retrieve annuals for a member id outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: nascar-companies-rest port: 8080 description: REST adapter for NASCAR Feed API — Companies. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/companies name: api-companies description: REST surface for api-Companies. operations: - method: GET name: searchcompanies description: Search companies by name call: nascar-companies.searchcompanies outputParameters: - type: object mapping: $. - path: /v1/api/companyannuals name: api-companyannuals description: REST surface for api-CompanyAnnuals. operations: - method: GET name: listcompanyannuals description: List all company annuals and associations call: nascar-companies.listcompanyannuals outputParameters: - type: object mapping: $. - path: /v1/api/companyannuals/member name: api-companyannuals-member description: REST surface for api-CompanyAnnuals-Member. operations: - method: GET name: getcompanyannualsformember description: Retrieve annuals for a member id call: nascar-companies.getcompanyannualsformember outputParameters: - type: object mapping: $. - type: mcp namespace: nascar-companies-mcp port: 9090 transport: http description: MCP adapter for NASCAR Feed API — Companies. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: search-companies-name description: Search companies by name hints: readOnly: true destructive: false idempotent: true call: nascar-companies.searchcompanies outputParameters: - type: object mapping: $. - name: list-all-company-annuals-and description: List all company annuals and associations hints: readOnly: true destructive: false idempotent: true call: nascar-companies.listcompanyannuals outputParameters: - type: object mapping: $. - name: retrieve-annuals-member-id description: Retrieve annuals for a member id hints: readOnly: true destructive: false idempotent: true call: nascar-companies.getcompanyannualsformember outputParameters: - type: object mapping: $.