{
 "url": "https://agenticweb.wiki/compare/mcp-vs-webmcp/",
 "title": "Model Context Protocol vs WebMCP: differences & adoption",
 "description": "MCP vs WebMCP: architecture differences, wire formats, governance, and verified ecosystem adoption.",
 "markdown_url": "https://agenticweb.wiki/compare/mcp-vs-webmcp/index.md",
 "markdown": "# Model Context Protocol vs WebMCP\n\n**Domains:** Agent Harnesses, RPC Transports & UI Protocols × Browser APIs, Engine Positions & GenAI Telemetry · **Relationship:** Peer tool surfaces · server vs browser\n\nMCP and WebMCP expose structured tools across server and browser surfaces: MCP connects hosts to servers via `JSON-RPC 2.0` over `stdio` and Streamable HTTP, whereas WebMCP registers in-page tools on `document.modelContext` via `document.modelContext.registerTool()` to run `execute` callbacks. [1][4][5][20][26] Use MCP for backend APIs and local subprocesses, and WebMCP for live in-page session actions without DOM scraping. [1][4][20][24]\n\n## Quick facts comparison\n\n| Field | Model Context Protocol | WebMCP |\n| --- | --- | --- |\n| **Category** | [Act](/category/act/) | [Act](/category/act/) |\n| **Tier & lifecycle** | Flagship · Active | Flagship · Active |\n| **Track** | Foundation / Consortium Specification; founding project of the Agentic AI Foundation [3] | W3C Community Group report, not a W3C Standard and not on the W3C Standards Track [20] |\n| **Originated by** | Anthropic; co-invented by David Soria Parra and Justin Spahr-Summers (open-sourced November 2024) [3][10][11] | Brandon Walderman, Leo Lee, Andrew Nolan, David Bokan, Khushal Sagar, and Hannah Van Opstal (August 13, 2025). [25] |\n| **Governed by** | Agentic AI Foundation (AAIF) under the Linux Foundation since 2025-12-09; Lead Maintainers hold final decision authority [3][11] | Web Machine Learning Community Group. Editors: Walderman, Sagar, Farolino, Dallstream. Repo created 2025-08-05. [20][25] |\n| **Status** | Active open standard; current stateless specification version `2026-07-28` is ready for use; next specification targeted for late March 2027 [9][12] | Draft Community Group Report, 11 November 2026. [20] |\n| **Latest version** | `2026-07-28` (stateless core); prior handshake revisions: `2025-11-25`, `2025-06-18`, `2025-03-26`, and `2024-11-05`; next specification targeted for late March 2027 [1][9][13] | Published draft, 11 November 2026. Main explainer: first published August 13, 2025. [20][24] |\n| **Form** | Endpoint | Browser API |\n| **Wire / transport** | JSON-RPC 2.0 requests, responses, and notifications (`application/json` and `text/event-stream`) [5][14] · `stdio` (newline-delimited JSON-RPC over subprocess streams) and Streamable HTTP (`POST` to one MCP endpoint) [4][5] | — |\n| **Found at** | Operator endpoint URL or `server.json` in [Official MCP Registry](/protocols/mcp-registry/); optional [MCP Server Card](/protocols/mcp-server-cards/) at any unreserved URI (with `<streamable-http-url>/server-card` reserved as the recommended location) [15][16] | Tools register on the open page's `document.modelContext`. Clients must visit the site. [26][27] |\n| **Primary specification** | [Model Context Protocol Specification (2026-07-28)](https://modelcontextprotocol.io/specification/2026-07-28) [1] | [WebMCP](https://webmachinelearning.github.io/webmcp/) [20] |\n| **Last checked** | 2026-11-11 | 2026-11-11 |\n\n## Problem, mechanism & scope\n\n- **Model Context Protocol problem, mechanism & scope boundary:** Before MCP, connecting AI assistants to external content repositories and legacy systems required a custom integration for every data source, isolating models behind information silos. Even after MCP standardized JSON-RPC host-to-server connectors, revisions through 2025-11-25 opened a stateful session via an `initialize` handshake and `Mcp-Session-Id` header, preventing follow-up requests from landing freely on any instance behind a plain round-robin load balancer without shared storage. [2][6][7][10] Revision 2026-07-28 puts `io.modelcontextprotocol/protocolVersion` and `io.modelcontextprotocol/clientCapabilities` in `_meta` on every JSON-RPC request, and Streamable HTTP repeats that version in `MCP-Protocol-Version`. A server that needs more input during `tools/call`, `resources/read`, or `prompts/get` returns `InputRequiredResult` with `input_required` instead of starting its own JSON-RPC request. [5][6][17] Servers remain isolated from the full conversation and from other connected servers, while optional protocol extensions require explicit opt-in from both client and server. HTTP authorization is optional and uses OAuth 2.1 Protected Resource Metadata (`RFC 9728`) and Resource Indicators (`RFC 8707`), whereas `stdio` retrieves credentials from the environment. [1][18][19]\n- **WebMCP problem, mechanism & scope boundary:** Without an in-browser tool surface, browser agents must observe page state through screenshots, DOM trees, and accessibility snapshots and then act by simulating human user input, while external tool integrations require each service to maintain bespoke backend connectors with individual AI platforms. [24] WebMCP turns an open web page into a client-side counterpart to a [Model Context Protocol](/protocols/mcp/) server: the application registers JavaScript functions with natural-language descriptions and structured schemas on `document.modelContext`, and the browser mediates agent calls by invoking each tool's in-page `execute` callback within the user's live session. [20][24] Published as a W3C Community Group report rather than a W3C Standards Track specification, WebMCP standardizes only the imperative in-page JavaScript registration API and leaves both headless backend transports and declarative HTML `<form>` tool synthesis outside the normative specification. [20][24][33]\n\n## Overview\n\n### Model Context Protocol\n\n*This article covers the Model Context Protocol (MCP) for host-to-server context and tool exchange. For the browser DOM API, see [WebMCP](/protocols/webmcp/); for server discovery, see [Official MCP Registry](/protocols/mcp-registry/) and [MCP Server Cards](/protocols/mcp-server-cards/). [1]*\n\nThe **Model Context Protocol** (**MCP**) is an open protocol that uses `JSON-RPC 2.0` messages to connect LLM host applications with servers that provide context and capabilities. Anthropic introduced it on 2024-11-25 as a universal, open standard for connecting AI systems with data sources. The Linux Foundation's Agentic AI Foundation (AAIF) now stewards MCP as a founding project, alongside Block's goose and OpenAI's AGENTS.md. [1][2][3] On `stdio`, the client launches the MCP server as a subprocess; the server reads JSON-RPC messages from `stdin` and writes JSON-RPC messages to `stdout`, delimited by newlines. On Streamable HTTP, every JSON-RPC request is its own HTTP `POST` to a single MCP endpoint, and the server answers with either `Content-Type: application/json` or `Content-Type: text/event-stream`. [4][5] The 2025-11-25 revision serves as the legacy Streamable HTTP session baseline (succeeding 2025-03-26 and 2024-11-05), while the 2026-07-28 revision retires the `initialize` / `notifications/initialized` handshake, `Mcp-Session-Id` headers, and standalone GET SSE streams. [5][6][7] A roadmap published on 2026-08-22 organizes later specification work into five priority areas, picking up server-initiated events, result type improvements, and agent identity, together with HTTP-native transport and SDK developer experience. [8] On 2026-10-30 the official Ruby SDK reached Tier 1, with full support for the 2026-07-28 specification and a 100% conformance pass rate across both scored spec versions. [9] The Ruby SDK team has committed to supporting the next MCP specification, targeted for late March 2027, by its release date. [9]\n\n### WebMCP\n\n*This page covers the W3C Web Machine Learning Community Group's client-side `document.modelContext` browser API specification. It is distinct from two earlier community prototypes that shared the name—`jasonjmcghee/WebMCP` (created 2025-03-04) and Alex Nahas's `MiguelsPizza/WebMCP` / MCP-B (created 2025-06-13)—both acknowledged by the Community Group for early prototyping experience; for the backend JSON-RPC protocol, see [Model Context Protocol](/protocols/mcp/). [20][21][22][23]*\n\n**WebMCP** is a client-side browser API specification published by the W3C Web Machine Learning Community Group that enables web applications to expose structured JavaScript tools to AI agents without relying on simulated DOM input or backend servers. [20] First published on August 13, 2025 by Microsoft and Google engineers, the specification is maintained as a Draft Community Group Report dated 11 November 2026. [20][25] In a `SecureContext`, a page script registers `ModelContextTool` definitions (`name`, `description`, `execute`, and optional `inputSchema`) via the imperative `document.modelContext.registerTool()` method on `Document`. [20][26] Because tools exist only in the open page, browsers and connected agents must visit a site directly to query `document.modelContext` and invoke registered callbacks. [24][27] The API surface evolved from `window.agent` and `provideContext` in the August 2025 proposal to `navigator.modelContext` (February 2026) and `document.modelContext` (May–July 2026), while a proposed declarative `<form>` API was deferred from the specification in October 2026. [24][28][29][30][31][32]\n\n## Adoption and ecosystem\n\n### Model Context Protocol\n\nSee verified implementations and cited ecosystem censuses on the [Model Context Protocol protocol page](/protocols/mcp/#adoption-and-ecosystem).\n\n### WebMCP\n\nSee verified implementations and cited ecosystem censuses on the [WebMCP protocol page](/protocols/webmcp/#adoption-and-ecosystem).\n\n## References\n\n1. Model Context Protocol (AAIF / Linux Foundation), *Model Context Protocol Specification (2026-07-28)*, 2026-07-28 — https://modelcontextprotocol.io/specification/2026-07-28\n2. Anthropic, *Introducing the Model Context Protocol*, 2024-11-25 — https://www.anthropic.com/news/model-context-protocol\n3. The Linux Foundation, *Linux Foundation Announces the Formation of the Agentic AI Foundation (AAIF), Anchored by New Project Contributions Including Model Context Protocol (MCP), goose and AGENTS.md*, 2025-12-09 — https://www.linuxfoundation.org/press/linux-foundation-announces-the-formation-of-the-agentic-ai-foundation\n4. Model Context Protocol (AAIF / Linux Foundation), *stdio Transport — Model Context Protocol Specification (2026-07-28)*, 2026-07-28 — https://modelcontextprotocol.io/specification/2026-07-28/basic/transports/stdio\n5. Model Context Protocol (AAIF / Linux Foundation), *Streamable HTTP Transport — Model Context Protocol Specification (2026-07-28)*, 2026-07-28 — https://modelcontextprotocol.io/specification/2026-07-28/basic/transports/streamable-http\n6. Model Context Protocol (AAIF / Linux Foundation), *Key Changes (2026-07-28) — Model Context Protocol Specification*, 2026-07-28 — https://modelcontextprotocol.io/specification/2026-07-28/changelog\n7. Model Context Protocol (AAIF / Linux Foundation), *Versioning and Compatibility — Model Context Protocol Specification (2026-07-28)*, 2026-07-28 — https://modelcontextprotocol.io/specification/2026-07-28/basic/versioning\n8. David Soria Parra and Den Delimarsky (Model Context Protocol Blog), *The New MCP Roadmap*, 2026-08-22 — https://blog.modelcontextprotocol.io/posts/mcp-roadmap/\n9. Koichi Ito (Model Context Protocol Blog), *The Official Ruby SDK for MCP Reaches Tier 1*, 2026-10-30 — https://blog.modelcontextprotocol.io/posts/ruby-sdk-tier-1/\n10. David Soria Parra and Den Delimarsky (MCP Blog), *MCP 2026-07-28 Specification Release*, 2026-07-28 — https://blog.modelcontextprotocol.io/posts/2026-07-28/\n11. Model Context Protocol (AAIF / Linux Foundation), *Governance and Stewardship — Model Context Protocol*, 2026-10-30 — https://modelcontextprotocol.io/community/governance\n12. Model Context Protocol (AAIF / Linux Foundation), *Versioning — Model Context Protocol Documentation*, 2026-07-28 — https://modelcontextprotocol.io/docs/2026-07-28/learn/versioning\n13. MCP Ruby SDK, *Protocol Versions*, checked 2026-10-30 — https://ruby.sdk.modelcontextprotocol.io/protocol-versions/\n14. Model Context Protocol (AAIF / Linux Foundation), *Base Protocol Overview — Model Context Protocol Specification (2026-07-28)*, 2026-07-28 — https://modelcontextprotocol.io/specification/2026-07-28/basic\n15. Model Context Protocol (AAIF / Linux Foundation), *About the Official MCP Registry*, 2026-10-30 — https://modelcontextprotocol.io/registry/about\n16. Model Context Protocol (AAIF / Linux Foundation), *SEP-2127: MCP Server Cards — HTTP Server Discovery*, 2026-01-21 — https://modelcontextprotocol.io/seps/2127-mcp-server-cards\n17. Model Context Protocol (AAIF / Linux Foundation), *Multi Round-Trip Requests — Model Context Protocol Specification (2026-07-28)*, 2026-07-28 — https://modelcontextprotocol.io/specification/2026-07-28/basic/patterns/mrtr\n18. Model Context Protocol (AAIF / Linux Foundation), *Architecture — Model Context Protocol Specification (2026-07-28)*, 2026-07-28 — https://modelcontextprotocol.io/specification/2026-07-28/architecture\n19. Model Context Protocol (AAIF / Linux Foundation), *Authorization — Model Context Protocol Specification (2026-07-28)*, 2026-07-28 — https://modelcontextprotocol.io/specification/2026-07-28/basic/authorization\n20. Web Machine Learning Community Group (editors Brandon Walderman, Khushal Sagar, Dominic Farolino, and Samuel Dallstream), *WebMCP*, Draft Community Group Report, 11 November 2026 — https://webmachinelearning.github.io/webmcp/\n21. Alexander Nahas (MiguelsPizza), *WebMCP*, repository created 2025-06-13 — https://github.com/MiguelsPizza/WebMCP\n22. Jason McGhee, *WebMCP*, repository created 2025-03-04 — https://github.com/jasonjmcghee/WebMCP\n23. W3C Web Machine Learning Community Group, *WebML WG teleconference minutes*, 14 August 2025 — https://www.w3.org/2025/08/14-webmachinelearning-minutes.html\n24. webmachinelearning/webmcp (GitHub), *WebMCP*, checked 2026-11-04 — https://raw.githubusercontent.com/webmachinelearning/webmcp/main/README.md\n25. Brandon Walderman, Leo Lee, Andrew Nolan, David Bokan, Khushal Sagar, and Hannah Van Opstal, *WebMCP explainer*, first published August 13, 2025 (commit 7edc0e18) — https://github.com/webmachinelearning/webmcp/blob/7edc0e1818636182e352b3b15d9203a29b18319b/README.md\n26. Web Machine Learning Community Group, *WebMCP explainer*, first published August 13, 2025 — https://github.com/webmachinelearning/webmcp\n27. Alexandra Klepper, François Beaufort, and Kasper Kulikowski (Chrome for Developers), *WebMCP*, published 18 May 2026; last updated 7 October 2026 — https://developer.chrome.com/docs/ai/webmcp\n28. Brandon Walderman, Andrew Nolan, David Bokan, Khushal Sagar, and Hannah Van Opstal, *WebMCP API proposal*, August 13, 2025 — https://github.com/webmachinelearning/webmcp/blob/7edc0e1818636182e352b3b15d9203a29b18319b/docs/proposal.md\n29. Dominic Farolino, *Initialize a Navigator's modelContext member*, 19 February 2026 — https://github.com/webmachinelearning/webmcp/commit/41dd8292ac19db6a43ea58aefc8fcb4662742411\n30. Dominic Farolino, *Move the modelContext getter to Document (#184)*, 27 May 2026 — https://github.com/webmachinelearning/webmcp/commit/c7b5c7023f6e6a1c7a2495946136eb19b3109ae6\n31. Dominic Farolino (Chromium), *WebMCP: Remove navigator.modelContext*, 9 July 2026 — https://github.com/chromium/chromium/commit/4a9fee9eafcabd675c7245cc1b0acc1ca5f17d99\n32. François Beaufort, *Remove declarative API from the spec for now (#338)*, 8 October 2026 — https://github.com/webmachinelearning/webmcp/commit/14ae813cc4e9fe0d39313f4b1ee5b231746731ad\n33. PPC Land, *Chrome 149 origin trial puts WebMCP in developers' hands at last*, checked 2026-10-30 — https://ppc.land/chrome-149-origin-trial-puts-webmcp-in-developers-hands-at-last/\n"
}