Skip to content
tregix

// free tool

WebMCP generator: make your forms usable by agents.

Scan a page for search, contact, login and checkout forms. Get document.modelContext.registerTool() bindings for each, ready to review and ship.

Detects forms in your server-rendered HTML (search, contact, newsletter, login, checkout) and generates document.modelContext.registerTool() bindings for each.

Questions

What is WebMCP?

A W3C Community Group proposal that adds document.modelContext to the browser, so a web page can register tools an AI agent running in that browser can call directly, reusing your existing JavaScript, sharing the user's session, with the browser enforcing permissions. It's not a finished standard: Chrome and Edge ship it behind a flag or origin trial as of 2026.

How does the generator find my forms?

It fetches your page's server-rendered HTML and looks for <form> elements, classifying each by its fields, action and submit-button text: search, login, contact, newsletter, checkout, or generic. The same limit as our agent-readiness checker applies: a form injected by client-side JS after hydration won't appear in a static fetch, because there's no headless browser behind this.

Is the generated code safe to ship as-is?

Review it first. Descriptions are inferred from field names and submit-button text, good enough to start from, not guaranteed accurate. Every registration is annotated with readOnlyHint and untrustedContentHint so an agent (and a human reviewing the code) can see at a glance whether a tool just reads or actually changes something, and the login/signup/checkout descriptions explicitly tell the model to confirm with the user first.

Why does it check for `document.modelContext` before registering?

Because the API doesn't exist in most browsers yet. The generated snippet no-ops safely everywhere else instead of throwing.

Is anything sent to a server?

The scan itself is: we fetch your page server-side to read its HTML, the same way the agent-readiness checker does. Nothing is stored.

Understand your results

Done for you

Agentic Commerce Readiness

We get e-commerce stores ready for agentic commerce: product data agents can parse, checkouts AI shopping agents can complete, and the protocols behind them, from the Agentic Commerce Protocol (ACP) to the Universal Commerce Protocol (UCP) and AP2.

See how we do it

Questions about your results?

Want these wired into your app properly, with real auth and error handling? Send us a note and we'll reply within one business day from Florida, United States.

// ready_when_you_are

Get your store recommended by AI

Tell us about your store and what you sell. We'll show you how ChatGPT, Perplexity and Google AI see it today and what to fix first.