part 5Security: the attack behind each rule·lesson 5.2 of 5·1 min read
Token reuse across servers: the audience
A token that is valid everywhere is a dangerous token. This lesson explains how an MCP server can reuse your access token against another server, and the two halves of the defense: the client sends resource (RFC 8707) so the token has an audience, and the MCP server checks that audience.
In this lesson
Explain how one server can reuse your token against another.
Describe the two halves of the defense, on the client and on the server.
Many servers, one authorization server
In MCP it is normal to connect many servers, some of them little-known third parties, that share the same authorization server (the company's SSO, for example). If every token from that AS is valid on every server, any server you connect to can act as you on all the others.
Every combination
Client sends resource
Server checks aud
Protected?
Yes
Yes
Yes
Yes
No
No: the token says "for evil", but nobody looks
No
Yes
Depends: without a concrete audience, a strict server will reject it (and nothing will work)
No
No
No
The signature tells you who issued the token; the audience tells you who it is for. Checking only the signature and the expiry is not enough. See lesson 3.7 for Resource Indicators and lesson 2.10 for how a resource server validates a token.
Summary
Signature = who issued it. Audience = who it is for.
The client sends resource; the server checks aud. Both are needed.
quiz · 2 questions
1. Your MCP server validates the signature and expiry but not the audience. What are you exposed to?
The signature says who issued the token, not who it is for.
2. The client sends resource correctly, but the MCP server never checks aud. Is the user protected?
Both halves are needed; an audience that nobody checks protects nothing.