naftiko: 1.0.0-alpha2 info: label: Slack OAuth API — Tokens description: 'Slack OAuth API — Tokens. 1 operations. Lead operation: Slack Get Oauth Token. Self-contained Naftiko capability covering one Slack business surface.' tags: - Slack - Tokens created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SLACK_API_KEY: SLACK_API_KEY capability: consumes: - type: http namespace: oauth-tokens baseUri: '' description: Slack OAuth API — Tokens business capability. Self-contained, no shared references. resources: - name: oauth.token path: /oauth.token operations: - name: getoauthtoken method: GET description: Slack Get Oauth Token outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: client_id in: query type: string description: Issued when you created your application. - name: client_secret in: query type: string description: Issued when you created your application. - name: code in: query type: string description: The `code` param returned via the OAuth callback. - name: redirect_uri in: query type: string description: This must match the originally submitted URI (if one was sent). - name: single_channel in: query type: boolean description: Request the user to add your app only to a single channel. exposes: - type: rest namespace: oauth-tokens-rest port: 8080 description: REST adapter for Slack OAuth API — Tokens. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/oauth-token name: oauth-token description: REST surface for oauth.token. operations: - method: GET name: getoauthtoken description: Slack Get Oauth Token call: oauth-tokens.getoauthtoken with: client_id: rest.client_id client_secret: rest.client_secret code: rest.code redirect_uri: rest.redirect_uri single_channel: rest.single_channel outputParameters: - type: object mapping: $. - type: mcp namespace: oauth-tokens-mcp port: 9090 transport: http description: MCP adapter for Slack OAuth API — Tokens. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: slack-get-oauth-token description: Slack Get Oauth Token hints: readOnly: true destructive: false idempotent: true call: oauth-tokens.getoauthtoken with: client_id: tools.client_id client_secret: tools.client_secret code: tools.code redirect_uri: tools.redirect_uri single_channel: tools.single_channel outputParameters: - type: object mapping: $.