agenticweb.wiki

Model Context Protocol vs WebMCP

Last checked · 33 primary sources

Agent Harnesses, RPC Transports & UI Protocols × Browser APIs, Engine Positions & GenAI Telemetry Peer tool surfaces · server vs browser

MCP 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]

Quick facts comparison

FieldModel Context ProtocolWebMCP
CategoryActAct
Tier & lifecycleFlagship · ActiveFlagship · Active
TrackFoundation / 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]
Originated byAnthropic; 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]
Governed byAgentic 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]
StatusActive 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]
Latest version2026-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]
FormEndpointBrowser API
Wire / transportJSON-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]—
Found atOperator endpoint URL or server.json in Official MCP Registry; optional MCP Server Card 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]
Primary specificationModel Context Protocol Specification (2026-07-28) [1]WebMCP [20]
Last checked2026-11-112026-11-11

Problem, mechanism & scope

Overview

Model Context Protocol

This article covers the Model Context Protocol (MCP) for host-to-server context and tool exchange. For the browser DOM API, see WebMCP; for server discovery, see Official MCP Registry and MCP Server Cards. [1]

The 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]

WebMCP

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. [20][21][22][23]

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]

Adoption and ecosystem

Model Context Protocol

See verified implementations and cited ecosystem censuses on the Model Context Protocol protocol page.

WebMCP

See verified implementations and cited ecosystem censuses on the WebMCP protocol page.

References

  1. Model Context Protocol (AAIF / Linux Foundation), Model Context Protocol Specification (2026-07-28), 2026-07-28 — https://modelcontextprotocol.io/specification/2026-07-28
  2. Anthropic, Introducing the Model Context Protocol, 2024-11-25 — https://www.anthropic.com/news/model-context-protocol
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. David Soria Parra and Den Delimarsky (Model Context Protocol Blog), The New MCP Roadmap, 2026-08-22 — https://blog.modelcontextprotocol.io/posts/mcp-roadmap/
  9. 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/
  10. 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/
  11. Model Context Protocol (AAIF / Linux Foundation), Governance and Stewardship — Model Context Protocol, 2026-10-30 — https://modelcontextprotocol.io/community/governance
  12. Model Context Protocol (AAIF / Linux Foundation), Versioning — Model Context Protocol Documentation, 2026-07-28 — https://modelcontextprotocol.io/docs/2026-07-28/learn/versioning
  13. MCP Ruby SDK, Protocol Versions, checked 2026-10-30 — https://ruby.sdk.modelcontextprotocol.io/protocol-versions/
  14. 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
  15. Model Context Protocol (AAIF / Linux Foundation), About the Official MCP Registry, 2026-10-30 — https://modelcontextprotocol.io/registry/about
  16. 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
  17. 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
  18. 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
  19. 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
  20. 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/
  21. Alexander Nahas (MiguelsPizza), WebMCP, repository created 2025-06-13 — https://github.com/MiguelsPizza/WebMCP
  22. Jason McGhee, WebMCP, repository created 2025-03-04 — https://github.com/jasonjmcghee/WebMCP
  23. W3C Web Machine Learning Community Group, WebML WG teleconference minutes, 14 August 2025 — https://www.w3.org/2025/08/14-webmachinelearning-minutes.html
  24. webmachinelearning/webmcp (GitHub), WebMCP, checked 2026-11-04 — https://raw.githubusercontent.com/webmachinelearning/webmcp/main/README.md
  25. 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
  26. Web Machine Learning Community Group, WebMCP explainer, first published August 13, 2025 — https://github.com/webmachinelearning/webmcp
  27. 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
  28. 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
  29. Dominic Farolino, Initialize a Navigator's modelContext member, 19 February 2026 — https://github.com/webmachinelearning/webmcp/commit/41dd8292ac19db6a43ea58aefc8fcb4662742411
  30. Dominic Farolino, Move the modelContext getter to Document (#184), 27 May 2026 — https://github.com/webmachinelearning/webmcp/commit/c7b5c7023f6e6a1c7a2495946136eb19b3109ae6
  31. Dominic Farolino (Chromium), WebMCP: Remove navigator.modelContext, 9 July 2026 — https://github.com/chromium/chromium/commit/4a9fee9eafcabd675c7245cc1b0acc1ca5f17d99
  32. François Beaufort, Remove declarative API from the spec for now (#338), 8 October 2026 — https://github.com/webmachinelearning/webmcp/commit/14ae813cc4e9fe0d39313f4b1ee5b231746731ad
  33. 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/

mcp.json · webmcp.json · JSON · Markdown