Skip to content
AgentReady AI SEARCH · MCP · A2A · WEBMCP
Platform · Custom and headless

Agent-ready custom and headless sites

On your own stack nothing is done for you, and nothing is locked. Every agent surface is a route, a renderer or a header you control. We build them inside your codebase, on your data layer, to the current specs, and we start with the one thing that is often already set without anyone deciding it: what your CDN tells AI crawlers.

Next.jsLaravelNode and PythonCloudflare and Vercel
Agent-readiness scorecard

Custom and headless out of the box

  • MCP server toolingVercel mcp-handler, Cloudflare createMcpHandlerLibrary
  • Markdown at the edgeCloudflare Markdown for Agents, in betaCDN beta
  • AI crawler controlsCloudflare settings for Search, Agent and Training botsCheck first
  • MCP tools on your dataSearch, facts, quotes, orders, account actionsCUSTOM
  • Structured data and Markdown routesRendered from your own modelsCUSTOM
  • Agent card and discovery documentsRoutes under /.well-knownCUSTOM
NATIVEbuilt inPLUGINan extension does itCUSTOMwe build it
Out of the box

What Custom and headless already gives you

  • MCP handlers for your frameworkVercel's mcp-handler runs inside a Next.js route with Streamable HTTP, token verification and protected-resource metadata, and works with Nuxt, SvelteKit and Hono.Vercel docs · Sep 2026
  • MCP on WorkersCloudflare's Agents SDK offers createMcpHandler for stateless remote MCP servers on Workers, with OAuth through its Workers OAuth Provider.Cloudflare docs · 2026
  • Markdown conversion at the edgeCloudflare's Markdown for Agents, a beta announced in February 2026, returns a Markdown version of a page to a client that asks for it. Its own example cut a page from about 16,000 tokens to about 3,000.Cloudflare blog · Feb 2026
  • Bot controls by behaviorCloudflare lets every customer allow or block AI bots by what they do: Search, Agent or Training. Since September 15, 2026, newly onboarded domains block Training and Agent bots on pages that display ads.Cloudflare changelog · Jul 2026
The gap

What still has to be built

  • The tools themselvesA library gives you transport and auth plumbing. Which actions to expose, their schemas, their descriptions and what each may never do are design decisions followed by code.
  • Server-rendered factsMany AI fetchers do not run scripts. Prices, availability and key content that appear only after hydration are invisible to them, so they need to be in the HTML or in a Markdown route.
  • Structured data from your modelsJSON-LD generated from the same objects that render the page, so the two cannot disagree, and validated in your pipeline.
  • Discovery documentsAgent card, server card, catalog entry, llms.txt and the link relations that point to them. Each is a small route. Together they are how an agent finds the rest.
  • OAuth for anything behind a loginAccount tools need protected-resource metadata, PKCE and scoped tokens, so an assistant acts as one customer and nobody else.
How we do it

Our approach on Custom and headless

We work in your repository and your framework, in PHP and Laravel, Node or Python, and deliver through your own review and deploy process.

CDN and firewall first

Before building anything, we request your pages as search crawlers, AI crawlers and user-triggered agents and read what comes back. A Training block can also stop Googlebot-class crawlers.

AI crawler access

An MCP route in your app

Tools written against your service layer, served from a route in the same deployment, answering the current stateless MCP revision and the older handshake.

MCP servers and tools

OAuth for account tools

Protected-resource metadata, PKCE and scoped tokens on your existing identity system, with a confirmation step on every tool that writes.

Agent security

JSON-LD and Markdown from one source

A single serializer per model feeds the page, the structured data and the Markdown route, with schema validation in CI.

Structured data

Discovery routes and listings

Agent card, server card and catalog entry as routes, then publication to the official MCP Registry and the assistant directories.

A2A and agent cards

WebMCP on key forms

Your main forms and filters registered as page tools for browser agents, behind a feature check, while the API is in origin trial.

WebMCP browser actions
Platform notes

Good to know before you start

  • Check the CDN before anything else. On Cloudflare, multi-purpose crawlers such as Googlebot follow the most restrictive rule that applies, so blocking Training can block them too.
  • MCP 2026-07-28 is stateless and removed the handshake and sessions. Clients on older revisions are still common, so a server has to answer both for a while.
  • A client-rendered storefront can look complete in a browser and empty to an agent. We test with scripts disabled and with each agent's user agent.
  • MCP authorization is based on an OAuth 2.1 draft, not a finished RFC, and dynamic client registration is deprecated in favor of client ID metadata documents. Expect one more round of changes.
  • WebMCP is a community group draft in origin trial in Chrome and Edge. Build it as progressive enhancement, never as the only path.
FAQ

Custom and headless: questions people ask first

Our site is headless. Is that good or bad for agents?
Both. You already have a clean data layer and an API, which makes tools and structured data direct to build. The risk is the front end: if content appears only after scripts run, many AI fetchers see an empty page. Server rendering or Markdown routes for key pages solve that.
Which stacks do you build on?
PHP and Laravel, Node services including Next.js routes, and Python services. The MCP layer is thin, so it follows your stack. We do not ask you to adopt a new runtime for it.
Should we host the MCP server with the app or separately?
With the app when the tools read your own data, because they share models, auth and deploys. Separately, for example on a Worker, when you want isolation or the main app is hard to change. We recommend one after reading your architecture.
We are on Cloudflare. Is there anything to check first?
Yes. Look at the AI bot settings for Search, Agent and Training traffic and at any managed robots.txt. Domains onboarded since September 15, 2026 block Training and Agent bots on pages that display ads by default, and a Training block can also affect multi-purpose crawlers. We test what each bot receives before changing anything.
Do you take over our codebase?
No. We work through pull requests in your repository, to your conventions, with tests. At hand-over your team owns every route and can extend the tool list without us.
Free agent readiness check

See your site the way an agent does

Enter your address. The four robots check AI crawler access, structured data, discovery files and agent tools, and show you every finding. Free, and no account is needed.

Prefer to talk it through? Get a scope or book a 20-minute call.

Free checkNo accountEvery finding shownFixed-scope quote