Make your website agent-ready: a practical checklist

AI agents are changing how SEO works. A step-by-step checklist to make your website discoverable and usable by agents: Link headers, API catalog, MCP, WebMCP and DNS-AID.

By Duc CaoPublished 5 min read5 views
Score card of an agent-readiness scan next to the title Make your website agent-ready

For twenty years, SEO meant one thing: make a page that a search engine could crawl, rank and show as ten blue links. A person then clicked, landed on your site and read it. That loop is changing. More and more often, the "visitor" is an AI agent that reads for a person, compares options, summarizes the answer and sometimes acts, such as booking, asking for a quote or sending a message. The person may never see your page at all.

Traditional SEO still matters, but it is no longer enough. An agent does not care about your hero image. It wants to know what you offer, which endpoints it may call, what it is allowed to do with your content, and who to ask. Sites that answer those questions in a machine-readable way get picked; sites that do not get skipped or misquoted. Think of it as SEO for agents.

I checked my own site with an agent-readiness scanner and got 75 out of 100. This post is what I did about it.

Why make your website agent-ready

AI agents now browse, compare and even act on websites for people. If your site only speaks HTML for humans, an agent has to guess what you offer and how to contact you. A few small files and headers remove the guessing. This is the checklist I used on alexcao.tech, in the order I would do it again.

1. Help agents find and read the site

robots.txt with Content Signals

Tell crawlers what AI may do with your content. Add one line under User-agent: *:

Content-Signal: ai-train=no, search=yes, ai-input=yes

Add Agentmap: https://your-site/.well-known/ai-catalog.json at the end of the file so agents find the catalog below.

llms.txt

A markdown file at /llms.txt that describes the site and lists the important pages. Keep it short and factual.

Point to your discovery files from the HTTP response itself (RFC 8288). In Next.js, use headers() in next.config.ts. Check it with:

curl -sI https://your-site/en | grep -i '^link'

API Catalog and OpenAPI

Serve /.well-known/api-catalog with Content-Type: application/linkset+json (RFC 9727). It links to an OpenAPI document that describes your public endpoints. Describe only endpoints that really exist. I listed just two: a health check and the contact form.

AI Catalog

/.well-known/ai-catalog.json is the one index agents read first. Each entry has an identifier, a type, a url and a few representativeQueries: example questions that tell an agent when to use it. Mine lists the skill, the OpenAPI file, llms.txt and the MCP server card. Send CORS * on it.

Agent Skills

Publish /.well-known/agent-skills/index.json plus a SKILL.md per skill. Each skill has a digest of the form sha256:... computed from the exact file content. Generate it in code so it never goes stale. The skill should teach an agent which service fits which need and how to contact you. Do not hard-code prices; link to the page instead.

2. Let agents use the site (MCP)

WebMCP: tools inside the browser

A small client component registers tools with document.modelContext.registerTool(...). I expose three read-only tools (list services, open a service page, get contact info) and one that submits the contact form.

The submit tool validates every field first, then asks the human with window.confirm. A contact form sends a real request to a real person, so an agent should never send it without a human saying yes.

A real MCP server at /mcp

Streamable HTTP is just JSON-RPC over POST. You need initialize, ping, tools/list and tools/call; notifications return 202, and GET returns 405. I ship four read-only tools: services, contact info, search articles and read an article. There is deliberately no write tool, because nobody on the server side can confirm an action.

Hardening that matters: a body size limit (64 KB), a rate limit (120 requests per minute per IP), a batch limit, and returning only published content.

One Next.js gotcha: exclude /mcp from your locale-redirect proxy, otherwise it is redirected to /en/mcp.

curl -s -X POST https://your-site/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

MCP Server Card

Serve /.well-known/mcp/server-card.json with serverInfo (name, version), a transport (streamable-http and the endpoint) and capabilities. Add it to the AI catalog with type application/mcp-server-card+json.

3. Work outside the code (Cloudflare)

Markdown for Agents

When a request has Accept: text/markdown, return a markdown version of the page; browsers still get HTML. On Cloudflare this is a dashboard toggle, depending on your plan. Verify:

curl -sI -H "Accept: text/markdown" https://your-site/en | grep -i content-type

DNS-AID

Agents can also find an organization through DNS. Add two SVCB records (DNS only, not proxied), priority 1, target your domain:

NameValue
_index._agentsalpn="h2" port=443
site._agentsalpn="mcp,h2" port=443

The port is required for ServiceMode records. Cloudflare rejected the draft's well-known= parameter, so I left it out. Then enable DNSSEC so resolvers can authenticate the answers. DNS-AID is still an IETF draft (draft-mozleywilliams-dnsop-dnsaid), so expect changes.

Lessons learned

  • Publish only what the site really has. Do not invent endpoints.
  • Anything with real consequences needs a human confirmation. That is why WebMCP asks and /mcp is read-only.
  • Generate every .well-known file from one source in code so URLs and digests never disagree.
  • Test with real requests, then run a checker such as isitagentready.com after deploying.

Check your own site

Run your domain through isitagentready.com. It scores discoverability, content, bot access and API, MCP and skill discovery, and tells you exactly which item to fix next. Fix, deploy, scan again.

Member-contributed post; it reflects the author's own views.

Comments (0)

Sign in — Sign in to comment.

No comments yet. Be the first.