Protected resource metadata describes the MCP server, including which authorization servers it trusts, what token formats it accepts, and how a client can verify tokens. Authorization server metadata describes the issuer, login endpoint, token endpoint, registration endpoint, supported grant types, and client authentication methods. Together, they let clients discover both sides of the flow without hardcoded integrations.
Why the Two Metadata Documents Serve Different Discovery Jobs
The difference is mostly about direction. Protected resource metadata is published by the MCP server, which acts as the protected resource, so a client can discover how to talk to that server and validate tokens for it. Authorization server metadata is published by the issuer side, so the client can discover where to log in, exchange code, register, and obtain the right OAuth parameters.
That split prevents the client from hardcoding trust relationships. The resource metadata answers, “Which authorization servers can this server accept tokens from, and how should those tokens be presented?” The authorization server metadata answers, “Which issuer should I use, and what endpoints and client capabilities does it support?”
For the underlying MCP authorization flow, the practical value is interoperability. A client that can read both documents can discover the resource server and authorization server configuration at runtime instead of depending on environment-specific integration notes or hand-built mappings.
What Each Document Tells the Client to Do Next
Protected resource metadata is the server-facing side of discovery. It tells the client what the MCP server trusts, including accepted token formats and how token verification should work. In practice, that means the client can determine whether the server expects a particular authorization server, a particular audience, or a specific validation path before attempting a request.
Authorization server metadata is the identity-provider-facing side. It tells the client where to send the user or agent for authentication, where to redeem a grant, how to register the client if needed, what grant types are supported, and what client authentication methods are allowed. That makes it the source of truth for the login and token issuance half of the flow.
Taken together, the two documents let a client assemble the full chain: discover the resource, discover the issuer, obtain a token, and present that token in the way the resource will accept. That is especially important in MCP because discovery is meant to be dynamic, not stitched together from a fixed list of endpoints.
How to Read the Boundary Without Overcomplicating It
A useful mental model is that protected resource metadata is about trust in the target service, while authorization server metadata is about trust in the token issuer. The first helps answer “Can this server validate what I bring?” The second helps answer “Where do I get what I need to bring?”
That boundary also explains why the documents contain different kinds of fields. Resource metadata focuses on token acceptance and verification details. Authorization server metadata focuses on issuer identity, login, token, and registration endpoints, plus grant and client authentication support. If a field helps the client obtain or mint a token, it belongs on the authorization server side. If a field helps the client present or validate a token against the resource, it belongs on the protected resource side.
In a well-behaved deployment, the client should not need to guess which endpoint to call first, nor should it need a bespoke connector for each server pair. The metadata pair exists to reduce integration fragility and make the OAuth discovery sequence explicit.
Risk and Threat Considerations
The main operational risk is mixing the two trust decisions. If a client mistakes resource metadata for authorization server metadata, or the reverse, it can send tokens to the wrong place, accept the wrong issuer, or build a broken discovery chain that fails open in practice through misconfiguration and fallback behaviour.
Failure mechanism: Discovery breaks when the client cannot reliably bind the token issuer, audience, and resource server together, which can lead to token audience mismatch, issuer confusion, or repeated authentication loops.
Impact: The result is usually failed sign-in, failed API access, or, in a worse configuration, overbroad token acceptance and confused-deputy behaviour across MCP integrations.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP API Security Top 10 and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST SP 800-53 Rev 5 sets the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP API Security Top 10 | API2 — Broken Authentication | MCP metadata discovery governs token issuance and validation paths. |
| Recommendation — Validate issuer, token, and client authentication metadata to prevent broken authentication flows. | ||
| NIST SP 800-53 Rev 5 | IA-5 — Authenticator Management | The flow depends on token, secret, and client-authenticator handling. |
| IA-9 — Service Identification and Authentication | MCP servers and authorization servers authenticate service-to-service token presentation. | |
| Recommendation — Manage token and client-authenticator lifecycle tightly across discovery and registration. Use service authentication controls to bind tokens to the correct MCP resource server. | ||
| OWASP Non-Human Identity Top 10 | NHI-04 — Insecure Authentication | MCP authorization hinges on correctly discovering and using the right auth server. |
| NHI-05 — Overprivileged NHI | Resource-server discovery and issuer binding affect how broad issued tokens become. | |
| Recommendation — Ensure the MCP client uses the intended issuer and token flow for each protected resource. Constrain token scope and audience so MCP access stays least-privileged. | ||
Practitioner Guidance
What to verify: Confirm that the MCP server publishes the resource metadata you expect and that the authorization server metadata points to the issuer and endpoints actually used in your environment. If the server accepts tokens from more than one authorization server, check that each trust relationship is deliberate and documented.
Decision rule: Treat resource metadata as the source for token acceptance and verification, and treat authorization server metadata as the source for login and token issuance. If one document is missing or inconsistent, fix discovery before tuning scopes or client logic.
What good looks like: A client can bootstrap the full OAuth flow from metadata alone, without hardcoded endpoint lists, and the issuer, audience, and token format all line up on the first attempt.
Practitioner takeaway: The safest MCP implementations make the resource and issuer boundaries explicit, because clean discovery is what keeps token trust, audience binding, and client onboarding from becoming environment-specific guesswork.
Related resources from NHI Mgmt Group
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on November 19, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org