You are building an MCP server that sits between a user and a backend API. A user signs in, your server receives their token, and when the agent needs to call the backend, you do the quickest thing: you pass that same token along. It works. But you know what it means. The backend sees a valid bearer token for the user and nothing else. It cannot tell whether the user clicked a button or your agent decided to act. To the backend, the two are the same person.
On November 25, 2026, Amazon Cognito announced support for OAuth 2.0 token exchange, RFC 8693, and it speaks directly to your situation. The announcement states the old problem plainly: "Previously, a service that called another service on a user's behalf had to forward the user's original token or build and maintain its own token minting logic." Those were your two options. You were forwarding, or you were building your own minting code and keeping it running.
Here is what changes for you. Your service or agent can now trade the user's token for a new one scoped to a single downstream service. The exchanged token has a narrower scope, a single audience, and no refresh token. So the token you hand to the backend can do less than the one the user holds, and it is meant for one place only.
Then there is the part that matters most to you. If you include an actor token in the exchange, Cognito adds an act claim naming the intermediary. That is the piece that lets a downstream API tell "the user did this" apart from "an agent did this for the user." The post is blunt that most agent integrations can't do this today, because the agent holds the user's bearer token and is indistinguishable from the user. AWS's own example is yours: an MCP server exchanges a user's token for a narrowly scoped one to call a backend API, with itself recorded as the actor.
You can reach it through the token endpoint or through the new GetDerivedToken API, and it is available in every Region where Cognito runs. There is a catch you should check before you plan anything. It is offered on the Essentials and Plus feature plans only. If your team sits on the lower tier, you are still forwarding tokens, and the post says so directly.
Now the turn. The post does not stop at the announcement. It looks at what the APIs.io catalog holds on Cognito itself. The Amazon Cognito record lists 8 API pages. Token exchange belongs to the user-pool side, the Amazon Cognito Identity Provider API, which sits next to the Cognito Identity API that issues federated AWS credentials. The agentic access profile counts 155 operations, 124 of them acting and 5 human-in-the-loop. On the rating, Cognito scores 74.4, labeled exemplar, with access clarity at a perfect 100.0 and developer ergonomics at 82.9.
But Agent Readiness is 38.0. The delegated_identity signal was already lit, and this release strengthens it. Two signals stay unlit: protected_resource_metadata and dynamic_client_registration. Read that plainly, as the post does. Cognito can now issue tokens that say an agent is acting for a user, but an agent still can't discover a Cognito-protected resource or register itself as a client without a human configuring it first. In the post's words, AWS has shipped the delegation half and not yet the discovery half.
So here is what you take away. If you run an agent or MCP server in front of Cognito-protected APIs, you now have a supported way to stop forwarding the user's token, and a way to leave a record that you were the one acting. Check your plan tier first, because the feature depends on it. And do not expect the setup to disappear: someone still has to wire up your client and point it at the resource by hand, because the discovery pieces are not there yet.
Read the original: https://apis.io/2026/11/25/amazon-cognito-oauth-token-exchange/