Discord · Capability

Discord HTTP API (Preview) — Voice

Discord HTTP API (Preview) — Voice. 1 operations. Lead operation: Voice. Self-contained Naftiko capability covering one Discord business surface.

Run with Naftiko DiscordVoice

What You Can Do

GET
Listvoiceregions — listvoiceregions
/v1/voice/regions

MCP Tools

listvoiceregions

listvoiceregions

read-only idempotent

Capability Spec

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