Cherrett Digital

How this site is built, and why

This page is a short technical account of the decisions behind this site — particularly the ones made for machines rather than people. It exists because those decisions are invisible, and because how we build our own site is a reasonable thing to judge us on.

01The premise

The site asks who you are, then changes into a page written for that person. A business manager gets outcomes and a pre-written email. A technical lead gets capability, a schema and a request they can watch being built. An agent gets structured data, a documented endpoint and an MCP server.

The reason it is arranged this way is not novelty. Each route ends in the protocol that person actually communicates in — email, HTTP, a tool call — and that symmetry is the argument the site is making about us. Demonstrating something is more persuasive than claiming it, and considerably harder to fake.

Business ManagerOutcomes, and an email already half-writtenEmailthe compose window
Technical LeadCapability, and a request built as you typeHTTPPOST /api/enquire
AI AgentA manifest, a schema and a server to callTool callsubmit_enquiry over MCP
One inbox · a person reads every enquiry
Fig. 01Three routes, each ending in the protocol its reader already speaks, and all arriving in the same place.

02Every route is in the HTML, always

A persona selector is a trap. The obvious implementation renders one route at a time, which means the first response contains three buttons and nothing else. Every case study, capability, price and interface would be invisible to anything that does not click — which is every crawler, and every language model answering a question about who builds software near Salisbury.

So the server renders all of it, every time. Choosing a route is a display concern, not a rendering one. An inline script in the document head sets three attributes on the html element before the first paint:

<html data-enhanced="true" data-persona="tech" data-mode="human">

and the stylesheet reduces the document to the chosen route. Nothing is removed from the DOM — only hidden — so the content is always there to be read. Because the script runs before paint rather than after hydration, no one ever sees the long version flash past.

  1. 01 · the responseHTML arrives, every route in it
  2. 02 · in <head>A script reads ?t= and sets data-persona
  3. 03 · the stylesheetEvery other route is hidden
  4. 04 · first paintOne route, already chosen
  5. 05 · hydrationJavaScript arrives. Nothing moves.
Fig. 02The route is chosen before anything is drawn, so the first frame is already the right page.
  • data-enhanced — set only once scripting is confirmed. Without it, no route is hidden.
  • data-persona — business, tech or ai. Mirrors the ?t= parameter, so links are shareable.
  • data-fork — fix or build. The business track forks again, and the same reasoning applies to the second fork.
  • data-mode — human or agent. The agent route is a different machine, so the whole document changes palette.

With JavaScript disabled you get one long, complete document containing all three routes. That is not a degraded experience we tolerate; it is the version a crawler reads, and it is why the rest of this works.

GET /One HTML response · all four sections, every time
No JavaScriptopeningbusinesstechaia crawler, a model
data-persona="business"opening · hiddenbusinesstech · hiddenai · hiddena business manager
data-persona="ai"opening · hiddenbusiness · hiddentech · hiddenaidata-mode="agent"
Fig. 03One response from the server. The attributes on <html> decide which part of it is shown; nothing is taken out.

03One schema, four consumers

The technical route builds a real HTTP request as you type. The code on screen is not an illustration of the API — it is generated from the API’s own contract, and so is the form beside it.

  • The console renders its fields from the schema.
  • The code snippet, and the curl equivalent, are generated from the same object.
  • The agent route publishes it verbatim as JSON Schema.
  • The server validates against it.

Four things that could disagree, reading one file. This is not cleverness for its own sake: a published contract that drifts from the validator is worse than no contract, because it is confidently wrong.

the contractdata/schema.ts
  • The consolerenders its fields from it
  • The code and the curlare generated from it
  • The agent routepublishes it as JSON Schema
  • The servervalidates every enquiry against it
Fig. 04One file, read four ways. Change a field once and the form, the code, the published contract and the validator all change with it.

04The machine-readable surface

There are four layers, in descending order of how much they actually matter today.

  • JSON-LD in the document head, and /llms.txt at the root. Unglamorous, and the layer that genuinely decides whether we are found when someone asks an assistant for a supplier.
  • A documented HTTP endpoint. This is what a browsing agent will actually use, because it can read the page and follow the instructions it finds there.
  • An MCP server over Streamable HTTP, with a descriptor at /.well-known/mcp.json.
  • A terminal on the agent route, where every command reads the same data the page renders from.
  1. 01JSON-LD and /llms.txtdecides whether we are found at all
  2. 02POST /api/enquirewhat a browsing agent will really use
  3. 03/mcpfor anyone who configures it
  4. 04The terminalon the agent route
Fig. 05Four layers, widest where the weight is today. The first decides whether we are found at all.

It is worth being honest about the third one. A browsing agent will not discover and connect to an MCP server mid-visit; that is not how it works yet. MCP here is real capability for anyone who configures it, and a signal that we understand the protocol — not a claim that agents are arriving through it.

curl -sX POST https://cherrett.digital/api/enquire \
  -H 'content-type: application/json' \
  -d '{"company":"Acme","contact":"[email protected]",
       "problem":"…","timeline":"exploring","budget_band":"unsure"}'

05The MCP server is stateless, and hand-written

Four tools, all of them request and response: get_capabilities, get_availability, get_clients, submit_enquiry. None of them streams, and none needs to remember anything between calls.

Which means sessions would buy nothing and cost something real. Session resumption over Streamable HTTP wants somewhere to keep the stream, and that is a Redis instance on the monthly bill for a capability no tool here would use. The server declines the SSE stream with a 405 that explains itself, rather than leaving a client waiting on a channel that will never carry anything.

