Glossary auth/

What is token passthrough in MCP?

Token passthrough is an anti-pattern in which an MCP server accepts a client's token without checking that it was issued for that server and forwards it unchanged to a downstream API.

Published
Read
1 min
Source
Markdown
# 1. The client sends a token whose audience is the downstream API, not the MCP server
POST /mcp HTTP/1.1
Host: mcp.example.com
Authorization: Bearer <token, aud=https://api.example.com>

# 2. Passthrough: the server skips the audience check and forwards it unchanged
GET /v1/issues HTTP/1.1
Host: api.example.com
Authorization: Bearer <token, aud=https://api.example.com>

MCP’s security best practices describe two failures that travel together here. The server never checks the token’s audience, so it accepts a token meant for another service. Then it forwards that token, and the downstream API may trust it as if the MCP server had validated it.

The authorization spec (version 2026-07-28) shuts both doors. A server MUST check that each token was issued specifically for it, and it “MUST NOT accept or transit any other tokens.” Step 1 above should end in a 401.

The listed risks: audience-based controls such as rate limits get bypassed, the server can’t tell clients apart, downstream logs show the wrong identity, and a stolen token can be replayed through the server. The fix is a separate credential for the downstream call, obtained by the server for that API, for example through its own OAuth flow or an RFC 8693 token exchange.

See also: Per-user OAuth · OAuth 2.1 · Why MCP servers must not forward client tokens · MCP authorization step by step

Audit log, MCP gateway, OAuth 2.1, Per-user OAuth

Guides that cover Token passthrough

Sources

  1. Security Best Practices (version 2026-07-28)Model Context Protocol modelcontextprotocol.io
  2. Authorization (MCP specification version 2026-07-28)Model Context Protocol modelcontextprotocol.io
  3. RFC 8693: OAuth 2.0 Token ExchangeIETF, 2020-01 datatracker.ietf.org

Changelog

  • First published.

Cite this page

Agents for Devs. "What is token passthrough in MCP?." Published Dec 6, 2026. https://agentsfordevs.com/glossary/token-passthrough
Cite one section