Repository navigation
Description
Summary
The owner decided on 2026-10-08 that over MCP an agent can change everything the signed-in person's role allows, with every write audited as coming through MCP. Today 10 of the 34 pages of Settings can be changed that way, 2 are deliberately not offered, and 22 have no way yet. Some of those 22 are plain reads or writes; a few involve a secret or an act that should stay with a person at the keyboard. This issue lays out which is which, so the order and the exceptions can be decided.
Anchors are at main da3b98b730 (2026-10-13).
What the repo says today
- The 34 pages:
packages/shared/src/schemas/settings-kinds.ts:20-55. The kinds that cover pages:provider,provider-credential,governance(content models, policies and limits, security monitoring, guardrails, sandboxes, API models, enterprise SSO),knowledge-embedding,branding, plus project, task and approval kinds (13 kinds insettings-kinds.ts:124-). - Covered pages (10):
providers,sandboxes,governance/content-models,governance/policies-limits,governance/security-monitoring,governance/guardrails,api/models,enterprise-sso,data-residency,branding. - Not offered on purpose (2), with the reason written in the code:
api/mcp(it shows the endpoint itself) andapi/agents(an agent that could disconnect agents could cut off the people supervising it).services/platform/backend/domains/mcp/settings/coverage.ts. - Planned (22), each with the sentence the repo uses for what an agent cannot do there (
coverage.ts,SETTINGS_PLANNED). A test holds the settings rail to these lists, so a new page cannot ship without its MCP story. - The endpoint is at 39 tools, and a guard allows at most 40 because clients keep about that many (
services/platform/lib/mcp/tools.test.ts:548-558).
The 22 pages, by what the repo says is missing
| Kind of gap | Pages | What the entry says |
|---|---|---|
| Reads | usage, governance/logs, metrics/usage, metrics/feedback, metrics/chat-health, metrics/external-turns, metrics/automations, metrics/projects |
"No kind reads … yet" (a person's own usage and budget status, the audit log, each metrics figure set) |
| Changes without a secret | account (display name), personalization (custom instructions, chat model), notifications (preferences), organization (profile), teams, members (roles, removals, invitations), skills, governance/competences, governance/legal-hold, governance/data-subject-requests, governance/trash |
Some entries add what stays in Tale: deleting the organization, transferring ownership, passwords, passkeys and authenticators |
| Secrets involved | connectors (credentials, sign-in apps), api/rest (revoking API keys), api/webdav (revoking app passwords) |
The secret is entered or shown once in Tale |
The concept the design pass proposed for what needs a person
A single "agent request": an agent asks, a person finishes in Tale. One lifecycle (expiry, confirm as the confirming person, decline, notify, audit) and one polling tool. It would cover entering a secret, minting a credential, acts that need a fresh sign-in (deleting the organization, transferring ownership) and, later, subscriptions (#4931). It is not on main: agent_requests and get_agent_request appear only in a test that guards the server instructions (services/platform/lib/mcp/instructions.test.ts).
Options
- Page by page, plain kinds first. Reads, then the changes without a secret, leaving the pages with a secret as planned until the agent-request concept exists.
- Agent requests first, then the pages that need them.
- Keep some pages out on purpose, as
api/agentsis, where an agent changing the page would remove the person's own oversight (revoking API keys, ownership, legal hold are candidates). Decide per page whether "everything the role allows" includes them.
Constraints
- Every write checks the caller's live role and is audited with
via: mcp(feat(platform): read and change organization settings over MCP #4685); a scope never widens a role. - A coding agent signed in by OAuth holds
tale:settings.readortale:settings.writeonly if the person granted it at consent (services/platform/lib/shared/agent-access.ts). - The inventory has one slot left (39 of 40), so reads should be folded into existing tools or the limit revisited.
- Instructions and the skill name only tools that exist.
Questions
- Is "everything the role allows" still the target for all 22, or should some stay in Tale on purpose?
- Which pages do people most want an agent to set up first (organization, members, connectors)?
Activity
yannickmonney commentedon Nov 14, 2026
Decision
Rule: over MCP an agent may still change everything the signed-in person's role allows, on every page of Settings. A closed list of exceptions holds whatever the role. It applies act by act, on the pages already covered as well as the 22 new ones:
The list is closed. Automation-approval allowances (MCP-R38/R39) stay as they ship: a critical-risk change that an admin's agent may make.
api/mcpandapi/agentsstay not exposed.coverage.tsgainsSETTINGS_PERSON_ONLY. Over MCP such an act is refused withSETTINGS_TALE_ONLYand a hint to the page.Questions
get_report, which replacesget_automation_metrics(the count stays at 39).get_agent_requesttakes slot 40.apply_settingscreates an agent request by answeringneeds-personwith a confirm link.SETTINGS_TALE_ONLY.needs-persononprovider-credential, amending MCP-R36. A lane where the agent passes the credential would need Decision: should a coding agent be able to ask to add its own AI subscription over MCP, and what must be settled first? #4931 to amend MCP-R12 explicitly. Its legal and owner questions stay open there.Rationale
The real risks are a secret passing through an agent's conversation, account takeover, and a prompt-injected agent removing the people or the evidence that oversee it. Account takeover is reachable today through the SSO identity provider and the 2FA requirement on pages that are already covered, so the exceptions apply to every page. A closed list keeps the rule consistent with the approval allowances that already ship, and testable. Closing a matter or narrowing a hold is a release by another name. Acts that add protection stay open because their failure mode is safe. Only the requesting person may confirm an agent request, signed in within the last 10 minutes.
Agent-request lifecycle: pending; expires after 15 minutes; confirmed or declined by the requester only; admins notified; every step audited
via: mcp. The secret is never in the request, the audit row or a tool answer.Units (all on
main)SETTINGS_PERSON_ONLY(S)organization-profileandteamkinds (M)memberkind: roles up to developer, removing non-admins, invitations (M)get_reportreplacesget_automation_metrics, with data minimisation (L)skillandcompetencekinds (M)legal-matterkind (M)get_agent_request(L)connectorkind (M; needs 9)Cross-issue amendments (decisions taken together with #5411, #4931):