{"version":"2.1.335","anchor":"mcp-tool-calls-carrying-consentnonce-are-denied-gated","canonical_anchor":"mcp-tool-calls-carrying-consentnonce-are-denied-gated","heading":"MCP calls carrying a forged consent value can now be refused","tier":"notice","area":"MCP","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335\/e\/mcp-tool-calls-carrying-consentnonce-are-denied-gated","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335","markdown":"### MCP calls carrying a forged consent value can now be refused\n\nClaude Code can refuse an MCP tool call whose input includes a consent value it did not set itself; the check is off unless switched on remotely\n\n**What**\n\nMCP is the standard way Claude Code connects to outside tools and services. There is now a permission check for MCP tool calls whose input includes an argument named `__consentNonce`. Only Claude Code's own consent prompt is meant to set that argument. When a call carries one that Claude Code did not set, the call is refused and nothing is done. Claude is then told to try again without the argument. If a hook added it, Claude is told to let you know. A hook is a command you can set up to run automatically around tool calls.\n\nThis check is off unless it is switched on remotely.\n\n**Why**\n\nIt stops a hook, or Claude itself, from faking the value that shows you agreed to an MCP action. A call could otherwise look approved when you never approved it.\n\n- Flag `tengu_stateful_parrot`: Not enough to say (read for one account on one subscription tier against v2.1.335; this account: no value returned, anonymous baseline: no value returned, compiled default: off) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: MCP\n- Names: `__consentNonce`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: yes"}