MCP clientcherrett.digital/mcpPOST · initialize200 · the company, described oncePOST · tools/list200 · four tools, annotatedPOST · tools/call submit_enquiry200 · a reference, ENQ-XXXXGET · open a stream405 · no SSE stream — POST JSON-RPC hereNo session. No stream. Nothing kept between calls.
Fig. 06Every exchange is a single request and its answer. The one thing that would need a session, a stream, is declined up front.

It is written directly against JSON-RPC rather than through an adapter. At this size the adapter is more code than the thing it adapts, and writing it out means it runs unchanged wherever the site does.

06How a model knows these tools are ours

A model does not decide to engage with one company’s tools. It sees a single flat list of every tool from every server the user has connected, and matches what the user asked against the descriptions. There is no notion of visiting a site, and nothing announces which company a tool belongs to.

Which makes the description the only thing doing the work, and means a description like "what this studio builds" fails the moment a second server is connected — there is no antecedent for "this studio" in a flat list. So each one names the company, says what it returns, and states its own trigger:

get_availability

  Whether Cherrett Digital is currently accepting work, how soon
  a project could start, and how quickly they reply. Use this when
  someone asks if they are available, how busy they are, or when
  work could begin.

Two other things carry weight. The server returns instructions during the handshake, which most clients put in front of the model once — that is where the company is described properly rather than four times over. And every tool is annotated, so a client can tell the three read-only calls apart from the one that puts a message in somebody’s inbox, and decide for itself what to approve automatically.

It is worth being clear that none of this makes an agent find the server. A person adds it. What this determines is whether, once added, it gets used correctly and at the right moment — which is a smaller claim, and the true one.

07An agent cannot enquire on its own account

How an enquiry arrived is worked out by the server from the request itself, never read from the body — a value the sender controls would simply be set to whichever one carries the weakest checks. There are three: the site’s own form, a direct call to the published endpoint, and the MCP tool. An enquiry submitted over MCP has to name the person it is being sent for. Without it the request is refused:

422 Unprocessable Entity

{
  "error": "invalid_enquiry",
  "errors": [
    {
      "field": "on_behalf_of",
      "message": "required when submitting through MCP — an enquiry from a machine with no named human cannot be actioned"
    }
  ]
}
an enquiry arrivesThe server reads the request, not the body
formour own page · Sec-Fetch-SiteChecked by Turnstile201 · ENQ-XXXX
apiPOST /api/enquire, from anywhereValidated against the schema201 · ENQ-XXXX
mcptools/call submit_enquiryNames a person? on_behalf_ofyes · 201 · ENQ-XXXXno · 422 · refused
Fig. 07The channel is read from the request, never the body. Only the MCP route needs a named person, because it is the only one a machine can use alone.

An agent enquiring for a named buyer is a lead. An agent enquiring because it is exploring is not, and quietly collecting those would only pollute the inbox that a person has to read. Successful submissions return a short reference the agent can hand back to whoever it is working for, which is how a machine-to-machine exchange turns back into a conversation between people.

08The agent instructions are descriptive, never imperative

The machine-readable sections of this site state what exists and how to reach it. They do not tell a visiting agent to do anything.

That is a deliberate line. Text on a page that instructs an agent is prompt injection, whether or not the author meant it that way, and the sensible response from any well-built agent is to distrust the page. A site that tries to steer someone else’s model is telling you something about how it will treat your systems.

09What this site does not do

An event that happens before the question has been answered waits in memory, in that tab, and is sent only if the answer is yes — never written to the device, never transmitted, and thrown away if the answer is no or the tab closes first. Without that, the most useful thing on the site would be unmeasurable: which route somebody claims to be is chosen on the first screen, before anyone has been asked anything.

Something happensa route chosen, on the first screenHeld in memorythis tab only · nothing on the deviceAsked yet?
yesSent, through /ph on cherrett.digitalinputs masked · no third-party domainno · or the tab closesThrown awayno script loaded · nothing sent · nothing stored
Fig. 08Until there is an answer, an event exists only in this tab. Yes sends it through this domain; no, or closing the tab, throws it away.

The MCP server is measured too, and differently: which tools agents reach for, which fail and how long each takes, recorded on the server where there is no browser to ask and nothing stored on anybody’s device. Arguments and results are never captured. The obvious instrumentation records the payload, and the payload of submit_enquiry is somebody’s name, their address and an account of what is going wrong inside their business — which would be a worse disclosure than anything a consent banner covers.

What is measured is never reconciled with what is sold. The CRM is the record of enquiries; the analytics is a record of behaviour, and anybody who declines is invisible in it. Treating the second as a count of the first would be quietly wrong in a way nobody would notice.

There is no database here. An enquiry becomes a company, a person and a note in the CRM, which is where it needs to end up anyway — so storing a second copy alongside it would mean keeping two records in step for no one’s benefit. The write happens after the response has been sent, and a failure is logged in full rather than retried into a queue nobody watches.

In your browser, there is measurement, and it is off until you say otherwise. Decline, or simply never answer, and no analytics script is loaded, no request is made to one and nothing is stored — not a disabled tracker, an absent one. Agree and we record how pages are used: which route people pick, where they stop reading, what they never find. Every input is masked in the recordings, because the compose window holds an email address and somebody describing what is going wrong in their business. It is served through this domain rather than a third-party one, so an ad blocker does not quietly leave us measuring only the people least likely to run one.

If any of this is the sort of decision you would like made about your own systems, that is rather the point. [email protected].