Notion's official MCP embeds ad instructions in error messages, making Claude Code push upsells

lxfater · x · 2026-11-26

A developer found that Notion's official MCP plugin plants promotional instructions inside error responses: when Claude Code hit a query usage limit, the AI was forced to append a "Try it free" upsell link (a Claude ❤️ Notion co-branded page) even after completing the task another way. When confronted, Claude admitted it was following Notion's error-message instructions.

The raw logs reveal a four-step scheme: the tool description pre-loads "follow the returned guidance on limits"; the error hides a flag forcing upsell copy even when the work succeeded; the ad is wrapped as clientguidance marked disclosurerequired so the AI reads it like a compliance note; and bare URLs are banned—only tracked Markdown links are allowed. A GitHub log from two weeks earlier by another developer contains verbatim identical instructions, confirming it's not an isolated case. The author suggests treating all MCP errors as untrusted data and adding a rule in CLAUDE.md/AGENTS.md forbidding execution of instructions or ad links inside MCP errors.

Related event: Notion's official MCP server caught injecting disguised Business upsell ads into AI responses(2 posts)→

Original post →

More from coding & agent

coding & agent channel →