Skip to main content
Declarative WebMCP maps annotated HTML forms to tools while keeping the form visible to the user. Its proposal and implementation details remain split across upstream sources.

Upstream sources

The Community Group draft does not yet contain a complete normative declarative definition. Treat the explainer as proposal design and Chrome’s documentation as Chrome implementation behavior.

MCP-B coverage

The W3C Community Group polyfill, @w3c/webmcp-polyfill, does not implement declarative tools yet. Until it does, the deprecated @mcp-b/webmcp-polyfill and @mcp-b/global add them on top of it for browsers without native support. Existing native SubmitEvent hooks are preserved. @mcp-b/react-webmcp provides JSX declarations for the supported form attributes; it does not add a separate declarative runtime. For imperative JavaScript tools, use the WebMCP API quick reference.