naftiko: 1.0.0-alpha2 info: label: Miro Developer Platform — tokens description: 'Miro Developer Platform — tokens. 2 operations. Lead operation: Get access token information. Self-contained Naftiko capability covering one Miro business surface.' tags: - Miro - tokens created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MIRO_API_KEY: MIRO_API_KEY capability: consumes: - type: http namespace: miro-tokens baseUri: https://api.miro.com description: Miro Developer Platform — tokens business capability. Self-contained, no shared references. resources: - name: v1-oauth-token path: /v1/oauth-token operations: - name: tokeninfo method: GET description: Get access token information outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v1-oauth-revoke path: /v1/oauth/revoke operations: - name: revoketoken method: POST description: Revoke token (v1) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: access_token in: query type: string description: Access token that you want to revoke required: true authentication: type: bearer token: '{{env.MIRO_API_KEY}}' exposes: - type: rest namespace: miro-tokens-rest port: 8080 description: REST adapter for Miro Developer Platform — tokens. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/oauth-token name: v1-oauth-token description: REST surface for v1-oauth-token. operations: - method: GET name: tokeninfo description: Get access token information call: miro-tokens.tokeninfo outputParameters: - type: object mapping: $. - path: /v1/v1/oauth/revoke name: v1-oauth-revoke description: REST surface for v1-oauth-revoke. operations: - method: POST name: revoketoken description: Revoke token (v1) call: miro-tokens.revoketoken with: access_token: rest.access_token outputParameters: - type: object mapping: $. - type: mcp namespace: miro-tokens-mcp port: 9090 transport: http description: MCP adapter for Miro Developer Platform — tokens. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-access-token-information description: Get access token information hints: readOnly: true destructive: false idempotent: true call: miro-tokens.tokeninfo outputParameters: - type: object mapping: $. - name: revoke-token-v1 description: Revoke token (v1) hints: readOnly: false destructive: false idempotent: false call: miro-tokens.revoketoken with: access_token: tools.access_token outputParameters: - type: object mapping: $.