EN / БГ5.0 on Google
Get a quoteWe reply the same day

How to Add WebMCP to Your Website

Sign up for Chrome's free WebMCP trial, put the code it gives you in every page, then add a few lines of JavaScript for each thing an AI assistant should be able to ask your website, like your prices or opening hours. We did exactly this on our own website on 29 October 2026, and this is the full method, including the mistakes that are easy to make.

What is WebMCP, in plain words?

Today, when an AI assistant helps someone on a website, it reads the page like a person would and tries to work out what is there. WebMCP gives your website a way to say: here are the things I can do, here is what each one needs, and here is the answer. It is a proposed web standard from Google and Microsoft, and Chrome is testing it now. Websites that sign up to the trial can switch it on today; for everyone else it simply does nothing yet.

The steps

Go to Chrome's origin trials page, find WebMCP and press Register. Enter your web address, tick match all subdomains so it covers www as well, choose the usage band, and accept the four conditions. You will get a long code. The trial is free.

Add the code to the head of every page as a meta tag (first line of the example below). It is not a secret, so it is fine for anyone to see it in your page's code.

Pick the questions people actually ask you: prices, opening hours, services, how to book. Give each one a clear description, because that description is what the assistant reads when it decides which tool to use.

A few lines of JavaScript per tool. Here is a complete example with one tool:

<meta http-equiv="origin-trial" content="YOUR-TRIAL-CODE">
<script>
  const mc = document.modelContext;
  if (mc?.registerTool) {
    mc.registerTool({
      name: 'get_opening_hours',
      description: 'Our opening hours, day by day.',
      inputSchema: { type: 'object', properties: {} },
      annotations: { readOnlyHint: true },
      execute: async () => JSON.stringify({ monday: '09:00 to 18:00' }),
    });
  }
</script>

Open your page in Chrome, open the developer tools and look for the WebMCP panel, or use Google's Model Context Tool Inspector extension. Make sure every tool appears and gives a sensible answer. On your own computer you can also switch it on without the trial code at chrome://flags/#enable-webmcp-testing.

What are the mistakes to avoid?

  • Following an older guide. Chrome has moved where the tools live, and older guides still use navigator.modelContext, which Chrome is removing. Use document.modelContext.
  • Forgetting the subdomain box. Without it, the code may not cover the www version of your address.
  • Two versions of your prices. Feed the tools from the same place your pages get their facts, so the assistant and the page never disagree.
  • Vague descriptions. "Gets data" tells an assistant nothing. "Our prices in euro, with a link to what is included" tells it exactly when to use the tool.
  • Tools that act without asking. Keep tools to reading where you can. If one ever does something, like making a booking, ask the person to confirm first.

Questions

Does WebMCP help me get found on Google?

No, not directly. It is not a ranking signal. It is for AI assistants working inside the browser for someone, and those are only just starting. Its value is being ready early, and being sure an assistant gets your real prices and details rather than a guess.

What does WebMCP cost?

Nothing. The Chrome trial is free, and the tools are a few lines of code on your own website.

Is WebMCP safe?

It is if you keep the tools to reading. Ours can only look things up. If a tool ever does something, like making a booking, the person should be asked to confirm first, and Chrome's own guidance says the same.

Which browsers support WebMCP?

Chrome, from version 149, for websites that sign up to the trial, which runs until 30 March 2027 at the latest. Microsoft Edge runs its own trial. In every other browser your website works exactly as it does now, because the tools simply do not appear.

Do I need WebMCP now?

If your website already answers the basics clearly, WebMCP is a small job that puts you ahead early. If your website still cannot tell Google what you do and what it costs, fix that first, because the same clarity is what makes these tools useful.

See it working

Our own website has run six WebMCP tools since 29 October 2026, and we report what we learn every month in the experiment. If you would rather we set it up for you, it comes with every website we build.

Sources

Български