Skip to content

Explain the Activity setup notice and open the dashboard through Discord - #58

Merged
CompleteDotTech merged 1 commit into
mainfrom
fix/activity-dashboard-notice
Oct 20, 2026
Merged

CompleteDotTech merged 1 commit into
mainfrom
fix/activity-dashboard-notice

Conversation

@CompleteDotTech

Copy link
Copy Markdown
Contributor

In a Discord Activity the Agent setup page always showed "WebMCP unavailable or blocked…", which reads like an error. It is expected: Discord's Activity iframe doesn't delegate the `tools` permission (documented in docs/AGENT_ONBOARDING.md), so agent tools can never register there.

  • The notice now says to set up with the planner below, and that an AI browser agent needs the browser dashboard.
  • In the Activity, Open browser dashboard uses `sdk.commands.openExternalLink`. A `target=_blank` link does nothing inside the Activity. The URL preselects the server (`/setup?guild=…`).
  • Outside Discord, it keeps the plain link and says WebMCP isn't available in this browser.

`npm test`: 383/383 pass.

🤖 Generated with Claude Code

The Agent setup notice read like an error in every Discord Activity, because
Discord's iframe never delegates the WebMCP tools permission. Say plainly that
the planner below is the way to set up, and that agents need the browser
dashboard. In the Activity, open the dashboard with openExternalLink (a plain
target=_blank link does nothing there) and preselect the server.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@CompleteDotTech
CompleteDotTech merged commit 27fe737 into main Oct 20, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant