MCP Server Security

Protected resource metadata: definition and example

Protected resource metadata is a document defined in RFC 9728 that a protected server publishes to describe itself, including which authorization servers it trusts. In MCP, a client reads it to find where to sign in. Because the server supplies the URLs, a client should treat them as untrusted input.

Facts read on .

Example

The spec requires the metadata document returned by an MCP server to include the authorization_servers field with at least one authorization server.

Sources