Skip to content

Your MCP server accepts the access token a client sends and forwards it unchanged to a downstream API. What is wrong with that?

Short answer

This is 'token passthrough', an explicit anti-pattern in the MCP security guidance. The server must not accept any token that was not issued for the MCP server itself. Passing foreign tokens downstream circumvents controls tied to the token audience (rate limiting, validation, monitoring), blurs the audit trail because logs show a different identity, breaks trust boundaries, and lets a stolen token use the server as a proxy for exfiltration.

An agent platform team shows you an MCP server that simply relays whatever bearer token it receives to a third-party API. It works, so why is it a finding?

The anti-pattern

The MCP security best-practices document defines token passthrough as an anti-pattern where an MCP server accepts tokens from a client without validating that they were issued to the MCP server and passes them through to the downstream API. The guidance says it is explicitly forbidden by the authorization specification, and the mitigation is blunt: MCP servers must not accept any tokens that were not explicitly issued for the MCP server.

The risks the document lists

  • Security-control circumvention. Rate limiting, request validation and monitoring may depend on the token audience or other constraints. If tokens are used without proper validation, those controls are bypassed.
  • Accountability and audit. The MCP server cannot tell clients apart when they bring an upstream-issued token, and the downstream logs may show a different identity than the server actually forwarding the request. That makes investigations and auditing harder.
  • Stolen-token proxying. If the server forwards tokens without checking claims such as roles or audience, an attacker holding a stolen token can use the server as a proxy for data exfiltration.
  • Trust boundaries. The downstream resource server trusts specific entities; a token accepted by several services without validation lets a compromise of one reach the others.
  • Future compatibility. Even a 'pure proxy' may need security controls later; audience separation from day one makes that easier.

Why the distractors are tempting

TLS protects the token in transit but does nothing about whose token it is or who may use it. "Only latency" misses that validation is the control. "Required by the specification" is the opposite of the truth.

What interviewers want

Name the anti-pattern, state the rule (accept only tokens issued for your server), and walk through at least two consequences — audit confusion and control bypass — rather than reciting 'it is insecure'.

Likely follow-ups

  • How should the MCP server obtain a token for the downstream API instead?
  • How does token passthrough differ from the confused deputy problem in MCP proxy servers?
  • What claims would you validate on an incoming token, and why does the audience matter?

Sources

Get 100 cybersecurity interview questions + answers

Drop your email and we'll send you the free PDF pack and the flashcard deck.

No spam. Unsubscribe anytime.