naftiko: 1.0.0-alpha2 info: label: Snyk API — Slack description: 'Snyk API — Slack. 2 operations. Lead operation: Get a list of Slack channels. Self-contained Naftiko capability covering one Snyk business surface.' tags: - Snyk - Slack created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SNYK_API_KEY: SNYK_API_KEY capability: consumes: - type: http namespace: rest-slack baseUri: https://api.snyk.io/rest description: Snyk API — Slack business capability. Self-contained, no shared references. resources: - name: orgs-org_id-slack_app-tenant_id-channels path: /orgs/{org_id}/slack_app/{tenant_id}/channels operations: - name: listchannels method: GET description: Get a list of Slack channels outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: org_id in: path type: string description: Org ID required: true - name: orgs-org_id-slack_app-tenant_id-channels-channel_id path: /orgs/{org_id}/slack_app/{tenant_id}/channels/{channel_id} operations: - name: getchannelnamebyid method: GET description: Get Slack Channel name by Slack Channel ID. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: org_id in: path type: string description: Org ID required: true authentication: type: bearer token: '{{env.SNYK_API_KEY}}' exposes: - type: rest namespace: rest-slack-rest port: 8080 description: REST adapter for Snyk API — Slack. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/orgs/{org-id}/slack-app/{tenant-id}/channels name: orgs-org-id-slack-app-tenant-id-channels description: REST surface for orgs-org_id-slack_app-tenant_id-channels. operations: - method: GET name: listchannels description: Get a list of Slack channels call: rest-slack.listchannels with: org_id: rest.org_id outputParameters: - type: object mapping: $. - path: /v1/orgs/{org-id}/slack-app/{tenant-id}/channels/{channel-id} name: orgs-org-id-slack-app-tenant-id-channels-channel-id description: REST surface for orgs-org_id-slack_app-tenant_id-channels-channel_id. operations: - method: GET name: getchannelnamebyid description: Get Slack Channel name by Slack Channel ID. call: rest-slack.getchannelnamebyid with: org_id: rest.org_id outputParameters: - type: object mapping: $. - type: mcp namespace: rest-slack-mcp port: 9090 transport: http description: MCP adapter for Snyk API — Slack. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-list-slack-channels description: Get a list of Slack channels hints: readOnly: true destructive: false idempotent: true call: rest-slack.listchannels with: org_id: tools.org_id outputParameters: - type: object mapping: $. - name: get-slack-channel-name-slack description: Get Slack Channel name by Slack Channel ID. hints: readOnly: true destructive: false idempotent: true call: rest-slack.getchannelnamebyid with: org_id: tools.org_id outputParameters: - type: object mapping: $.