WebMCP

This site is machine-friendly: every page doubles as a WebMCP server — a proposed W3C standard that lets AI agents running in your browser discover and use tools exposed by the page you’re visiting.

WebMCP: checking…

Tools available to browser agents

  • search_site read — semantic + keyword search over every page of this site.
  • read_page read — full text of any page, by path.
  • ask_site read — ask a question; get a generated answer grounded in this site, with sources.
  • get_site_map read — list of all page paths.
  • contact_miquel write — send the site owner a message on the user's behalf (agents confirm with the user first).

These tools are registered on every page of this site, not just this one — this page exists to show their status and document them. They follow the WebMCP proposal (Chrome origin trial — enable chrome://flags/#enable-webmcp-testing, or the site needs an origin-trial token).

Agents without browser WebMCP can use the hosted MCP endpoint at https://api.miquelpuigturon.com/mcp.

How it works

When a WebMCP-capable agent visits any page on this site, the tools listed above are registered through the browser’s modelContext API. The agent can then search everything I’ve written, read any page, ask questions grounded in the site’s content — or send me a message on your behalf (it will ask you for your name, email and message first; that tool is marked as a write, so agents confirm before using it). All of this runs without any server-side integration, using your own browsing session.

On this site, the tools are backed by Cloudflare AI Search, which crawls and indexes all pages (synced daily).

For agents without browser WebMCP

The same search capability is exposed as a hosted Model Context Protocol endpoint on this site’s own API domain, plus a small public HTTP API:

Status

WebMCP is experimental: it is shipping as a Chrome origin trial. Until it lands, the tools activate only in browsers that enable it (e.g. via chrome://flags/#enable-webmcp-testing). The hosted MCP endpoint above works everywhere, today.

Comments

No comments yet.