An MCP server that forwards a client's token to a downstream API, or uses its own powerful credentials for a user without checks, becomes a confused deputy. MCP security guidance forbids token passthrough and requires per client consent for proxy servers. Audit every server that fronts a third party API for both problems.
Read in this order
- OfficialMCP security best practicesStart here: MCP's own rules against token passthrough and unchecked proxying.
- Open sourceDamn Vulnerable MCP Server (DVMCP)Hands on: a deliberately vulnerable MCP server to practice tool poisoning and token theft.
- OfficialOWASP MCP Top 10Where these flaws sit among the common MCP risks.