naftiko: 1.0.0-alpha2 info: label: Discord HTTP API (Preview) — Invites description: 'Discord HTTP API (Preview) — Invites. 2 operations. Lead operation: Invites. Self-contained Naftiko capability covering one Discord business surface.' tags: - Discord - Invites created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: DISCORD_API_KEY: DISCORD_API_KEY capability: consumes: - type: http namespace: discord-invites baseUri: https://discord.com/api/v10 description: Discord HTTP API (Preview) — Invites business capability. Self-contained, no shared references. resources: - name: invites-code path: /invites/{code} operations: - name: inviteresolve method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: with_counts in: query type: boolean - name: guild_scheduled_event_id in: query type: string - name: inviterevoke method: DELETE description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.DISCORD_API_KEY}}' exposes: - type: rest namespace: discord-invites-rest port: 8080 description: REST adapter for Discord HTTP API (Preview) — Invites. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/invites/{code} name: invites-code description: REST surface for invites-code. operations: - method: GET name: inviteresolve description: inviteresolve call: discord-invites.inviteresolve with: with_counts: rest.with_counts guild_scheduled_event_id: rest.guild_scheduled_event_id outputParameters: - type: object mapping: $. - method: DELETE name: inviterevoke description: inviterevoke call: discord-invites.inviterevoke outputParameters: - type: object mapping: $. - type: mcp namespace: discord-invites-mcp port: 9090 transport: http description: MCP adapter for Discord HTTP API (Preview) — Invites. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: inviteresolve description: inviteresolve hints: readOnly: true destructive: false idempotent: true call: discord-invites.inviteresolve with: with_counts: tools.with_counts guild_scheduled_event_id: tools.guild_scheduled_event_id outputParameters: - type: object mapping: $. - name: inviterevoke description: inviterevoke hints: readOnly: false destructive: true idempotent: true call: discord-invites.inviterevoke outputParameters: - type: object mapping: $.