naftiko: 1.0.0-alpha2 info: label: Cumulocity Notification 2.0 — Tokens description: Exchange a Notification 2.0 subscription for a short-lived JWT token usable against the WebSocket consumer endpoint. tags: [Cumulocity, Notification 2.0, Tokens, JWT] created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: C8Y_BASE_URL: C8Y_BASE_URL C8Y_USER: C8Y_USER C8Y_PASSWORD: C8Y_PASSWORD capability: consumes: - type: http namespace: notification2-tokens baseUri: '{{env.C8Y_BASE_URL}}' resources: - name: token path: /notification2/token operations: - name: createtoken method: POST description: Create A Subscription Token inputParameters: - {name: body, in: body, type: object, required: true} - name: unsubscribe path: /notification2/unsubscribe operations: - name: unsubscribetoken method: POST description: Unsubscribe / Invalidate A Token inputParameters: - {name: body, in: body, type: object, required: true} authentication: type: basic username: '{{env.C8Y_USER}}' password: '{{env.C8Y_PASSWORD}}' exposes: - type: mcp namespace: notification2-tokens-mcp port: 9090 transport: http tools: - name: cumulocity-create-notification2-token description: Create a short-lived JWT token for a Cumulocity Notification 2.0 subscription. hints: {readOnly: false, destructive: false, idempotent: false} call: notification2-tokens.createtoken with: {body: tools.body} - name: cumulocity-unsubscribe-notification2-token description: Unsubscribe (invalidate) a Notification 2.0 token. hints: {readOnly: false, destructive: true, idempotent: true} call: notification2-tokens.unsubscribetoken with: {body: tools.body}