← All guides

What Is OAuth Protected-Resource Discovery on an MCP Server?

Published November 14, 2026 · Reviewed November 14, 2026 · Ingenious AI team

The short answer: It is the standardised way an MCP server announces 'I do authentication, and here is how'. OAuth protected-resource discovery is a small public document — served at a well-known address on the host — that names the authorisation server a client should talk to in order to obtain credentials for the protected resource. HomeShield's probe reads it as part of its path sweep: the discovery document is one of the per-path signals in your report, and its presence alongside an authentication demand is the signature of a server whose COVERED grade rests on a real credential system rather than a proxy's password. Paste your endpoint into the free check and look for the discovery line in the sweep results.

Check my endpoint now — free

What is a protected resource, in this vocabulary?

In OAuth language, the protected resource is the thing credentials guard — here, your MCP server. The discovery document (formally, the OAuth Protected Resource Metadata) is the resource's public notice: it identifies the resource and lists the authorisation servers that can issue tokens for it. Clients read it to learn where to authenticate before calling.

Why the probe bothers to read a metadata document

Because it distinguishes two kinds of COVERED. A server behind a household reverse proxy is covered by a password at the gate — legitimate, and graded COVERED. A server implementing MCP's authorisation pattern is covered by a token system: it refuses unauthenticated callers and publishes, in the discovery document, where a client goes to become authenticated. Both are covered; they differ in machinery, in how additional clients get access, and in what a household must maintain. The report shows you which kind you have, which matters the day you add a second client or a second household member's access.

The document is public by design — reading it is within the probe's read-only discipline, like reading a certificate. Its contents are a declaration, and like all declarations in this series, the probe verifies the behaviour behind it: the endpoint's actual response to an unauthenticated caller is still what decides the verdict.

What presence and absence each mean

Present, with the endpoint demanding authentication: the textbook posture for a standards-based MCP deployment. A client that has never met your server can discover where to authenticate, obtain a token through that flow, and call — while strangers without tokens are refused. Present, but with the endpoint still answering MCP openly: a contradiction worth investigating — metadata describing a lock while the door stands open, usually a half-finished auth rollout, which the verdict will grade by the open behaviour. Absent: the common household case. Most home servers use a proxy password, a private route, or nothing — absence is not a failing grade, it is a description of which authentication family you are (not) in.

Read the line, therefore, as inventory rather than judgement — unless you believed you had deployed OAuth, in which case absence is the finding: the rollout did not reach the running server, and the companion's census plus your deployment notes will show where it stopped.

Should a household adopt OAuth for its home server?

For most households, the honest answer is: not yet, and not for its own sake. A proxy password or an edge access policy plus a narrow bind covers the household's real threat model with machinery the household can understand at midnight. OAuth's strengths — per-client credentials, scoped tokens, revocation, a standard discovery flow — pay off when several clients and several people share a server, when a client application expects the standard flow, or when the server is a semi-public service rather than a family appliance.

If your setup is growing toward that shape — a small team's shared server is the common case, and HomeShield's Team plan exists in that neighbourhood — the discovery document is the milestone that says the migration landed. Until then, file this guide's line in your report as a known-absent, and let the authentication guide's simpler layers carry the weight.

Security notes on the document itself

The discovery document names your authorisation server — public information, offered deliberately, but worth choosing consciously: it tells the world which identity machinery guards you. Keep the authorisation server itself patched and its own exposure posture checked with the same routine you apply to the MCP endpoint; a token system is only as strong as its issuer. And never let the metadata's existence relax the endpoint's behaviour: tokens must be validated on every call, or the document is a sign on an unlocked door.

For households, the practical translation is short: whichever authentication family you choose, the outside check grades the behaviour. Standards-based auth earns no verdict bonus for elegance — a COVERED from a Caddy password and a COVERED from a token system are the same grade, because to the stranger at the gate, they are the same refusal.

Where this fits in the report's sweep

