MCP Colors: Systematically deal with prompt injection risk
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
Tim Kellogg proposes a two-color red/blue scheme for labeling MCP tools to keep untrusted data and critical actions apart, which practitioners could adopt now but with no tooling or standard.
Security researcher Tim Kellogg proposes color-coding AI agent tools to reduce prompt injection risk, a problem where malicious instructions hidden in data trick the AI. Tools would be labeled 'red' if they feed the AI untrusted data, or 'blue' if they perform critical actions an attacker shouldn't trigger. The AI would then avoid ever using red and blue tools in the same session. Kellogg labeled about 200 of his own tools this way, using an AI to help.
Tim Kellogg's 'MCP Colors' proposal offers a simple red/blue risk taxonomy for tools used by AI agents, which could reduce the business risk of prompt injection attacks without new software purchases. Implementing it means auditing every tool an agent can touch; Kellogg labeled roughly 200 tools using an AI assistant in a spreadsheet. The scheme is a proposal, not a standard, so it carries no vendor cost but does carry audit effort.
Kellogg's scheme classifies each MCP tool or resource as 'red' (exposes the agent to untrusted instructions) or 'blue' (a critical action you would not want an attacker to trigger). For MCP tools, colors are stored in the _meta object, and the agent checks at runtime whether it has entered an unsafe red-plus-blue state. He labeled ~200 tools with an LLM-assisted spreadsheet to refine his red/blue criteria. The article includes no benchmarks or adoption data.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
MCP Colors Model Context Protocol Tim Kellogg Simon Willison
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Speculative Decoding Makes Tool Calls Faster. Agents Need a Cache.
Speed improvements in speculative decoding mean agents can execute tool calls faster, reducing latency for real-time applications.
Let Claude Code or any agent tap, type, and read your real phone
Agents can now close the mobile testing gap by driving and reading a real phone themselves, with nothing installed on the device.
System-wide ad-blocking that catches trackers browser extensions can't
Desktop apps and OS components can now be ad-blocked system-wide, not just browser traffic, closing a privacy gap browser extensions cannot reach.
n8n's open source personal agent runs on your machine and asks before it acts
Developers uneasy about cloud-based AI agents get a local, approval-gated alternative they can download today, though its research-preview status limits real reliance.
A flight recorder for AI agents that even auditors can verify offline
Teams running AI agents on production systems get tamper-evident, auditor-verifiable records of every tool call instead of logs the agent could rewrite.