disclosure_not_granted
The grant allows only sealed delivery. The request would let code the agent controls read the value (run_with with env or files, cli_login, sign_in, fill_totp), and…
Refused by policy MCP sends it with isError: true.
What it means
The request would let code the agent controls read the value (run_with with env or files, cli_login, sign_in, fill_totp), and the grant does not allow disclosure.
What the agent should do
Use sealed delivery where this intent has it. Otherwise stop and tell the person: this needs a grant that allows disclosure, which is theirs to decide.
What the person should do
Decide whether this agent may read this secret. If yes, grant it with --allow-disclosure; the approval sheet labels it "this agent can read this secret".
Which intents return it
How it looks
{
"structuredContent": {
"outcome": "disclosure_not_granted"
},
"isError": true
}
Intent-specific fields come alongside it when the intent has them.
Related outcomes
grant_expired: The grant has endedscope_denied: Outside what any grant allowsnot_rotated: The rotation ended without a changeminting_blocked: The endpoint creates a credentialbudget_exhausted: The grant use budget is spentrate_limited: The grant rate limit is spent- All outcomes and Typed outcomes and errors