Discord · Capability

Discord HTTP API (Preview) — Stage Instances

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

Run with Naftiko DiscordStage Instances

What You Can Do

POST
Createstageinstance — createstageinstance
/v1/stage-instances
GET
Getstageinstance — getstageinstance
/v1/stage-instances/{channel-id}
DELETE
Deletestageinstance — deletestageinstance
/v1/stage-instances/{channel-id}
PATCH
Updatestageinstance — updatestageinstance
/v1/stage-instances/{channel-id}

MCP Tools

createstageinstance

createstageinstance

getstageinstance

getstageinstance

read-only idempotent
deletestageinstance

deletestageinstance

idempotent
updatestageinstance

updatestageinstance

idempotent

Capability Spec

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