naftiko: 1.0.0-alpha2 info: label: PDCP API — billing description: 'PDCP API — billing. 1 operations. Lead operation: Get the monthly billing cycle dates. Self-contained Naftiko capability covering one Nuclei business surface.' tags: - Nuclei - billing created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: NUCLEI_API_KEY: NUCLEI_API_KEY capability: consumes: - type: http namespace: nuclei-billing baseUri: https://api.projectdiscovery.io description: PDCP API — billing business capability. Self-contained, no shared references. resources: - name: v1-billing-cycles path: /v1/billing-cycles operations: - name: getv1billingcycles method: GET description: Get the monthly billing cycle dates outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: X-Team-Id in: header type: string description: 'Retrieve the Team ID from: https://cloud.projectdiscovery.io/settings/team' authentication: type: apikey key: X-API-Key value: '{{env.NUCLEI_API_KEY}}' placement: header exposes: - type: rest namespace: nuclei-billing-rest port: 8080 description: REST adapter for PDCP API — billing. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/billing-cycles name: v1-billing-cycles description: REST surface for v1-billing-cycles. operations: - method: GET name: getv1billingcycles description: Get the monthly billing cycle dates call: nuclei-billing.getv1billingcycles with: X-Team-Id: rest.X-Team-Id outputParameters: - type: object mapping: $. - type: mcp namespace: nuclei-billing-mcp port: 9090 transport: http description: MCP adapter for PDCP API — billing. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-monthly-billing-cycle-dates description: Get the monthly billing cycle dates hints: readOnly: true destructive: false idempotent: true call: nuclei-billing.getv1billingcycles with: X-Team-Id: tools.X-Team-Id outputParameters: - type: object mapping: $.