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.
More from coding & agent
- Skip intermediate artifacts when building with AI and quality will suffer — hugobowne · 2026-11-26
- Pure-code video face-off: Opus at ~$6 is fast but rough, Fable at ~$20 is coherent — FinanceYF5 · 2026-11-26
- Kent C. Dodds: software factories aren't new — the factory workers are now agents — thursdai_pod · 2026-11-26
- Coupa's Navi agent ran $20.1M in payments over five weeks for ~$27 in AI credits — shashib · 2026-11-26
- Hack Yourself First: Using AI Agents and Cloudflare's Free Audit Skill to Find Bugs Before Attackers Do — Cole Medin · 2026-11-26
- $40K/month can still bankrupt you: don't take custom AI builds you've never shipped — aryanXmahajan · 2026-11-26