What are the WebMCP markers AgentReady looks for on a homepage?

By the Ingenious AI team · Published 14 November 2026 · Reviewed 14 November 2026

Check your own store free. AgentReady fetches your catalog, structured data, crawler rules and policies, then shows — with evidence — what AI shopping agents can and cannot read.

Scan my store free → Check one product's truth →

The short answer

They are the registration's footprints. When a page sets up WebMCP, its code references navigator.modelContext — and that reference is what AgentReady's scanner searches your homepage HTML for. Found: the WebMCP tool-surface check passes (5 points) with 'navigator.modelContext reference found' as the evidence. Not found: it warns with 'no WebMCP markers in homepage HTML'. Detection is deliberately shallow — presence of the registration's trace, not a live tool call — which makes the markers' survival through theme and script changes the thing to protect.

What is modelContext markers?

modelContext markers are the traces of a WebMCP tool registration in a page's code — references to navigator.modelContext (or document.modelContext) in the homepage HTML, indicating the page registers tools agents can call. AgentReady's WebMCP check searches the fetched homepage for these markers (and the pattern 'webmcp' / 'ModelContext'), while the replay additionally accepts a manifest at /.well-known/webmcp.json.

Detection follows the registration, honestly labelled

The scanner's WebMCP test is a pattern match over the homepage's HTML for the modelContext references a registration leaves behind. That shallowness is a design honesty worth appreciating: the check claims exactly what it verifies — a tool surface is signalled on the page — and nothing more. It does not call your tools, does not validate each tool's behaviour, and does not claim an agent session occurred; the product-wide rule against claiming live agent interactions applies to its own marketing copy about your store. A pass means agents arriving at the page encounter a registered surface to discover; the quality of what they find beneath the registration remains, as it should, your engineering concern and your own testing's subject.

The replay's version of the step casts one net wider: markers first, then — if none — a fetch of /.well-known/webmcp.json, whose success also establishes the surface. Two instruments, two nets, one consistent philosophy: discoverability through either agreed route counts, because agents in the wild use both. The scan's homepage evidence tells you which net caught yours ('reference found' versus the fallback's file status), and that detail is diagnostic gold when a redesign rearranges one route and not the other.

What silently removes markers

Markers die in the ordinary accidents of web operations, and they die quietly because nothing human-facing breaks. Theme updates replace the template or script bundle that carried the registration. Script optimisers and tag managers reorder, defer or drop the inline block that performed it. A/B testing tools serve variant pages, some carrying the registration, some not — so the surface flickers per visitor cohort, and agents sample whichever variant their request draws. Consent platforms gate scripts behind acceptance, and an agent that does not click 'accept' receives the unregistered page. Each mechanism is defensible in isolation; their shared product is a surface that exists on the owner's browser and not on the agent's fetch.

The owner's verification trap is symmetrical to the bot-wall problem in the product-pages guide: the registration is visible in the owner's environment (logged in, consent accepted, cache warm, variant A) and absent in the agent's (fresh, consentless, variant B). Only an unadorned outside fetch reads the truth — fetch the homepage without cookies and search the source for modelContext the way the scanner does. If your own grep finds nothing, no agent will find anything either, whatever the staging environment shows.

Placement: where the registration should live

Put the registration in the layer with the longest life expectancy: a small, owned plugin or a first-party script file included by the base template — not inline in a theme template that a redesign will replace, and not inside a tag-manager container whose rules a marketing change can pause. Version it with the site's own releases so its presence is a checklist item in the deployment pipeline ('markers present in production homepage source' is a one-line smoke test, automatable in the same spirit as the scanner's check). Treat the registration script like the feed endpoints: production infrastructure with an owner, not page decoration.

Scope matters too. The scan reads the homepage, because the homepage is the discovery surface every agent is guaranteed to visit; registrations that live only on deep pages exist for agents who already navigated there. Register the core surface (search, contact, lead tools) at the homepage level, and let page-specific tools register on their pages as well. The manifest file at /.well-known/webmcp.json then advertises the whole inventory at domain level, and the two routes corroborate each other the way the fallback design intends.

Markers, manifests and the drift between them

When both routes exist, they can drift: the homepage registration evolves with the code while the manifest file, written once, advertises the launch inventory — including a retired tool whose endpoint now errors. An agent discovering through the file calls a dead tool; an agent discovering through the page never learns the retired tool existed. The drift is the stale-feed disease at the tool layer, and its cure is the same single-sourcing: generate the manifest from the same definitions the registration uses — or, as AgentReady's Pro generator does, from the detected real forms — and regenerate on change. A manifest carrying a generation date and source is one whose freshness can be audited at a glance.

The check cadence completes the defence: re-scans re-read the homepage markers on every run, and the replay tests discoverability daily on paid plans, recording the step's evidence source (homepage status versus fallback file status) each time. A surface that quietly changes its discovery route — markers gone, file carrying — shows up as an evidence change in the timeline before it ever shows up as a failure. Read evidence, not just verdicts; the route change is the early warning.

What a marker promises an agent

