{"slug": "show-hn-latch-make-any-website-usable-by-ai-agents-in-one-line-webmcp", "title": "Show HN: Latch – Make any website usable by AI agents in one line (WebMCP)", "summary": "Latch launched a free, open-source script that exposes a website's search, cart, and contact forms as WebMCP tools for AI agents, installed with a single line before the closing body tag. The roughly 6 KB script has zero dependencies, performs read-only discovery, and degrades silently on pages where WebMCP is not present, requiring no MCP server, API keys, or build step. Latch charges only for an opt-in hosted dashboard that reports agent tool name, outcome, and page path, and makes zero network calls when no data-key is added.", "body_md": "AI agents are already clicking through your site — and failing on your\n      buttons and forms. Latch exposes your search, cart, and contact forms as\n      **WebMCP tools** an agent can actually use. No server. No rewrite.\n\n`<script src=\"https://latch.tools/latch.js\" defer></script>`\nDrop it before </body>. Zero dependencies · ~6 KB · degrades silently where WebMCP isn't present.\n\nIt reads your page (read-only) and registers the actions an agent needs — nothing else.\n\nFinds your search box, types the query, and submits — so an agent can look things up.\n\nDetects \"Add to cart / Buy now\" controls and clicks them on the agent's behalf.\n\nMaps your contact / booking / signup fields into a tool an agent can fill and send.\n\nSurfaces your main nav links so an agent can move around the site reliably.\n\nRead-only discovery. If WebMCP isn't there, Latch does nothing and never breaks your page.\n\nOne static script. No MCP server to host, no API keys, no build step.\n\nThis page runs Latch on *itself*. Below is exactly what an AI agent now sees.\n      Try the demo search and contact form — they're real, and Latch turned them into tools.\n\nThe script is free and open source forever. Pay only if you want the hosted dashboard that shows what agents actually do on your site.\n\nInstall free first — Pro shows *your* agent\n          traffic, so upgrade from your dashboard once agents start visiting.\n\nAnalytics is **opt-in and metadata-only**:\n      add data-key to your script tag and Latch reports tool name, outcome,\n      and page path — never form contents, query strings, or PII. No key, and Latch makes zero network calls.\n\nTell us what you need — we read every message and reply by email.", "url": "https://wpnews.pro/news/show-hn-latch-make-any-website-usable-by-ai-agents-in-one-line-webmcp", "canonical_source": "https://latch.tools/", "published_at": "2026-10-24 05:41:41+00:00", "updated_at": "2026-10-24 06:11:21.059303+00:00", "lang": "en", "topics": ["ai-agents", "agent-protocols", "ai-tools", "developer-tools"], "entities": ["Latch", "WebMCP"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/show-hn-latch-make-any-website-usable-by-ai-agents-in-one-line-webmcp", "markdown": "https://wpnews.pro/news/show-hn-latch-make-any-website-usable-by-ai-agents-in-one-line-webmcp.md", "text": "https://wpnews.pro/news/show-hn-latch-make-any-website-usable-by-ai-agents-in-one-line-webmcp.txt", "jsonld": "https://wpnews.pro/news/show-hn-latch-make-any-website-usable-by-ai-agents-in-one-line-webmcp.jsonld"}}