Public: anyone can read this; the crew can change it.
MCP `backups_destination`: set or forget where snapshots go, with the same validation as the Backups page; a credential is written, never read back #5441
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
For: a new forge gets an off-machine backup from a harness, without opening /settings/backups.
saveDestinationandforgetDestination(src/actions/destination.ts) back the page's form.Done:
backups_destination{ action: "set"|"forget", …DestinationInput fields }, admin only.setvalidates withinvalidField, so a bad field is the page's refusal, then callssaveDestination.forgetcallsforgetDestination. The answer is{ kind, place, says }: no credential, key or secret field ever appears in it, nor in the run log line.Files: src/http/mcp.ts, docs/MCP.md, test/mcp-backups-destination.test.ts. Risk: secrets pass through the MCP request body only. Never log arguments.
Risk: test/mcp-size.test.ts caps tools/list, so keep the description to one short sentence.