WebMCP • Agent-Ready Web
This Site Speaks WebMCP
I don’t just talk about MCP; this site runs it. lomicka.com implements WebMCP, a draft web API from the W3C Web Machine Learning Community Group that lets a page hand AI agents a set of typed tools instead of making them scrape the HTML and guess. Think of it as an MCP server that lives in the page’s JavaScript. No backend, no API keys.
An AI agent running in your browser on this site gets five tools:
get_profile — who I am, what I do, my focus areas, and where to find each page.
get_contact — my public email, phone, and LinkedIn. It reads them; it can’t send anything.
list_posts — my blog posts, newest first, with an optional keyword filter.
get_post — the full text of any one post.
open_page — takes you to a page on this site, so you can see what the agent found.
The first four are read-only. Nothing here writes, submits, or phones home. The whole thing is one dependency-free external script with no inline code, and it checks for WebMCP before doing anything, so in a browser without it, it simply does nothing.
Why It Matters
Agents that scrape pages get things wrong. Agents that call a tool with a schema get exactly what the site meant to say. If AI assistants are going to read your site on someone’s behalf, and they already are, you want them reading the source of truth, not a guess.
Where Browsers Are Today
Early. WebMCP is a Community Group draft, not a W3C standard. Chrome offers it as an origin trial starting in Chrome 149, and it’s off by default for everyone else. Firefox and Safari don’t have it. So today this is about being ready, not about traffic.
Try It Yourself
Chrome’s docs tell you to turn on chrome://flags/#enable-webmcp-testing. On Chrome 157 that flag didn’t expose the API for me. What worked was closing Chrome completely and launching it with the feature switch and a throwaway profile (Windows shown):
"C:\Program Files\Google\Chrome\Application\chrome.exe" --enable-features=WebMCP --user-data-dir=%TEMP%\webmcp-test https://lomicka.com
Then open DevTools (F12), make sure device emulation is off, type allow pasting if Chrome asks, and run this in the Console:
const tools = await document.modelContext.getTools();
console.table(tools.map(t => ({ name: t.name, readOnly: t.annotations?.readOnlyHint })));
const run = (name, args = {}) =>
document.modelContext.executeTool(tools.find(t => t.name === name), args);
console.log(await run("get_profile"));
console.log(await run("list_posts", { query: "webmcp", limit: 3 }));
You’ll get a table of the five tools, my profile, and the matching posts. Read the full story, gotchas included.