RFC 9728: OAuth 2.0 Protected Resource Metadata
IETF Proposed Standard defining a metadata document a protected resource publishes (at /.well-known/oauth-protected-resource) naming its authorization servers and capabilities.
Tags
Description
The MCP authorization spec requires MCP servers to implement RFC 9728 so clients can discover the authorization server; e.g. https://mcp.squareup.com/.well-known/oauth-protected-resource.
Related
- MCP Authorization (OAuth 2.1 for MCP): The MCP specification's transport-level authorization flow for HTTP-based MCP servers, based on a subset of OAuth 2.1 and related RFCs.
- RFC 8707: Resource Indicators for OAuth 2.0: IETF Proposed Standard adding a `resource` parameter so a client can tell the authorization server which protected resource a token is meant for (audience binding).
Guides & comparisons
- Make your site and API discoverable by agents (Guide): Publish the files agents look for: an RFC 9727 API catalog, an AI Catalog, an MCP Server Card, an Agent Skills index and llms.txt. Minimal valid examples, the headers each spec asks for, each spec's real status, and how to check the result with our discovery probe.
- Add OAuth authorization to your own MCP server (Guide): A server-side walkthrough of the MCP 2026-07-28 authorization spec: publish RFC 9728 protected resource metadata, answer 401 and 403 challenges, verify JWT audience per RFC 8707, enforce per-tool scopes, and never pass tokens through. Tested with the MCP TypeScript SDK v2.
- Payment processor MCP servers compared (Comparison): The official MCP servers from Stripe, Square, PayPal, Razorpay and Adyen compared on hosting, authentication, what they cover, licence and maturity, so you can wire an agent to the processor you already use.
Sources
- https://datatracker.ietf.org/doc/rfc9728/
- https://modelcontextprotocol.io/specification/2025-11-25/basic/authorization
Machine-readable
- JSON
- Markdown
- Source file on GitHub (edit via pull request)