The /.well-known directory for agent discovery
Well-known URLs give clients predictable places to look for specific metadata. Publish the documents your service actually supports and identify the convention behind each one.
The /.well-known directory is a standard place at the root of a site where clients look for machine-readable descriptions of what the site offers. Instead of crawling pages and guessing, a client fetches a predictable path and reads a manifest that points it to everything else. The idea comes from a long-standing web convention, and it now carries several files that matter to agents, each backed by a different level of standardization.
| Path | Purpose | Standard or convention |
|---|---|---|
| /.well-known/api-catalog | Lists a site's public APIs from one URL | RFC 9727 |
| /.well-known/oauth-authorization-server | Describes how a client authenticates | OAuth discovery, RFC 8414 |
| /.well-known/security.txt | States where to report a security problem | RFC 9116 |
| /.well-known/mcp/server-card.json | Describes an MCP server and how to reach it | Convention the isitagentready.com scanner checks, not yet standardized |
| /.well-known/x402, /.well-known/mpp, /.well-known/ap2 | Payment and agent-payment manifests: how an agent is quoted and how it pays | As of November 2026, /.well-known/x402 is described in an individual IETF Internet-Draft. MPP's discovery documentation names /openapi.json with x-payment-info, not a well-known path. AP2 v0.1 declares itself in the A2A Agent Card and v0.2 no longer defines that extension. turva.dev also serves /.well-known/mpp and /.well-known/ap2. |
What each file establishes
An API catalog at a well-known path, defined by RFC 9727, lets a client enumerate a site's public APIs from a single URL. OAuth metadata describes how to authenticate, under its own long-established RFC. security.txt says where to report a problem, also under its own RFC. Each of these three has a fixed specification behind it, so a client that supports the standard can rely on the path staying put.
Where MCP discovery still moves
A server card describes an MCP server and how to reach it, but this one is not yet settled the way the three above are. The isitagentready.com scanner asks for the card at /.well-known/mcp/server-card.json, and turva.dev serves its card there. The Server Card extension specification, accepted in October 2026 as SEP-2127 although its repository is still labeled experimental, instead recommends the MCP endpoint URL followed by /server-card, and expects a client to follow the URL a site's own catalog gives rather than assume a fixed well-known path. Treat the MCP card path as a convention, not as a ratified standard on the same footing as RFC 9727 or OAuth discovery.
Why lookup beats crawling
The value of a well-known path is that discovery becomes a lookup rather than a search. A client that knows the convention can ask one predictable question and get a map, which is faster and more reliable than inferring structure from rendered HTML. A site that publishes a well-known surface is announcing its capabilities in a form clients already know how to parse.
What a missing directory means
A missing or thin well-known directory does not break a site for people, and it does not mean every client will abandon the site outright. It does mean a client that relies on lookup rather than crawling has to fall back to guessing or skip the site, so the practical effect depends on which clients the site cares about and how those clients behave when a lookup fails. turva.dev publishes an API catalog, a server card, OAuth metadata, payment manifests and a security contact under /.well-known. For an audit of what a site publishes under /.well-known, contact info@turva.dev.
Frequently asked
What is the /.well-known directory?
The /.well-known directory is a standard place at the root of a site where clients look for machine-readable descriptions of what the site offers. A client fetches a predictable path and reads a manifest that points it to everything else.
What files do agents look for under /.well-known?
An API catalog defined by RFC 9727, an MCP server card, OAuth metadata, payment and agent-payment manifests, and a security contact. The MCP card is the one whose home is still moving: the isitagentready.com scanner asks for /.well-known/mcp/server-card.json, while the Server Card extension specification recommends the MCP endpoint URL plus /server-card and does not recommend a well-known path for the card itself.
Why do clients use the well-known directory instead of crawling pages?
Because it turns discovery into a lookup rather than a search. A client fetches a predictable path and reads a manifest that points it to everything else, instead of inferring capabilities from navigation.
Sources
- Well-known URIs, RFC 8615
- API catalog, RFC 9727
- OAuth 2.0 authorization server metadata, RFC 8414
- security.txt, RFC 9116
- Server Card discovery document