Public Beta

One script tag. Your print shop is agent-readable.

WebMCP lets a web page hand tools to the AI agent standing in it. This script registers the GutenLex tools on your page: an agent can read what you make, check whether you can make a given configuration, fingerprint it and get a quote — all in the GutenLex Standard, all answered live from your Vendor Profile.

Install

<script src="https://gutenlex.com/webmcp/v1.js"
        data-vendor="<your glx-vh/1 vendor hash>"></script>

Paste it before </body> on any page of your site — the storefront, a product page, the contact page. The vendor hash is shown on the last step of the Vendor Profile builder, next to your UCP manifest. Nothing else to configure; no keys in the page.

Tools registered

ToolWhat the agent gets
org.ptpge.print.catalogread-onlyYour public offerings: products, formats, weights, colours, lead time, minimum order — from the Directory card of your profile.
org.ptpge.print.validateread-onlyCan you make this configuration? Checked against your capability envelope; near-misses explain what the closest offering supports instead.
org.ptpge.print.fingerprintread-onlyThe ptpge-cfs/1 identity of the configuration — spec and offer profiles, resolvable at ptpge.org/f/….
org.ptpge.print.quoteread-onlyPrice and lead time from your published price rules, with an offer fingerprint the agent can cite. No commitment.
org.ptpge.print.orderconsequential · opt-inSandbox intake of a configured job with buyer contact. Only registered when the tag carries data-order="on".
Same family as the UCP extension org.ptpge.print.identity in your /.well-known/ucp manifest: the manifest tells an agent who you are before the visit; these tools let it act during the visit.

What runs where

The script is thin on purpose. Your capability envelope stays in your Vendor Profile, fingerprints are computed and registered by GutenLex, quotes come from the Engine. Nothing is bundled into the page, so the tools are always current with the Standard — and nothing about your prices or envelope is exposed beyond what your public profile already shows.

Browsers without WebMCP ignore it: the tools are still available to in-page scripts as window.GutenLexWebMCP.tools, and nothing else happens. No cookies, no storage, no tracking.

Status

WebMCP is a W3C Community Group draft (editors from Microsoft and Google); Chrome ships it behind an origin trial, and ChatGPT's desktop browser uses site tools since 31 August 2026. Expect the API to change — that is why the script is hosted and versioned: we update it, your tag stays. Prefer to host it yourself? Available on request for Enterprise profiles; the tools always call the API live.

Try it without an agent

// in the browser console of a page carrying the tag
const t = GutenLexWebMCP.tools.find(x => x.name === "org.ptpge.print.validate");
await t.execute({
  product: "ordering/products/flyers",
  bindings: [{ variable: "variables/configuration/format",
               value: "printing/configurations/formats/a-series/a6" }],
  quantity: 500
});