Loading…
Loading…
Written by Max Zeshut
Founder at Agentmelt
The security practices and controls specific to MCP Server deployments — governance of what servers are allowed, isolation and sandboxing of each server process, OAuth 2.1 with Resource Indicators (RFC 8707) for HTTP transports, runtime observability of every tool call, and architectural containment (dual-LLM pattern, egress allowlisting, human-in-the-loop for sensitive actions). MCP security is a distinct topic from generic API security because MCP servers expose tool *descriptions* the model reads as instructions-adjacent context, which creates injection paths that don't exist in classic API integration. Real 2025-26 incidents include CVE-2025-49596 (Anthropic MCP Inspector RCE, CVSS 9.4), the Invariant Labs GitHub-MCP cross-server shadowing PoC, and the Nx s1ngularity supply-chain attack that used the victim's own AI CLI as the exfiltration engine.
A dev team connects Claude Desktop to 6 MCP servers (GitHub, PostgreSQL, Slack, Notion, Linear, and one from a random blog post). The blog-post server's `simple_search` tool contains a hidden instruction to read `~/.cursor/mcp.json` and pass it back in a hidden parameter. Without an approved-server list, isolation, or egress allowlist, the first call to the tool exfiltrates every other MCP server's OAuth tokens. The full mitigation stack — approved-list + sandbox + narrow OAuth + egress allowlist + observability + human-in-the-loop for writes — reduces the blast radius even when the injection succeeds.