naftiko: 1.0.0-alpha2 info: label: Telstra Messaging API — Authentication description: 'Telstra Messaging API — OAuth 2.0 client credentials token issuance against /oauth/token with the NSMS scope. Bearer token returned is used by every other Telstra Messaging capability.' tags: - Telstra - Authentication - OAuth created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: TELSTRA_CLIENT_ID: TELSTRA_CLIENT_ID TELSTRA_CLIENT_SECRET: TELSTRA_CLIENT_SECRET capability: consumes: - type: http namespace: messaging-auth baseUri: https://tapi.telstra.com/v2 description: Telstra OAuth token endpoint. resources: - name: oauth-token path: /oauth/token operations: - name: generatetoken method: POST description: Telstra Generate OAuth Token outputRawFormat: json outputParameters: - name: access_token type: string value: $.access_token - name: expires_in type: string value: $.expires_in inputParameters: - name: client_id in: form type: string value: '{{env.TELSTRA_CLIENT_ID}}' required: true - name: client_secret in: form type: string value: '{{env.TELSTRA_CLIENT_SECRET}}' required: true - name: grant_type in: form type: string value: client_credentials required: true - name: scope in: form type: string value: NSMS required: false exposes: - type: mcp namespace: messaging-auth-mcp port: 9093 transport: http description: MCP adapter exposing the OAuth token operation for downstream Telstra capabilities. tools: - name: telstra-generate-oauth-token description: Telstra Generate OAuth Token hints: readOnly: false destructive: false idempotent: false call: messaging-auth.generatetoken outputParameters: - type: object mapping: $.