All posts

Making a Website Agent-Ready: Every Standard We Shipped, and Why

Most of our work happens on the other side of bot detection. We take apart TLS fingerprinting and obfuscated anti-bot JavaScript so that legitimate automation can reach systems that were never built for it. When we rebuilt our own site, we wanted the opposite. A well-behaved agent should be able to find it, read it and call it without guessing at anything.

That turned out to be a dozen small standards, each at a different layer and at a different stage of drafting. Together they put status403.com at Level 4, "Agent-Integrated" on isitagentready.com, which runs 23 checks across discovery, content access, bot access control and commerce.

This post covers each layer in the order an agent meets it. For each one you get the response it actually sends, what we decided and why, and what we left out. Every example is a request you can repeat yourself.

The one rule: a single source of truth

Before any protocol, one design rule. An agent and a person must never read different facts.

That sounds obvious until a site has six representations of itself: rendered HTML, a markdown version, JSON-LD, an OpenAPI description, an MCP tool that answers "what services do you offer", and a manifest that summarizes all of it. The quickest way to build those is to write each one by hand. Then the pricing page changes, five of the six representations don't, and an agent quotes your old offer to a customer.

So the copy lives in data modules (site-content.ts, service-pages.ts, the blog's markdown files), and every surface below renders from them:

  • The React components render them as HTML.
  • The markdown renderer composes the same objects into markdown. It does not convert the HTML, which would carry layout noise into the text.
  • The MCP and WebMCP tools answer from the same objects.
  • The ARD manifest builds each entry from the module that owns that resource.

Every decision below follows from this one. Whenever we had to choose between restating a fact and importing it, we imported it.

Layer 0: DNS, before there is a URL

An agent that has only a domain name doesn't know where anything lives yet. DNS-AID, an IETF draft, puts that first pointer in DNS: an SVCB record under a _agents leaf zone.

$ dig +short SVCB _index._agents.status403.com
1 status403.com. mandatory=alpn,port alpn=h2,h3 port=443

We publish exactly one record, _index. The draft also defines _a2a and _mcp, and the scanners query both. We left them out on purpose:

  • _a2a: we have no A2A agent card, and advertising an endpoint that doesn't exist is worse than advertising nothing.
  • _mcp: we do have an MCP server now (see below), but SVCB can carry a host and a port, not the path /mcp. The draft's capability parameters for that are unregistered SvcParamKeys, which RFC 9460 says must be listed under mandatory. Any resolver that doesn't know those keys would then have to discard the record. We state the path where it can be stated exactly instead: in the manifest and the Server Card.

The second half of DNS-AID is DNSSEC. A discovery record that a resolver can't authenticate is easy to spoof. Signing the zone is one API call to Cloudflare. Publishing the DS record at the parent is not: it lives at the registrar, and no Cloudflare API can put it there. Our publish script turns on signing, prints the DS record and stops, and a verify script checks the record through two public DoH resolvers.

Layer 1: robots.txt and Content Signals

The oldest agent protocol is still the first one checked. On top of the usual Allow, we publish a Content Signals line that separates the uses robots.txt can't tell apart:

User-agent: *
Content-Signal: search=yes, ai-input=yes, ai-train=no
Allow: /

In short: index us, and cite us in answers, but don't train on us without asking. A crawler is free to ignore it. Saying it in a machine-readable way still costs nothing.

Layer 2: one Link header on every response

Every page response carries a single Link header (RFC 8288) with four relations:

$ curl -sI https://status403.com/ | grep -i ^link
Link: </.well-known/api-catalog>; rel="api-catalog"; type="application/linkset+json",
      </openapi.json>; rel="service-desc"; type="application/vnd.oai.openapi+json",
      </api/docs>; rel="service-doc"; type="text/markdown",
      </schema.jsonld>; rel="describedby"; type="application/ld+json"

An agent finds every machine-readable resource from the headers alone, without parsing a byte of HTML. We follow two rules here:

  1. Only IANA-registered relation types. api-catalog (RFC 9727), service-desc and service-doc (RFC 8631), and describedby. A made-up rel="ai-manifest" would be a token no client can look up. That's why the ARD manifest and the Server Card are not in this header, even though we serve both.
  2. The header and the route table live in the same file. A link to a resource that neither render target serves is a broken promise. Putting them together means you can't add one without seeing the other.

Layer 3: markdown through content negotiation

Agents are bad at HTML and good at markdown. Ask for markdown and you get markdown:

$ curl -s -D - -H "Accept: text/markdown" https://status403.com/services/web-scraping
Content-Type: text/markdown; charset=utf-8
Vary: Accept
X-Markdown-Tokens: 857

# Web Scraping & Automation: Web data, built into your workflow.

Getting a response is only the start. We build custom collection logic, ...

This is the convention Cloudflare described as Markdown for Agents, including the X-Markdown-Tokens hint, so an agent can budget its context before it reads the body. A few details we learned the hard way:

  • */* still gets HTML. Only an explicit text/markdown switches the representation. Browsers and naive clients see no change.
  • Vary: Accept on both representations, or a shared cache serves one client's markdown to the next client's browser.
  • We compose the markdown rather than convert it. Running HTML-to-markdown on a rendered page carries nav menus, cookie banners and decorative markup into the text. Rendering from the content modules produces only what the page says.

Layer 4: API catalog, OpenAPI, and docs generated from the spec

/.well-known/api-catalog is an RFC 9727 linkset that points at /openapi.json (OpenAPI 3.1) and /api/docs (markdown). The API surface is small: the booking endpoint, the MCP endpoint, and read-only routes for pages, posts and sitemaps. What matters here is how they are produced. The catalog and the prose docs are generated from the OpenAPI document, so the documentation can't describe an endpoint the spec doesn't have.

Every document in this table is served with Access-Control-Allow-Origin: * and X-Robots-Tag: noindex. CORS, because the clients that want them increasingly run inside a browser on some other origin. Noindex, because a raw JSON file is a poor search result for someone looking up the company.

Layer 5: an ARD manifest

Agentic Resource Discovery (ARD) answers the question "what can this site do?" without fetching a page first. /.well-known/ai-catalog.json lists five entries, each with an identifier, a media type, a URL, and representative queries: the natural-language questions a registry embeds to decide when to surface the resource.

{
  "identifier": "urn:air:status403.com:mcp:site",
  "type": "application/mcp-server-card+json",
  "url": "https://status403.com/mcp/server-card",
  "representativeQueries": ["is there an MCP server I can connect to for status403", "..."]
}

Two rules decided what went in:

  • Only documents served unconditionally. /api/docs is listed because it is always markdown. / is not, because it is HTML unless the client asks otherwise. Our WebMCP tools aren't listed either: they run in the agent's own browser and have no network endpoint.
  • Each entry is composed from the module that owns the resource, so the manifest can't describe the OpenAPI document differently than the OpenAPI document describes itself.

Most entries are purely descriptive. The MCP entry is not: its type is the filter an MCP client applies to the manifest, and its url is how that client reaches the Server Card, and from there the server.

Layer 6: a real MCP server, its Server Card, and a registry listing

Everything above describes the site. POST /mcp is where it becomes callable: a stateless, unauthenticated Streamable HTTP MCP endpoint.

$ curl -s https://status403.com/mcp -H 'content-type: application/json' \
    -H 'MCP-Protocol-Version: 2025-06-18' \
    -d '{"jsonrpc":"2.0","id":2,"method":"tools/call",
         "params":{"name":"search_blog","arguments":{"query":"TLS"}}}'
{"jsonrpc":"2.0","id":2,"result":{"content":[{"type":"text","text":"{
  \"query\": \"tls\", \"matched\": 5, \"posts\": [ { \"title\": \"TLS Fingerprinting vs Antibots ...

The server came because of the Server Card, not the other way round. SEP-2127 defines a static card that tells a client where an MCP server is before it connects. Publishing a card for a server that doesn't exist would break the same rule the Link header and DNS follow. So we built the server first. The card is at /mcp/server-card, the location MCP reserves for it, with an alias at /.well-known/mcp/server-card.json because that's where scanners look. One render function serves both paths, so the alias can't drift from the original.

Some details worth stealing:

  • It handles both protocol eras. The initialize handshake for 2025-03-26 through 2025-11-25, and the handshake-free 2026-07-28 revision, where each request carries its version in _meta and mirrors it into MCP-Protocol-Version / Mcp-Method / Mcp-Name headers. If the header and the body disagree, the server returns -32020. An unknown version gets -32022 with the supported list. tools/list, tools/call and ping are shared; the era only decides which validation runs.
  • Read-only tools only. The browser (below) gets six tools. The network endpoint gets four. book_intro_call is excluded on purpose: the endpoint answers every origin, so a mail-sending tool there would let any web page make our server email any address it likes. The regular booking form is protected by a CORS preflight that a cross-origin page never gets past. navigate_to is excluded for a simpler reason: there is no browser on the other end to navigate.
  • A body cap that doesn't trust Content-Length. It's absent on chunked requests and set by the client anyway, so the Worker streams the body through a byte counter and returns 413 in the JSON-RPC error shape.
  • Route order is load-bearing in development. Vite's dev server answers every OPTIONS request itself. If you mount it before /mcp, browser-based MCP clients fail the preflight against your dev server, with no hint as to why.

Finally, the server is listed in the official MCP Registry as com.status403/site. It's a domain namespace, proved over HTTP with an Ed25519 key served at /.well-known/mcp-registry-auth. The listing is generated from the same constants the Server Card and the live initialize response use. Three documents describe one server, and none of them restates a value.

Layer 7: WebMCP, tools for the agent already on the page

An agent driving a browser shouldn't have to infer from the DOM that a button books a call. WebMCP lets the page register named tools directly. Ours publishes six: list_services, answer_common_question, search_blog, read_page, navigate_to and book_intro_call.

What we ran into:

  • Two API shapes are in circulation. navigator.modelContext.provideContext({ tools }) from Chrome's early preview, and document.modelContext.registerTool(tool) from the spec draft. We support both but register with only one host, because some implementations expose the same object under both names.
  • Register before hydration, not in a React effect. An agent expects the tools to exist once the page has loaded. A useEffect registers them later than that.
  • navigate_to returns its result before it navigates, via a zero-delay timeout. Otherwise a cross-page move unloads the document while the tool's answer is still in flight.
  • Lazy-load anything heavy inside execute. The blog index and the markdown renderer are imported when a tool runs, not at module scope, so the homepage bundle doesn't carry every post's text.

Layer 8: Web Bot Auth, who the site is

Every layer so far says what the site serves. Web Bot Auth says who it is. /.well-known/http-message-signatures-directory serves a JWKS with one Ed25519 public key:

{
  "keys": [
    {
      "kty": "OKP",
      "crv": "Ed25519",
      "x": "SN-Ql-4rKXsV_PWiZdskeT-YNvlR4Q2m9CwnYG3QAPg",
      "kid": "o6t1ip1w_3XQLYykk-P9bPyueaT7jCIn0XWvXLGNIvw",
      "use": "sig",
      "nbf": 1788455678
    }
  ]
}

A party that signs its requests with HTTP Message Signatures (RFC 9421) names a directory like this in a Signature-Agent header, and the receiving site verifies against the key it finds there. That identity survives a shared IP and a forged User-Agent. Given what we do for a living, that's the part we find most interesting: it's the first bot identity scheme that doesn't depend on looking like a browser.

Two decisions:

  • The directory response is itself signed over ("@authority";req) with tag="http-message-signatures-directory". That's how the site proves it holds the private half of what it publishes. If the deploy doesn't have the key, the directory is still served, just unsigned. Taking the identity offline would be worse than serving it without the proof.
  • nbf but no exp. A hard-coded expiry in a committed file would invalidate the site's identity on a date nobody is watching. Freshness comes from each response signature's own five-minute expires instead.

What we deliberately did not ship

Level 5 on the scanner wants OAuth discovery, protected-resource metadata, auth.md agent registration, an A2A agent card and agent skills. We have none of them, for the same reason each time: there is nothing behind them. The site has no accounts to authorize, no agent to talk to over A2A, and no workflow complex enough to need a skill. Publishing those documents would score points by advertising capabilities that don't exist, which is the one thing every layer above refuses to do.

The commerce checks (x402, MPP, ACP and the rest) don't count toward the score, and they don't apply here either: nothing on this site is for sale by the request.

Try it yourself

# DNS
dig +short SVCB _index._agents.status403.com

# Headers and markdown
curl -sI https://status403.com/ | grep -i ^link
curl -s -H "Accept: text/markdown" https://status403.com/blog

# Manifests
curl -s https://status403.com/.well-known/ai-catalog.json
curl -s https://status403.com/mcp/server-card

# The MCP server
curl -s https://status403.com/mcp -H 'content-type: application/json' \
  -H 'MCP-Protocol-Version: 2025-06-18' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

# Identity
curl -s https://status403.com/.well-known/http-message-signatures-directory

Or point any MCP client at https://status403.com/mcp and ask it what we build.

Most of these specs are still drafts, and some will change before they're final. The pattern underneath them won't: keep one source of truth, advertise only what you serve, and use only registered names. If you're making your own product reachable to agents, whether that means a callable API, an MCP server or a site that can be read without scraping it, it's the same engineering we do every day, from the other direction.

About the authors

  • @blik2bankomatGitHub

    Co-Founder & Engineer at status403

    Builds and reverse engineers software systems, from low-level protocols and high-throughput network automation to production applications and infrastructure.

  • Co-Founder & Engineer at status403

    Builds and reverse engineers software systems, from low-level protocols and high-throughput network automation to production applications and infrastructure.