Who connects, and as whom
Only an Admin can connect an app. When the Admin approves, xcale checks that they hold an active Admin membership in the business they chose, and the app acts as that Admin in that business. No platform-level role crosses this door: the connection can never open the dashboard’s own routes, and a dashboard session can never call the xcale MCP.One grant per member, host and app
xcale keeps one live grant per membership, per the host the app returns to and per app name. Connecting the same app again replaces the previous grant, which ends as replaced.What ends a connection
A connection ends on its own when:- the Admin is removed from the business, or is no longer active in it;
- the Admin is demoted from Admin;
- the person changes or resets their password, or the account is deactivated. A password change ends the person’s connections in every business.
Cutting a connection
Any Admin of the business can end any of its connections, in the dashboard under Connected apps. A Collaborator cannot. The app stops being served on its next call to the xcale MCP, and at most 10 seconds later across all of xcale’s servers; the 15-minute access token the app still holds does not keep it alive. The Admins of the business and the person who connected it are told.Irreversible acts ask twice
A tool that does something that cannot be undone takes two calls. The first call writes nothing: it answers what would be lost, in the person’s language, and aconfirmationToken. The second call presents that token with the same arguments. The token is bound to the business, the connection, the person, the act and its target, lasts 5 minutes and can be used once. If what would be lost changed in between, the second call is answered with the new impact and a new token, and nothing is done.
The tool reference marks each tool that asks for this confirmation.