protected resource metadata
A JSON document, defined in RFC 9728, in which an OAuth-protected server names its authorisation servers and supported scopes.
In more detail
An MCP server points to it from the WWW-Authenticate header of a 401, so a client can find where to get a token without prior setup. It is served at a well-known address on the server.
Related terms
- MCP authorisation — The part of the MCP specification that protects remote servers with OAuth: the server acts as a resource server and accepts only bearer tokens issued for it.
- OAuth 2.0 — A framework for delegated authorization: a user lets an application call an API on their behalf without giving it their password.
- authorization server — In OAuth, the service that authenticates the resource owner, asks for consent and issues tokens.
Taught in
- Remote Servers And Trust — AI Engineering: LLM Apps, RAG & Agents