Webmcp

WebMCP: expose web page tools to AI agents via document.modelContext, following the W3C Web Machine Learning Community Group draft (Draft Community Group Report, build posture), and upgrade code from the legacy navigator.modelContext drafts. Use when adding, reviewing or testing in-page agent tools in a website or web app: registerTool with name, title, description, inputSchema (JSON Schema) and execute, tool annotations (readOnlyHint, untrustedContentHint, consequentialHint, debugging), unregistering with an AbortSignal, getTools and executeTool for in-page agents, toolchange, toolactivated and toolcancel events, cross-origin exposure with exposedTo and fromOrigins, the tools Permissions-Policy and the iframe allow attribute, and the security and privacy risks (tool poisoning, output injection, misrepresentation of intent, over-parameterization). Triggers: webmcp, web mcp, modelContext, navigator.modelContext, document.modelContext, browser agent tools, agent-ready website, Chrome WebMCP origin trial.

ScaleDockHQ Updated

File contents

ScaleDockHQ/scaledock-skills commit 424032f9d4

Frequently asked questions

npx get-skill add scaledockhq/webmcp