MCP authorization: keep access tokens within their boundaries

A successful sign-in does not settle where an access token belongs. When an AI assistant connects to a remote tool, and that tool calls another API, there are two connections to authorize. Treating them as one makes it easy to forward a credential across a boundary it was never meant to cross.
MCP's authorization guidance addresses this directly: a server must validate that an incoming token was issued for its use, and it must not pass that token through to an upstream API. Understanding those requirements starts with separating the requested permission from the service allowed to accept it.
Scope describes access; audience identifies the recipient
In OAuth, scope and resource answer different questions. As RFC 8707 explains, scope typically describes what access a client requests. The resource identifies where that access will be used.
Consider a hypothetical document-search tool. A permission to search documents describes an operation. It does not, by itself, establish whether a token belongs at the MCP server or at the document API behind it. Both services might participate in a search workflow, but they are separate recipients.

The resource parameter lets the client tell the authorization server which service it intends to access. RFC 8707 says the authorization server should restrict the issued token's audience to the indicated resources. The recipient still needs to validate that restriction. Sending a resource indicator is not the same thing as checking the token later.
There is no universal requirement here to compare two raw strings. The RFC allows a resource value to map to a more general URI or an abstract audience identifier. It also discusses audience information in both JWT claims and token-introspection responses. Do not assume that every access token is a JWT.
Two connections need separate access tokens
The document-search example has a client, an MCP server and an upstream document API. The client calls the MCP server. The MCP server then calls the document API to fulfill the request. This is an illustration, not a tested integration.
For the first connection, the MCP authorization security specification requires clients to include resource in authorization and token requests. It also requires MCP servers to validate that presented tokens were specifically issued for their use. The specification qualifies audience-binding benefits with authorization-server support; a client parameter alone cannot establish the whole protection.
For the second connection, the MCP server may act as an OAuth client to the document API. The upstream authorization server issues a separate access token for that API. The specification explicitly prohibits forwarding the access token received from the MCP client.

That distinction should remain visible in an authorization review. Trace the incoming credential to the MCP server, then trace the separate upstream credential to the document API. A diagram with one token moving through every component obscures the separation the specification requires.
Why token passthrough is forbidden
MCP's security best practices describe token passthrough as an anti-pattern: a server accepts a token without verifying that it was issued for that server, then forwards it to a downstream API. The guidance lists risks including circumvented controls, confused accountability and audit trails, and broken trust boundaries.
A downstream API accepting the forwarded token would not prove that the MCP server handled authorization correctly. It would only show that the downstream API accepted that credential. The MCP server's own audience-validation requirement remains separate.
Nor is a token with many audiences an automatic solution. RFC 8707's security considerations explain that a bearer token valid at several recipients can be used by one recipient to access the others. That requires a high degree of trust among those recipients. The RFC encourages a single resource parameter when feasible.
The practical implication is to make each token's intended recipient explicit. Broadening the audience changes which services must trust one another; it should not be treated as a harmless convenience.
Consent must identify the requesting client
Audience validation does not answer whether a user approved a particular client. MCP's proxy security guidance describes a separate confused-deputy problem involving upstream consent.
The documented scenario has specific preconditions: a static upstream client ID, dynamically registered MCP clients, a third-party consent cookie, and missing per-client consent at the proxy. In that combination, an earlier upstream consent can be reused in a flow involving a malicious client without proper user approval. This is not a claim that every MCP proxy is vulnerable.

The prescribed protections include a per-user registry of approved client IDs, checked before starting the upstream authorization flow. The consent interface must identify the requesting client and show the requested third-party scopes and registered redirect URI. It must also implement CSRF and clickjacking defenses.
These controls address who received approval. Audience validation addresses which service may accept a token. A review needs both checks rather than treating either as a substitute for the other.
Review the boundaries before connecting the tool
PKCE belongs in this review too. The MCP authorization specification requires PKCE, verification of PKCE support, and S256 when technically capable. However, the separate mix-up attack guidance explicitly says PKCE alone does not prevent that attack. Code-exchange protection does not replace audience checks or client-specific consent.
For a remote MCP integration, use the requirements to organize a focused review:
- Check that authorization and token requests identify the target resource.
- Confirm that the MCP server validates incoming tokens as issued for its use.
- Trace a separate upstream access token rather than forwarding the client's token.
- Check that proxy consent records approval for the requesting client, not just the user.
- Review PKCE and the other authorization-flow protections independently.
These are specification-based review points, not evidence that a deployed server implements them correctly. They also do not establish protection against prompt injection or unauthorized business actions.
Before connecting an authenticated tool, draw its request path and mark each authorization boundary. For every connection, record the intended token recipient and the approval it depends on. If the drawing relies on one credential or one remembered consent covering everything, resolve that assumption before proceeding.
Sources
- Authorization Security Considerations · Model Context Protocol
- Security Best Practices · Model Context Protocol
- RFC 8707: Resource Indicators for OAuth 2.0 · RFC Editor / IETF

