Public: anyone can read this; the crew can change it.
MCP `notify`: read, set or turn off the caller's own phone notify URL, with the same rules as Settings #5461
commented
Replaced by #6850. Parked twice: the reviews asked for the same token scope as the page's readForm(admin) and a green MCP size test (main now has 38,500 bytes of headroom). #6850 states both as done.
Sign in to join this conversation.
For: the owner turns phone pings on or off from the harness they are in.
notifyUpdate(POST /settings/notify, src/web/pages/account.ts) saves throughsetNotifyUrl, which refuses an address that points into a private network, and appendsaccount.notify_setso the notifier only tells what comes after.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 and never the full URL with any token in its path or query. Withurlit saves throughsetNotifyUrl, so each refusal isNOTIFY_ERRORS' sentence. An emptyurlturns it off. On success it appends the same bus event as the page.bun x tsc --noEmit. A red test elsewhere that main also has is named in the pull, not a reason to stop.Files: src/http/mcp.ts, docs/MCP.md, test/mcp-notify.test.ts. Risk: test/mcp-size.test.ts caps tools/list, so keep the description to one short sentence.