naftiko: 1.0.0-alpha2 info: label: S&P Global Commodity Insights API — Authentication description: 'S&P Global Commodity Insights API — Authentication. 1 operations. Lead operation: Authenticate and Get Access Token. Self-contained Naftiko capability covering one S And P Global business surface.' tags: - S And P Global - Authentication created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: S_AND_P_GLOBAL_API_KEY: S_AND_P_GLOBAL_API_KEY capability: consumes: - type: http namespace: commodity-insights-authentication baseUri: https://api.platts.com description: S&P Global Commodity Insights API — Authentication business capability. Self-contained, no shared references. resources: - name: auth-api path: /auth/api operations: - name: authenticate method: POST description: Authenticate and Get Access Token outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.S_AND_P_GLOBAL_API_KEY}}' exposes: - type: rest namespace: commodity-insights-authentication-rest port: 8080 description: REST adapter for S&P Global Commodity Insights API — Authentication. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/auth/api name: auth-api description: REST surface for auth-api. operations: - method: POST name: authenticate description: Authenticate and Get Access Token call: commodity-insights-authentication.authenticate with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: commodity-insights-authentication-mcp port: 9090 transport: http description: MCP adapter for S&P Global Commodity Insights API — Authentication. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: authenticate-and-get-access-token description: Authenticate and Get Access Token hints: readOnly: true destructive: false idempotent: false call: commodity-insights-authentication.authenticate with: body: tools.body outputParameters: - type: object mapping: $.