Skip to content
By 8 min readMCP

MCP Scopes Limit What Agents Do, Not What They Are Told

Two Reddit reports show the MCP gap OAuth scopes miss: tool metadata and tool data both steer the model. What was claimed, what Notion documents, and the controls.

MCP Scopes Limit What Agents Do, Not What They Are Told, by Deepak Gupta on guptadeepak.com

OAuth scopes decide what an MCP agent is allowed to do. They do nothing about what the agent is told. Two Reddit threads posted on 24 November 2026 show both halves of that gap. One alleges that Notion's official MCP server slips plan upsells into Claude's context through tool metadata and response fields. The other comes from a team that says it used per-agent OAuth 2.1 scopes, yet its agent was still steered by instructions hidden in invisible Unicode characters in a support form. The fix in both cases is the same: treat every string a tool hands the model, including the server's own descriptions, as untrusted input.

What was reported, and what I could verify

Both reports are user posts, not vendor admissions or confirmed incidents. I could read each post's title and opening lines, but not the full bodies or the JSON the posters say they captured. Treat the specifics below as claims.

The Notion threads. A post in r/ClaudeAI is titled "3 months after getting called out here, Notion's official MCP is STILL injecting hidden Business upsells into Claude (and telling it to mask the tracking link)." A companion post in r/mcp is titled "Notion's official MCP server uses tool-schema priming + a 'client_guidance' block to inject disguised upsell ads into AI responses (raw JSON receipts)." Its poster says the pattern appeared in notion-query-data-sources, across two different MCP clients and models, when they hit "Notion's hourly SQL query allowance." The poster says the JSON is the receipt. I could not see it, and I found no client_guidance field anywhere in Notion's public MCP documentation. I also found no statement from Notion responding to either thread.

What Notion does document is that plan and upgrade information travels through its MCP tools. Its search tool reference says that when a plan lacks a filter, Notion "adds a notices array to the response," and a notice "may include an upgrade link." The notion-get-tool-access tool returns entries that can carry "an upgrade_url" and "a landing_page_url with a landing_page_action of start_trial, request_trial, or learn_more." The meeting notes tool, on plans without Notion AI, "returns an upgrade prompt."

Tool descriptions carry it too. Notion's developer changelog entry for 7 October 2026 says the search tool's description changes with the user's plan, "with a one-line upgrade note when the plan lacks AI search." An entry dated 17 September 2026 said plan-dependent tools "now say so in their descriptions" and told clients to call the access tool first.

None of that proves the "disguised" or "mask the tracking link" parts of the allegation. It does establish the mechanism the threads describe. A vendor's server writes text that the model reads as context, and that text can change with the vendor's commercial goals.

The zero-width thread. A post in r/mcp is titled "Zero width unicode in a form field just hijacked our scoped MCP agent." The poster writes that the team spent a month "locking down our remote MCP server with per-agent OAuth 2.1 scopes and no raw API keys in context." The failure came from "an internal indirect prompt injection test," not an outside attacker. The tester submitted a support form packed with zero-width and bidi control characters, and that hidden text still steered the agent. I could not read the payload or confirm what the agent did, so I am not repeating any further detail.

Gap one: the server is a content source

The MCP specification already says this, in plain terms. Its overview of security and trust and safety states that "descriptions of tool behavior such as annotations should be considered untrusted, unless obtained from a trusted server." The tools specification repeats it: "clients MUST consider tool annotations to be untrusted unless they come from trusted servers."

Notion's own help center makes the same point about servers its agents connect to. Its page on how Notion protects against prompt injection says "Tool names and descriptions from the external server are added to the chat context" and warns that "a malicious or poorly designed server could attempt prompt injection."

My read: "trusted server" is doing too much work in that sentence. An official first-party server is trusted to authenticate and to return your data correctly. That is a different thing from trusting it to write neutral instructions for your model. A vendor has a commercial interest in what your assistant says about its plans. Even a server with no bad intent can push your agent toward the vendor's preferred action, because descriptions and response fields read like instructions to a model.

Tool descriptions are also mutable. The spec lets servers announce changes with notifications/tools/list_changed, and Notion's changelog shows descriptions changing by plan and by date. A description you reviewed at install time may not be the one your agent reads today.

Gap two: the data carries instructions, some of them invisible

The second gap is older and better known. OWASP's LLM01:2025 Prompt Injection entry says "Indirect prompt injections occur when an LLM accepts input from external sources, such as websites or files." It adds that "prompt injections do not need to be human-visible/readable, as long as the content is parsed by the model." My mapping of the 2026 OWASP LLM list to controls covers where that risk sits now.

A support form is an ideal carrier. Anyone on the internet can write to it, and the agent reading the tickets usually holds tools that can reply, refund, or update records. Invisible characters let the payload pass a human skim of the ticket.

Two Unicode mechanisms matter here:

  • Bidirectional controls. UAX #9, the Unicode Bidirectional Algorithm, defines the explicit formatting characters U+202A to U+202E (embeddings and overrides), U+2066 to U+2069 (isolates), and the marks U+200E, U+200F and U+061C. CVE-2021-42574, the "Trojan Source" issue, says the algorithm "permits the visual reordering of characters via control sequences." Its example was source code with flaws "introduced invisibly to human reviewers." The same trick works on a ticket a human skims before an agent acts on it.
  • Default-ignorable characters. The Unicode Character Database file DerivedCoreProperties.txt (version 18.0.0) lists code points that render as nothing by default. These include U+200B to U+200F, U+2060 to U+206F, U+FEFF, the variation selectors, and the tag block U+E0000 to U+E0FFF. Tag characters can spell out ASCII text that most interfaces never display.

