Learning Path
Pick the path that fits what you are working on
Websites
Applications
AXD Fundamentals
Implementation patterns
What to actually build, roughly in order of priority, as of August 2026.
In short
There are three ways to let an agent use your service, and you don’t have to choose between them. An MCP server (Model Context Protocol server, a connector that lets AI assistants use your product) serves agents running outside the browser. WebMCP (a draft web standard) lets a web page hand tools directly to an agent that’s already inside the user’s browser. Under both sits a well-built HTTP API (the interface other software uses to talk to your service), and that is often enough on its own. Beneath all three are two plain requirements. Send real HTML, the page content itself rather than a script that builds it later, for anything you want read, and be able to check which agent is calling you. Nothing on this page is exotic. Most of it is ordinary API housekeeping, done more strictly.
MCP servers
The Model Context Protocol has become the usual way to describe what a service can do in a form an agent can work with. It was donated to the Linux Foundation’s Agentic AI Foundation in December 2025, which took it out of the hands of a single company. That’s the reason it makes sense to build on it now rather than wait and see.
The protocol changed a lot in the 2026-07-28 revision. If your picture of MCP comes from before then, it’s wrong in ways that affect how you run it:
- The core is now stateless. A server keeps no memory between requests and no longer has to set up a connection with each agent before it can be used, so an MCP server now runs like any ordinary web service. Any copy of it can answer any request, and you can add copies to handle more traffic without tying each user to one of them.
- Tasks became an extension. Support for long-running work is no longer part of the required core. If you need it, adopt the extension on purpose. You should still keep your own lasting record of each job’s status, because that’s what survives changes to the protocol.
- Three older features (Roots, Sampling, and Logging) are marked for removal. Don’t build anything new on them. The protocol is heading toward a smaller core, with abilities offered through tools.
Because the protocol is now stateless, your server shouldn’t remember anything from one call to the next. Check permission on every call using that call’s own token (the credential sent with each request), keep any conversation history on the agent’s side, and make every tool call safe to replay on its own. If you were planning a design where the agent sets up context once and then makes calls that depend on it, turn that design around.
What makes an MCP tool easy for an agent to use
- A few tools shaped around tasks beat dozens shaped around your API. A mechanical wrapper around forty REST routes (the individual addresses in a typical web API) gives the model a tool list it has to think through on every turn. Offer the handful of outcomes users really ask for.
- Descriptions are instructions to the model. A model reads each tool’s description to decide whether to use it. Say what the tool does, when to use it, when not to, and what it costs or changes.
- Limit inputs in the tool’s definition. Fixed lists of allowed values, required formats, and required fields stop a whole class of failed calls before they happen.
- Return results a model can use. Keep them structured and compact, without leftover paging details the agent has to piece back together. If a result is cut short, say so in the result.
- Flag anything with consequences. Make it obvious in the description which tools spend money, send messages, or delete things. The apps that run agents use that to decide what to check with the user first.
A note on how agents find servers: the official MCP Registry was still in preview as of July 2026. List your server there once the registry settles, but don’t count on it for discovery yet. For now, agents find servers through the directories built into the apps they run in, and through your documentation. Publish setup instructions where a developer will look, and keep the server’s address stable.
WebMCP
WebMCP is a draft standard from the Web Machine Learning Community Group at the W3C (the group that sets web standards), co-edited by Google and Microsoft. It was a headline item at Google I/O in May 2026 and ran as a Chrome origin trial (an early test that sites choose to join) across Chrome 149 to 156. The idea is simple. A page registers JavaScript tools, with clear names and inputs, that an agent in the browser can call directly. Without them, the agent has to guess what to do from the page’s DOM (the browser’s internal map of everything on the page) and work the interface with pretend clicks.
That swap is where the value is. Working a page by clicks is fragile: it breaks when you redesign, misreads interactive parts of the page, and takes actions the site never meant to offer. A declared tool is a clear agreement that says these are the actions this page supports, and these are their inputs. You get reliability, and you get to decide what an agent can do on your site.
Use WebMCP when
- The agent is already in the user’s browser, in their signed-in session.
- Permission comes from the session cookie the user already has, so there’s no separate login exchange and no token to issue.
- The ability belongs to this one page: filter this table, fill in this open form.
- Your app does most of its work in the browser, so the useful information lives there anyway.
Use an MCP server when
- The agent runs outside a browser, such as a coding assistant, a background workflow, or a scheduled job.
- The work has to carry on when no tab is open.
- You need your own permission checks and record of who did what, rather than a borrowed browser session.
- The ability belongs to the whole account rather than to one page.
Most services with both a web app and an API will eventually want both, sharing one set of permission rules. Since WebMCP is still a trial, treat it as an extra. Build each ability as a normal function, register it as a WebMCP tool in browsers that support it, and lose nothing in browsers that don’t. The security risk is real, and the protocol doesn’t solve it. A page can contain untrusted content, and an agent that reads that content while it can call the page’s tools is exactly the prompt injection problem (hidden instructions in a page that the agent obeys) described in the case studies. Keep consequential actions behind a clear confirmation from the user, however they were triggered.
Plain HTTP APIs
For a great many services this is still the right answer, and the other two are built on top of it. AI models have learned a huge amount about the common conventions for web APIs (known as REST), so a conventional API is already close to something an agent can use. The gap is nearly always in the details developers put up with and agents can’t.
- Predictable structure. Use consistent naming, consistent nesting, and IDs in a consistent format. An agent learns from one endpoint (a single address in your API, such as the one for orders) and applies it to the next, so every irregularity costs it failed calls.
- Real status codes. Tell “not found,” “not permitted,” “badly formed,” and “conflict” apart. A 200 (success) that carries an error message forces the agent to read sentences to find out it failed.
- Errors software can read. Send a structured error with a fixed code, the field at fault, and a clear signal about whether to retry. The published error format RFC 9457 (
application/problem+json) is a good default. - Clear pagination. When results come in pages, use cursors (a bookmark for where the next page starts) and say clearly whether more results exist. An agent that can’t tell it got a partial list will confidently report a partial answer.
- Rate-limit details that say when to retry. A 429 (the “too many requests” response) on its own tells the agent to back off for an amount of time it will make up. Include the time the limit resets.
- An OpenAPI description agents can fetch. This is a standard file listing everything your API can do. Generate it from your actual code, serve it at an address that doesn’t change, and don’t require a login to read it.
This response gives an agent everything it needs to behave well:
HTTP/1.1 429 Too Many Requests
Content-Type: application/problem+json
RateLimit: limit=100, remaining=0, reset=42
Retry-After: 42
{
"type": "https://api.example.com/errors/rate-limited",
"title": "Rate limit exceeded",
"status": 429,
"detail": "100 requests per minute for this token.",
"retryable": true,
"retry_after_seconds": 42
}The agent now knows it failed, why, that waiting will fix it, and exactly how long to wait. Compare that with a bare 429 and an empty body, which leads to either a burst of instant retries or a needless give-up. Idempotency (making it safe to send the same request twice) on anything that changes data finishes the job, and the delegation cycle explains how it works.
Rendering pages so agents can read them
The least sophisticated item on this page is the one most likely to be your real problem: many AI fetchers don’t run JavaScript. (A fetcher is the program an AI tool sends to collect a page.) A page that builds its content in the visitor’s browser looks like an empty shell to many automated readers. That goes for product pages, pricing, documentation, and support articles alike.
- Build anything you want read on the server, so the page arrives complete. In a modern framework this is a setting for how each page is built, not a rewrite.
- Test it by fetching your own pages without JavaScript and reading what comes back. If the content is missing, AI tools can’t use it.
- Put the important content in the first response, rather than behind something a visitor has to click. Tabs, sections that expand, and endless scrolling all hide content from a reader that fetches the page once.
- Offer a clean text or markdown version of your documentation where you can. It’s cheap, and it removes any doubt about what your docs say.
- Don’t put ordinary public content behind pop-up pages or challenges. That’s the same mistake as blocking every bot, just made in how the page is built.
Bot verification
Any policy that treats agents differently depends on knowing which agent is calling. A bot’s user agent (the name a program sends with each request) is only a claim, and anyone can send any name.
Web Bot Auth is the answer taking shape. The IETF, the body that sets internet standards, chartered the WEBBOTAUTH working group in 2026. There’s no RFC (a finished standard) yet, so expect details to move. The method combines existing pieces rather than inventing new ones. An agent signs its requests using RFC 9421 HTTP Message Signatures and publishes a directory of its keys, which the receiving service checks the signature against. The result is cryptographic proof of which operator sent a request, instead of a label anyone could fake. It already runs on live systems, so it pays to understand it now while the details change.
The older methods still work and still matter. The companies behind the big crawlers (bots that collect pages for search and AI) publish the internet addresses their bots use, so you can allow those addresses. A forward-confirmed reverse DNS check, which looks up the name behind an address and confirms that the name points back to it, is still reliable for the operators that support it. Both are worth setting up today, and you can run them alongside signature checks.
Present verification as a reward rather than a barrier. An agent that proves who it is should get higher limits, better data, or abilities that unidentified traffic doesn’t get, because agents identify themselves when it gets them something. And remember what verification can’t do. An AI browser working in a user’s own session looks like an ordinary browser, so verification tells you about automation that declares itself and nothing about the rest.
A sensible order of work
- Build your public pages on the server and check that they can be read without JavaScript.
- Fix the errors, status codes, pagination, and rate-limit details on the API you already have.
- Publish a generated OpenAPI description at a fixed address that needs no login.
- Add idempotency keys to every request that changes data.
- Set up your logs so you can sort agent traffic by who runs it and what it’s for.
- Ship an MCP server that covers your handful of most valuable tasks.
- Add verification, using published address lists and reverse DNS now, and signatures as the standard settles.
- Register WebMCP tools on the pages where an agent in the browser would be doing real work.
Steps one to five deliver most of the value, and none of them depend on a standard that might change.
Further reading from Field Notes
Posts with more on this topic, each with its date.
Stay Updated
A monthly email about AI search, AI crawler policy (the rules for the AI bots that visit websites), and new standards for agents. It includes every Field Note published that month, and you can unsubscribe at any time.