naftiko: 1.0.0-alpha2 info: label: NVD CVE API — CPE Match description: 'NVD CVE API — CPE Match. 1 operations. Lead operation: Get CPE match criteria. Self-contained Naftiko capability covering one Nvd business surface.' tags: - Nvd - CPE Match created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: NVD_API_KEY: NVD_API_KEY capability: consumes: - type: http namespace: cve-cpe-match baseUri: https://services.nvd.nist.gov/rest/json description: NVD CVE API — CPE Match business capability. Self-contained, no shared references. resources: - name: cpematch-2.0 path: /cpematch/2.0 operations: - name: getcpematch method: GET description: Get CPE match criteria outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: cveId in: query type: string - name: matchCriteriaId in: query type: string - name: lastModStartDate in: query type: string - name: lastModEndDate in: query type: string - name: resultsPerPage in: query type: integer - name: startIndex in: query type: integer authentication: type: apikey key: apiKey value: '{{env.NVD_API_KEY}}' placement: header exposes: - type: rest namespace: cve-cpe-match-rest port: 8080 description: REST adapter for NVD CVE API — CPE Match. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/cpematch/2-0 name: cpematch-2-0 description: REST surface for cpematch-2.0. operations: - method: GET name: getcpematch description: Get CPE match criteria call: cve-cpe-match.getcpematch with: cveId: rest.cveId matchCriteriaId: rest.matchCriteriaId lastModStartDate: rest.lastModStartDate lastModEndDate: rest.lastModEndDate resultsPerPage: rest.resultsPerPage startIndex: rest.startIndex outputParameters: - type: object mapping: $. - type: mcp namespace: cve-cpe-match-mcp port: 9090 transport: http description: MCP adapter for NVD CVE API — CPE Match. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-cpe-match-criteria description: Get CPE match criteria hints: readOnly: true destructive: false idempotent: true call: cve-cpe-match.getcpematch with: cveId: tools.cveId matchCriteriaId: tools.matchCriteriaId lastModStartDate: tools.lastModStartDate lastModEndDate: tools.lastModEndDate resultsPerPage: tools.resultsPerPage startIndex: tools.startIndex outputParameters: - type: object mapping: $.