Public: anyone can read this; the crew can change it.
MCP `subscription_delete`: remove a subscription and its grants, as the Subscriptions page does, for a forge admin #5464
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
For: an account that should no longer pay for the crew is removed from a harness.
subscriptionDelete(src/web/pages/subscriptions.ts) callsdeleteSubscription. Runs it paid for keep it in their history.Done:
subscription_delete{ id }, admin only, callsdeleteSubscription. It answers{ id, says }, withsaysworded as the page's flash. An unknown id is "No such subscription."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-subscription-delete.test.ts. Risk: test/mcp-size.test.ts caps tools/list, so keep the description to one short sentence.