The discovery read sits in the path sweep beside the four MCP paths — a reminder that the sweep is a posture census, not just a door-knock: it records how the host presents its MCP services and their authentication story in one pass. When you file your reports over time, the discovery line is the one that will announce your authentication migration before your own notes do: the month it appears is the month the token system went live.

Pair the reading with the keys and tokens guide if your household is heading toward token-based access — the hygiene there (inventory, scope, rotation) is what makes a token system worth more than the password it replaced.

The 5-action discovery-document pass

  1. Run the free check and find the OAuth discovery line in the path sweep: present, or absent?
  2. If present, verify the behaviour matches: the endpoint itself must refuse unauthenticated callers — metadata without enforcement is a sign on an open door.
  3. If absent and expected (you deployed OAuth), find where the rollout stopped: wrong process, wrong host, or document served on another path.
  4. If absent and unexpected, record it as a known state — your auth family is proxy, edge policy, or private route — and move on.
  5. Check the named authorisation server's own posture with the same routine if you rely on it.

Worked example: the Tan household's half-finished token rollout

Example — fictional, for illustration. The Tan household shares their MCP server with a sibling's family — two households, one well-kept mini PC — and decides, sensibly, that a shared password has outgrown its welcome. They spend a weekend adding token-based authentication to the server and announce the migration complete. Their next HomeShield check is the audit that disagrees: the endpoint still grades EXPOSED, and the sweep finds no discovery document on the host. The census resolves the mystery — the authorisation work was deployed to the server started by their service file, but the process actually serving the public port is the older instance from a terminal, without any of it. The sign was painted; the old door was still the one in use.

They restart the service properly, retire the terminal instance at its source, and re-check: the discovery document now appears in the sweep, and unauthenticated calls meet a refusal — COVERED, standards-style. Before: 0 discovery document, verdict EXPOSED, 'migration complete'. After: discovery document present, tokens demanded, both households' clients re-onboarded through the flow the document names. Their retrospective is the shortest in this series: the report believed the running process, not the weekend's intentions — and it was right.

Related guides and the standing invitation

Companion reading for this topic: How Should API Keys and Tokens Be Handled on a Home MCP Server? · What Changes When Your MCP Server Uses Streamable HTTP Transport? · How Do You Put Authentication in Front of a Home MCP Server? · What Is an SSE Endpoint on an MCP Server, and Why Is It Probed Early?.

Whatever this guide led you to change, prove it the way every guide in this series ends: re-run the free check on the same address and compare the result with the one you started from, work through the local-scan guide for the inside of the house, and see plans if you want the watching done on a schedule. A change you have not re-measured is a hope, not a fix.

Run the free check · All guides

Sources

Frequently asked questions

Where does the discovery document live?

At a well-known address on the protected resource's host — the standard location clients (and HomeShield's sweep) know to read. You do not need to memorise the path: your report's sweep either finds it on your host or records its absence, and your server framework's auth documentation names the exact location it serves.

Does the document's presence make my server COVERED?

No — behaviour makes the grade. The document announces how clients authenticate; COVERED is graded from the endpoint's refusal of unauthenticated callers. A discovery document beside an openly answering endpoint is a contradiction the report will grade by the open answer. Both lines matter; the verdict follows the door, not the sign.

Is OAuth better than a proxy password for a home server?

Better at different things. OAuth gives per-client credentials, scopes, and revocation — valuable when multiple people and clients share a server. A proxy password is simpler machinery that a household can fully understand. For a single household's appliance, simpler usually wins; for shared or semi-public servers, the token system's day arrives.

What does the discovery document reveal to strangers?

By design: the resource's identity and the authorisation servers that issue its tokens — the same information any legitimate new client needs. It is a public declaration, not a leak. The security weight sits in the authorisation server itself, which deserves the same patching and checking routine as the MCP endpoint.

My framework 'supports OAuth'. Why is no document found?

Support and deployment are different states: the feature may need enabling, the running process may predate the change, or the document may be served under the authorisation server's host rather than the resource's. Restart the intended service, confirm with the companion census that it is the process serving your port, and re-check.