Agent Ready Webmcp

Sub-skill de agent-ready-cloudflare: Implement WebMCP

fabricioctelles Updated

File contents

Implement WebMCP

Expose site tools to AI agents via the browser using the WebMCP API (Chrome blog).

Requirements

  • Call navigator.modelContext.registerTool() for each tool you want to expose
  • Each tool needs name, description, inputSchema (JSON Schema), and an execute callback
  • Tools should expose your site's key actions (search, navigation, data retrieval)
  • Use an AbortController signal to unregister tools when no longer needed
  • The API is detected via browser rendering — ensure the script runs on page load

Validate

POST https://isitagentready.com/api/scan
Content-Type: application/json

{"url": "https://YOUR-SITE.com"}

Check that checks.discovery.webMcp.status is "pass".

fabricioctelles/skills/tree/main/skills/agent-ready-cloudflare/webmcp commit 0f0f0c46e0

Frequently asked questions

npx skillmds@latest add fabricioctelles/agent-ready-webmcp