Skip to content

Default WAVE_BASE_URL (wave.online) 404s on /api/v1/*; all 18 tools broken #89

Description

@yakimoto

Summary

src/auth.ts:9 defaults WAVE_BASE_URL to https://wave.online, a host that 404s on /api/v1/*. Every one of this package's 18 published tools targets a host that does not serve the API: no scope check, no metering, no x402, no successful call, ever, with default configuration.

Where

src/auth.ts:9DEFAULT_BASE_URL = "https://wave.online" (or equivalent constant name; grep WAVE_BASE_URL default in src/auth.ts).

Live receipts

https://wave.online/api/v1/streams          → 404
https://wave.online/settings/api-keys       → 404   (the package's own key-minting error URL, src/auth.ts:17)

The correct API host is https://api.wave.online — confirmed live and serving /v1/* correctly (see the receipts in the sibling wave-gateway issues filed alongside this one).

Affected tools (all 18)

wave_{create,list}_stream(s), wave_{start,stop}_stream, wave_get_stream_{health,metrics}, wave_get_viewers, wave_create_clip, wave_mark_highlight, wave_{create,list}_production(s), wave_control_camera, wave_switch_camera, wave_show_graphic, wave_moderate_chat, wave_start_captions, wave_get_{usage,subscription}.

Proposed fix

  • Change the default WAVE_BASE_URL in src/auth.ts:9 to https://api.wave.online.
  • Repoint the key-minting error URL (src/auth.ts:17, currently wave.online/settings/api-keys → 404) at console.wave.online/dashboard#keys.

Note

This package is published to npm (@wave-av/mcp-server). A code fix alone does not remediate installed copies — this needs a version bump and republish once merged, and ideally a note in the package README / changelog since every existing install is silently broken.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-triageOn the board but missing Type/Area/Priority

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions