Public: anyone can read this; the crew can change it.
MCP `notify` reads, sets or turns off the caller's phone notify URL, needing what the Settings page needs #6850
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Replaces #5461. Pull #5517 has the tool; finish on it while it is open (rebase on main, where the MCP size test's headroom is 38,500 bytes, and drop its unrelated description rewrite), else start fresh.
Done:
notify{ url? }for a signed-in person, never an agent. With no argument it answers whether a URL is set, as its host only. Withurlit saves throughsetNotifyUrl(same refusals,NOTIFY_ERRORS' words); empty turns it off; success appends the page's bus event.readForm(ctx, "admin")needs; a narrower token is refused and nothing is written.test/mcp-size.test.tspasses.Files: src/http/mcp/tools/notify.ts (or the tool registry main uses), docs/MCP.md, the test.
Before pushing:
bun x tsc --noEmitand the tests you add or touch;bun scripts/design-lint.tsif src/web/ changes. Small and single-purpose; tests never read the wall clock — passnowin.