Pause on the semantics: a registration is a promise that the named operations exist, accept the declared inputs, and behave as described. Agents will build plans on that promise — multi-step interactions whose later steps assume the earlier tools worked. A marker advertising aspirational tools (registered before the endpoints exist, or left behind after the feature is cut) is worse than no marker: it converts an honest 'scrape my forms' into a broken sanctioned path, and agents weight sanctioned-path failures heavily when deciding whether a store is competently machine-readable at all. Publish the registration when the tools are real, withdraw it the day they stop being real, and let the manifest and the markers share one retirement discipline.

This promise-keeping is the tool-layer version of the series' master rule — surfaces must agree with reality — and it suggests a launch pattern: register a small, true surface early (search, contact, subscribe: the low-risk forms), verify discoverability with the scan and the replay, and grow the inventory as real endpoints mature. A small true surface compounds trust; a large fictional one spends it. The five points are the same either way, which is precisely why the points are not the point.

Troubleshooting a WebMCP warn, in order

When the check warns, work the vantage points in order. Fetch the production homepage unauthenticated and grep for modelContext: absent means the registration is not being served — hunt the layer that dropped it (theme, optimiser, tag manager, consent gate). Present in your fetch but warned in the scan: suspect per-request variance — caching or A/B variants serving different HTML to different fetchers — and fetch repeatedly from different contexts until the flicker shows itself. Present and passing, but the manifest route broken: fix the file separately, since the replay's fallback evidence is telling you the second doorbell is dead even though the first works.

Close every fix the same way: an outside grep, a re-scan showing the pass, and — if you run replays — a timeline entry where the webmcp_surface step passes with its evidence source back to the homepage. Then write down which layer owned the failure. The list of marker-killers (theme updates, script tooling, consent changes) is short and recurs across the industry; the next incident will be one of them again, and the runbook entry turns it from a debugging session into a checklist.

Marker check: five things to verify

Verify the registration the way the scanner does — an unadorned outside fetch and a search for the trace:

  1. Fetch your production homepage logged out, view the source, and search for navigator.modelContext (or document.modelContext) — the reference must be present.
  2. House the registration in an owned plugin or first-party script, not a theme template or tag-manager rule that redesigns and campaigns can drop.
  3. Confirm consent gates and script optimisers do not strip the registration for non-consenting readers — agents do not click 'accept'.
  4. Keep the manifest at /.well-known/webmcp.json describing the same tools the markers register; regenerate both from the same source on change.
  5. Add 'markers present in homepage source' as a post-deploy smoke check, and re-run the free scan after theme or script changes.

Worked example: the consent banner that hid the tools

A fictional homeware store in Belize, Casa Verde Living, registers its WebMCP surface correctly and passes the check at launch. A quarter later it installs a consent platform that defers all 'non-essential' scripts until acceptance — a category the consent tool assigns to the registration script by default. Human visitors accept and lose nothing. Agents, which do not interact with consent banners, now receive a homepage with no modelContext reference at all, and the store's next re-scan flips WebMCP to warn, evidence reading 'no WebMCP markers in homepage HTML'.

The fix is a classification, not a removal: the registration script is marked as a functional script in the consent platform (it provides site functionality to machine readers; it sets no tracking cookies), and the consent configuration stops gating it. The re-scan passes again. The store adds the incident to its change checklist under the general rule it illustrates: any system that decides what loads — consent, optimisers, tag managers — is part of the agent surface whether it knows it or not, and its changes get an outside grep before they are called done.

Frequently asked questions

Exactly what pattern does the scanner search for?

References to navigator.modelContext / ModelContext (including the 'webmcp' pattern) in the fetched homepage HTML. The evidence states the result plainly: 'navigator.modelContext reference found' or 'no WebMCP markers in homepage HTML'. The replay's step additionally accepts a successful /.well-known/webmcp.json fetch as the surface.

Does a pass mean my tools were tested?

No — the check grades discoverability: a registered surface is signalled on the page agents land on. It does not call tools or run an agent session, consistent with the product-wide rule that no live agent interactions are claimed. Tool quality remains your own testing's job; discoverability is the scan's.

My markers show in my browser but the scan warns. What differs?

Your environment: login state, accepted consent, warm cache, A/B variant. The scanner fetches fresh and consentless. Usual culprits are consent platforms gating the registration, script optimisers dropping it, or variant systems serving different HTML per request. Fetch the homepage unauthenticated and grep it yourself — that fetch is the ground truth.

Where should the registration code live?

In the longest-lived layer you own: a small first-party plugin or script included by the base template. Not inline in a theme (redesigns replace it) and not in a tag manager (campaigns pause it). Register the core tools at homepage level, since that is the discovery surface the scan — and every agent — is guaranteed to visit.

How do markers and the manifest stay in agreement?

Single-source them: generate the manifest from the same definitions (or, as in AgentReady's Pro generator, from the detected real forms) and regenerate on change. The replay's step evidence even records which route established the surface on each run, so a quiet route change is visible in the timeline before it becomes a failure.

AgentReady is built by Ingenious AI. Every verdict in an AgentReady scan traces to values actually fetched from the store — no live AI-agent queries are run or claimed.