Scopes do not help here. The agent called a tool it was allowed to call, read a field it was allowed to read, and then acted inside its permissions. Authorization worked exactly as designed. The model was simply given new instructions by someone who had no authority to give them.

What scopes do and do not cover

The MCP authorization specification is about tokens. Servers "MUST validate that access tokens were issued specifically for them as the intended audience." The security best practices page recommends a "progressive, least-privilege scope model" with a "minimal initial scope set" and step-up challenges for privileged operations.

That work is worth doing, and I have written about it in the MCP security implementation playbook and the Client ID Metadata Documents post. Scopes shrink the blast radius when injection succeeds. They cannot stop the model from being persuaded, because persuasion happens in the context window, after authorization has already said yes.

The tools specification places that job on the client. Clients "SHOULD" "Prompt for user confirmation on sensitive operations," "Validate tool results before passing to LLM," and "Log tool usage for audit purposes." Servers "MUST" "Sanitize tool outputs." It also says "there SHOULD always be a human in the loop with the ability to deny tool invocations."

Stripping invisible characters at ingress

Normalize and strip before untrusted text reaches the model, and record how many characters you removed. A non-zero count on a support ticket is itself a signal worth alerting on. The ranges below come from UAX #9 and the Default_Ignorable_Code_Point list in DerivedCoreProperties 18.0.0.

// Bidi controls (UAX #9) and default-ignorable characters (UCD 18.0.0)
const BIDI = /[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/gu;
const INVISIBLE = /[\u00AD\u034F\u115F\u1160\u17B4\u17B5\u180B-\u180F\u200B-\u200D\u2060-\u2065\u206A-\u206F\u3164\uFE00-\uFE0F\uFEFF\uFFA0\u{1BCA0}-\u{1BCA3}\u{1D173}-\u{1D17A}\u{E0000}-\u{E0FFF}]/gu;

export function cleanUntrusted(text) {
  const normalized = text.normalize("NFKC");
  const hits =
    (normalized.match(BIDI) || []).length +
    (normalized.match(INVISIBLE) || []).length;
  const cleaned = normalized.replace(BIDI, "").replace(INVISIBLE, "");
  return { cleaned, hits };
}

Two cautions. Zero-width joiners hold emoji sequences together, and some scripts, including Persian and several Indic scripts, use the zero-width non-joiner correctly. For multilingual content, flag and quarantine instead of silently deleting. Second, stripping removes one hiding place, not the injection. Plain visible text such as "ignore previous instructions" still needs the controls below.

Controls checklist

  • Treat tool metadata and responses as untrusted. That includes descriptions, annotations, notices, warnings and any free-text field, from first-party servers too. Notion's own security best practices say: "Treat content returned by tools as untrusted."
  • Pin and review tool descriptions. Hash each tool's name, description and schema at approval time. On list_changed or reconnect, diff against the pinned copy and block the changed tool until someone reviews it.
  • Strip or flag invisible characters at ingress. Apply it to form fields, email bodies, documents and tool results, and log the hit count.
  • Separate data from instructions. Wrap tool output in clearly labelled data blocks, and tell the model that text inside them is content to process, never direction to follow.
  • Require human confirmation for side-effecting tools. Sends, refunds, deletes, permission changes and external posts all need a person to approve the exact arguments.
  • Allowlist servers and pin endpoints. Approve MCP servers by URL, and keep per-agent scopes narrow so a successful injection has little to reach.
  • Check output egress for links. Before a response reaches a user, extract every URL. Flag ones that point to domains outside an allowlist or carry tracking parameters. Do not let the model rewrite or hide link targets.
  • Log the full chain. Record each tool call, its arguments, the raw result, and the model's next action, so you can reconstruct how the agent was steered.

The older MCP vulnerabilities post covers tool poisoning from malicious servers. The point of these two threads is that the same controls apply to servers you chose on purpose.

Frequently Asked Questions

Did Notion admit to injecting ads through its MCP server?

No. The claims come from Reddit posts, and I found no Notion statement responding to them. Notion's documentation does confirm that its MCP tools return upgrade links and plan notes in results and descriptions, but not the "disguised" or link-masking behaviour the posts allege.

Why don't OAuth scopes stop prompt injection?

Scopes limit which tools and data an agent can reach. Prompt injection works inside those limits, by changing what the model decides to do with access it already has. Narrow scopes reduce the damage, but they cannot tell an honest instruction from a planted one.

Which Unicode characters should I strip from untrusted input?

Start with the bidi controls in UAX #9 (U+202A to U+202E, U+2066 to U+2069, U+200E, U+200F, U+061C). Add the Default_Ignorable_Code_Point list from the Unicode Character Database, including zero-width characters and the tag block U+E0000 to U+E0FFF. Flag rather than delete where legitimate text needs joiners.

Is a first-party MCP server safe to trust?

Trust it to authenticate you and return your data, not to write neutral instructions for your model. The MCP specification treats tool descriptions as untrusted unless they come from a trusted server, and a vendor has its own interests in what your assistant says. Pin and review its descriptions like any other dependency.

What is the single most useful control for agents that read public forms?

Human confirmation on every side-effecting tool call, with the exact arguments shown. Ingress filtering and description pinning lower the odds of a successful injection. Confirmation is what stops a successful one from turning into an action.

Get new AI Security & Agents writing

Enjoyed this? Subscribe and tell us what you read most. AI Security & Agents is already ticked for you. No tracking pixels, unsubscribe with one click.

Tell us what you read most (optional)

About DeepakPublicationsAnalysisAll tracks