Agent-ready websites
Make Your Website Ready For AI Agents.
More of your customers now send an assistant instead of visiting themselves. We make your site readable, discoverable and callable by AI agents, from structured data to a remote MCP server behind OAuth, with the controls that make it safe to open up.
The short answer
An agent-ready website is one AI agents can read, find, use and trust. In practice that means five layers: server-rendered pages with structured data, an explicit robots policy and discovery files, a remote MCP server exposing task-shaped tools behind OAuth, an Agent Card if you run your own agent, and the security controls that make it safe to open up. Most sites need the first three.
01 · The five layers
What Does Agent-Ready Actually Mean?
It is a stack, not a switch. Five capabilities, each resting on the one below. Every site should have the bottom three; only sites that run their own agent need the fourth; the fifth is what makes any of it safe to open to the world.
- 5TrustworthyBefore you open upAgent identity, OAuth, signed manifests, rate limits, payments, prompt-injection defence.
- 4ConversationalIf you run an agentYour own agent talks to other agents as a peer: the A2A protocol and an Agent Card.
- 3CallableSites that do thingsAgents can act on your site through tools: an MCP server and a clean OpenAPI.
- 2DiscoverableEvery siteAgents can find what you offer: robots policy, well-known files, registries, llms.txt.
- 1ReadableEvery siteAgents can understand your pages: server-rendered content, semantic HTML, structured data.
02 · Layer 1 · Readable
How Do AI Agents Read A Website?
Through its HTML, or the accessibility tree built from it. Claude, ChatGPT, Perplexity and Gemini all browse that way, and many of their fetchers run little or no JavaScript. If a person with a screen reader struggles on your site, an agent will too.
Server-render what matters
Many agent fetchers run no JavaScript, or give it a second. Prices, availability, specs and docs belong in the first HTML response.
Semantic, accessible markup
Real buttons, labelled inputs, ordered headings and named icon buttons. Agents that click through your interface navigate by the same tree a screen reader does.
schema.org structured data
JSON-LD for your organisation, products, articles and FAQs: the most battle-tested machine-readable layer on the web.
Stable, descriptive URLs
Agents cite and come back. A URL that changes breaks their memory of you.
Markdown twins of docs
A /docs/auth.md beside /docs/auth. Cheap to produce, and far easier for an agent to read than styled HTML.
<!-- In the <head> of a product page --><script type="application/ld+json">{ "@context": "https://schema.org", "@type": "Product", "name": "Trail Runner X2", "sku": "TRX2-42", "offers": { "@type": "Offer", "price": "129.00", "priceCurrency": "EUR", "availability": "https://schema.org/InStock", "url": "https://example.com/p/trx2" }}</script>03 · Layer 2 · Discoverable
How Do AI Agents Find Out What A Website Offers?
In one or two requests: robots.txt says what is allowed, and files under /.well-known/ say what is on offer. Real discovery today also happens in registries, such as the official MCP Registry and the directories inside Claude and ChatGPT.
# Training crawlers: a business decisionUser-agent: GPTBotAllow: / User-agent: ClaudeBotAllow: / # Agents acting for a person, and AI search: allowUser-agent: ChatGPT-UserAllow: / User-agent: Claude-UserAllow: / User-agent: PerplexityBotAllow: / User-agent: *Allow: /Disallow: /account/ Sitemap: https://example.com/sitemap.xmlBlocking training crawlers is a business choice. Blocking agents acting for a person means a customer's assistant can't read or buy from you.
| Path | Purpose | Maturity |
|---|---|---|
| /.well-known/oauth-protected-resource | Tells agents which authorization server issues tokens for your API or MCP server (RFC 9728). | Stable; required by MCP auth |
| /.well-known/oauth-authorization-server | OAuth server metadata (RFC 8414). | Stable |
| /.well-known/agent-card.json | The A2A Agent Card: who your agent is, its skills, endpoint and auth. | Stable (A2A 1.0) |
| /.well-known/mcp.json · /.well-known/mcp/server-card.json | An MCP server card, for discovery before connecting. | Not settled: competing proposals |
| /llms.txt | A Markdown index of your key pages for language models. | A convention, not a standard |
04 · Layer 3 · Callable
How Do AI Agents Take Actions On A Website?
Through tools, served by a Model Context Protocol (MCP) server. Any MCP-capable agent, such as Claude, ChatGPT, Copilot, Cursor or a custom one, can then search, book or order on your site with typed inputs instead of scraping it. This is where most of the value is.
Design the tools first
Task-shaped, not endpoint-shaped
Not get_product, get_inventory, get_price and get_shipping_zone, but one search_products(query, max_price, in_stock_only) that returns everything needed to decide.
Five to twenty tools
Agents do badly with eighty fine-grained endpoints. Fewer, well-described tools win.
Descriptions written for a junior colleague
When to use the tool, when not to, and what the output means.
Honest annotations
readOnlyHint, destructiveHint and idempotentHint tell clients when to ask the person for confirmation.
Concise, structured results
structuredContent with an output schema. Raw dumps burn the agent's context.
Errors that teach
"date must be ISO 8601, e.g. 2026-10-16", not "400 Bad Request".
// npm i @modelcontextprotocol/sdk zod expressimport { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";import { z } from "zod"; const server = new McpServer({ name: "example-shop", version: "1.0.0" }); server.registerTool( "search_products", { title: "Search products", description: "Search the catalogue. Use for any question about what we sell, " + "prices or stock. Returns at most 10 items.", inputSchema: { query: z.string().describe("Free text, e.g. 'waterproof trail shoes'"), max_price: z.number().optional().describe("EUR, inclusive"), in_stock_only: z.boolean().default(true), }, annotations: { readOnlyHint: true }, }, async ({ query, max_price, in_stock_only }) => { const items = await catalogue.search({ query, max_price, in_stock_only }); return { content: [{ type: "text", text: JSON.stringify(items) }], structuredContent: { items }, }; },); // Served over Streamable HTTP at /mcp, behind a bearer-token check.Keep a clean OpenAPI 3.1 document alongside it, with good operation IDs and descriptions: many agent frameworks turn it into tools directly, and it covers clients that don't speak MCP.
NX-AG-01 · Sequence
How an AI agent signs in to your MCP server
- AI agent
- System of record
- Outside world
- Your people
AI agentAI agent
System of recordYour MCP server
Outside worldAuth server
Your peopleThe person
01AI agent to Your MCP server: Calls a tool with no token
02Your MCP server to AI agent: 401 Unauthorized
WWW-Authenticate → resource metadata
03AI agent to Your MCP server: Reads the resource metadata
/.well-known/oauth-protected-resource
04Your MCP server to AI agent: Names the authorization server
05AI agent to Auth server: Registers and starts sign-in
authorization code + PKCE
06Auth server to The person: Asks the person to approve scopes
07The person to Auth server: Approves
catalogue:read orders:write
08Auth server to AI agent: Short-lived, audience-bound token
09AI agent to Your MCP server: Calls tools with the token
audience checked on every call
10Your MCP server to AI agent: Typed, structured results
// GET /.well-known/oauth-protected-resource{ "resource": "https://example.com/mcp", "authorization_servers": ["https://auth.example.com"], "scopes_supported": ["catalogue:read", "orders:write"], "bearer_methods_supported": ["header"]}Don't build an authorization server unless you must. Auth0, WorkOS, Stytch, Keycloak, Cloudflare's OAuth provider or your existing identity provider will do it, if they support these specs.
05 · Layer 4 · Conversational
What Is The A2A Protocol, And When Do You Need It?
Agent2Agent (A2A) lets another agent delegate a whole task to yours, rather than call a function. It is for when your site runs a real agent with its own reasoning and long-running work. Your A2A agent will usually run on your own MCP tools: MCP for capabilities, A2A as the front door.
| Aspect | MCP | A2A |
|---|---|---|
| Relationship | Agent → tool | Agent ↔ agent, as peers |
| Who reasons | The calling agent | Both; yours stays opaque |
| Unit of work | A tool call, usually seconds | A task with a lifecycle; can take hours |
| Typical use | Search, read, create an order | Source a supplier within budget, escalate support, negotiate |
| Discovery | Registries; server card still unsettled | /.well-known/agent-card.json |
A task's lifecycle
- submitted
- working
- input-required
- completed
- failed
- canceled
Updates stream over server-sent events or are pushed to the caller's webhook. A task can pause on input-required, for example to ask whether a delivery date must be guaranteed.
// GET /.well-known/agent-card.json (abridged){ "protocolVersion": "1.0", "name": "Example Shop Concierge", "description": "Product sourcing, bulk quotes and order tracking.", "url": "https://agents.example.com/a2a/v1", "capabilities": { "streaming": true, "pushNotifications": true }, "skills": [ { "id": "bulk-quote", "name": "Bulk quote", "description": "Quotes 50+ units, including delivery dates." } ], "securitySchemes": { "oauth": { "type": "oauth2" } }, "signatures": [{ "protected": "…", "signature": "…" }]}Sign the card (JWS with JSON canonicalisation) so callers can verify it belongs to your domain. Field names shift between spec versions: pin one and validate against the official schema.
06 · Layer 5 · Trustworthy
How Do You Make It Safe To Let AI Agents Use Your Site?
Know which agent is calling and on whose behalf, give it the least privilege that works, confirm anything irreversible with the person, and enforce limits on the server. Then treat everything you send back to an agent as something that could be turned against it.
Know who the agent is
Web Bot Auth lets agents sign their requests, so you verify "this really is Claude" instead of trusting a User-Agent string anyone can fake. For API and MCP traffic, log the person who consented, the agent holding the token, and the scopes granted.
Least privilege
Separate read and write scopes. Never issue one full-access token.
Confirmation for what can't be undone
Irreversible or financial actions need the person's explicit confirmation, through the client or your own step-up flow.
Limits on the server, not in the prompt
Maximum order value, maximum quantity, per-token rate limits. Never rely on an agent to respect a limit.
Prompt injection is your problem too
Any user-generated text you return through a tool (reviews, tickets, seller descriptions) can carry instructions aimed at the calling agent. Label it as untrusted, strip hidden text and zero-width characters, and never put secrets or other users' data in tool output. In the other direction, never let an incoming agent message drive a privileged action without a policy check.
When agents start paying
AP2
Agent Payments Protocol
Builds on A2A with signed mandates proving a person authorised a purchase. Suits consumer retail on existing card rails.
ACP
Agentic Commerce Protocol
OpenAI and Stripe's checkout protocol for purchases inside the chat.
x402
HTTP 402, revived
Per-request machine-to-machine payment, usually in stablecoins. The natural fit for pay-per-call APIs and MCP tools.
07 · The rollout
In What Order Should You Make A Site Agent-Ready?
Readable first, because everything else depends on it. Then callable, where the value is, then discoverable once there is something worth finding. Trust work never stops. A2A and agent payments come last, and only when the business case is there.
Phase 1 · Week 1
Readable
- Audit server rendering, semantic HTML and JSON-LD on your top templates.
- Decide and publish a robots policy.
- Test with real agents: Claude, ChatGPT, Perplexity, Gemini.
Done whenKey content in the first HTML response, structured data valid, policy published.
Phase 2 · Weeks 2–4
Callable
- Design five to fifteen task-shaped tools.
- Ship a remote MCP server with OAuth and protected-resource metadata.
- Test with two or three different clients; they behave differently.
Done whenAgents complete real tasks on your site through tools.
Phase 3 · Week 4
Discoverable
- List the server in the official MCP Registry and client directories.
- Serve the server card at both proposed paths.
- Markdown docs and llms.txt.
Done whenAgents can find you without being told where to look.
Phase 4 · Ongoing
Trustworthy
- Rate limits, scoped tokens and per-client audit logs.
- Filtering for untrusted content in tool output.
- Web Bot Auth verification at the edge. A2A and payments only when justified.
Done whenOpened up with the controls to stay open.
08 · Checklist
What Is On An Agent-Readiness Checklist?
Thirteen items, in the order we check them. The first eight apply to almost every site that does more than publish; the rest depend on whether you run an agent, take payments or face hostile traffic.
- 01Key content present in server-rendered HTML
- 02Semantic, accessible markup on every interactive element
- 03schema.org JSON-LD on products, articles, organisation and FAQs
- 04A robots.txt that separates training crawlers from user agents
- 05A remote MCP server (Streamable HTTP) with task-shaped tools and honest annotations
- 06OAuth 2.1 with PKCE, audience-bound tokens and protected-resource metadata
- 07Server card published and the server listed in the MCP Registry
- 08An OpenAPI 3.1 document with good descriptions
- 09A signed Agent Card, if you run an A2A agent
- 10Per-client rate limits, server-side caps and audit logs
- 11Untrusted content labelled and sanitised in tool output
- 12Web Bot Auth verification at your edge
- 13A payment protocol chosen, if agents will transact
09 · How we help
What Does Nexolve Build For An Agent-Ready Website?
Three engagements, usually in this order. Each is scoped in writing before work starts, and everything we build is yours: code, infrastructure and documentation.
Agent-readiness audit
We point real agents at your site, check rendering, structured data, robots policy and discovery, and hand you a ranked fix list with the effort for each.
MCP server, built and listed
Task-shaped tools over your existing APIs, OAuth 2.1, protected-resource metadata, registry listing, and testing across Claude, ChatGPT and open-source clients.
Your own A2A agent
For real agent workflows such as quoting, sourcing or support triage: an agent with a signed Agent Card, built on the MCP tools you already have.
A website AI agents can read, find, use and trust. It serves its key content in plain HTML with structured data, states its crawler policy, exposes its functions as tools through an MCP server or a clean API, and has the identity, permission and rate-limit controls that make agent traffic safe.
An MCP server exposes your site's functions, such as search, booking or ordering, as typed tools any MCP-capable agent can call: Claude, ChatGPT, Copilot, Cursor and custom agents. You need one if customers would benefit from an assistant acting on your site for them. A brochure site does not; a store, a booking system or a SaaS product usually does.
MCP connects an agent to tools: the calling agent does the reasoning and your server does the work. A2A connects two agents as peers: you delegate a task with a lifecycle to an agent that reasons on its own. Most sites need MCP. A2A is for organisations running a real agent, such as a quoting or sourcing agent.
It costs an hour and does no harm, but there is little evidence the major AI providers rely on it when answering. Server-rendered content, structured data, a clear robots policy and being listed where agents look matter far more.
Separate the two kinds. Blocking training crawlers such as GPTBot or ClaudeBot is a business choice. Blocking user-initiated agents such as ChatGPT-User or Claude-User means a customer's assistant cannot read or buy from you, which most businesses do not want.
Through OAuth 2.1. The agent is told where your authorization server is, the person approves the scopes in their browser, and the agent receives a short-lived token valid only for your server. Use an existing identity provider rather than building your own authorization server.
The readable and discoverable layers take about a week. A production MCP server with OAuth typically takes two to four weeks. Security controls are ongoing, and A2A and payments come later, only if they are justified.
Treat any user-generated text you return through a tool, such as reviews, tickets or seller descriptions, as untrusted: label it, strip hidden text and zero-width characters, and never put secrets or other users' data in tool output. Never let an incoming agent message trigger privileged actions without a policy check.
Contact
Find Out How Your Site Looks To An AI Agent.
A 20-minute call. We'll listen to the problem, tell you honestly whether we're the right team for it, and outline what the build would look like.
- 01Tell us the problemA 20-minute call. Rough is fine.
- 02Get a scoped planWhat we'd build and what it takes, within 48 hours.
- 03Start on your timelineOnce the scope is signed off, we build in milestones.


