agenticweb.wiki

NLWeb vs Model Context Protocol

Last checked · 30 primary sources

Agent Harnesses, RPC Transports & UI Protocols Complementary layers

Model Context Protocol (complements NLWeb): Per NLWEBSPEC.md §2.1, NLWeb is transport-protocol agnostic and treats MCP as an optional transport and tool binding, while its direct HTTP binding uses POST /ask and POST /await returning Schema.org JSON. [1][12]

Quick facts comparison

FieldNLWebModel Context Protocol
CategoryActAct
Tier & lifecycleSpec Brief · Active DraftFlagship · Active
TrackOpen-source community draft specification (nlweb-ai/NLWeb) and W3C NLWeb Community Group (non-Recommendation track) [5][8]Foundation / Consortium Specification; founding project of the Agentic AI Foundation [15]
Originated byR.V. Guha (Microsoft CVP & Technical Fellow; creator of RSS, RDF, Schema.org) and Microsoft (19 May 2025; repo created 28 April 2025) [2][7][8]Anthropic; co-invented by David Soria Parra and Justin Spahr-Summers (open-sourced November 2024) [15][22][23]
Governed bynlweb-ai GitHub org (July 2025) and W3C NLWeb Community Group (20 October 2025; no chairs); Microsoft retains copyright and NLWebSup@microsoft.com [3][4][6]Agentic AI Foundation (AAIF) under the Linux Foundation since 2025-12-09; Lead Maintainers hold final decision authority [15][23]
StatusPublic and open to contributions; the code is framed as a demonstration: "NLWeb provides practical implementation code—not as the definitive solution, but as proof-of-concept demonstrations showing one possible approach." The latest commit on main is dated 2026-06-10. A path-traversal flaw in the reference server was reported in August 2025: "What's worse is that it's a classic path traversal flaw, meaning it's as easy to exploit as visiting a malformed URL."; a later review notes "A release note in docs/release_notes lists a fix for a "path traversal vulnerability in static file handler" (PR #231)" and "When we queried the repository's GitHub security advisories on 24 October 2026, none were published." [1][9][10]Active open standard; current stateless specification version 2026-07-28 is ready for use; next specification targeted for late March 2027 [12][21]
Latest versionSpec: NLWeb Specification v0.55 (NLWEBSPEC.md, 2026-03-23, succeeding v0.54); Server (nlweb-ai/NLWeb): commit 2026-06-10 (0 releases/tags; /ask and /mcp endpoints); PyPI nlweb-core: v0.7.0 (2026-02-19, v0.5) [1][9][10]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 [13][21][24]
FormEndpointEndpoint
Wire / transportJSON over HTTP (application/json), SSE (text/event-stream), and JSON-RPC 2.0 (/mcp) with Schema.org / JSON-LD @context and @type objects [1][6][9]JSON-RPC 2.0 requests, responses, and notifications (application/json and text/event-stream) [17][25] · stdio (newline-delimited JSON-RPC over subprocess streams) and Streamable HTTP (POST to one MCP endpoint) [16][17]
Found atNo fixed .well-known path; routes are /ask, /await, /mcp, /who, /sites (/_api/nlweb/mcp on Wix), advertised via /agents.md or /llms.txt [1][9][11]Operator 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) [26][27]
Primary specificationNLWeb Specification v0.55 · NLWeb REST API · nlweb-ai/NLWeb · W3C NLWeb CG [1][6][9]Model Context Protocol Specification (2026-07-28) [13]
Last checked2026-11-122026-11-11

Problem, mechanism & scope

Overview

NLWeb

This page is about NLWeb (Natural Language Web), the open project that Microsoft announced on 2025-05-19 and R.V. Guha conceived, which gives a website a natural-language ask interface over its own Schema.org-shaped content and runs each instance as an MCP server. For the Model Context Protocol (MCP), the open protocol that connects AI applications to external tools and data, see that page and the NLWeb vs MCP comparison. For the browser API that lets a web page offer tools to an agent, see WebMCP. NLWeb is not NL Web, a French web agency: "L'agence Web « NL Web », c'est l'histoire d'une passion pour le monde du web. Derrière ce nom, se cache un expert en développement web et applications mobiles". [1]

NLWeb (NLWeb Specification v0.55) defines a standardized interface for natural language interactions with agents. It abstracts the complexity of agentic interactions, such as tool use, long-running tasks, and rich structured data, into a unified protocol. [1] The project was conceived and developed by R.V. Guha, creator of RSS, RDF, and Schema.org, CVP and Technical Fellow at Microsoft, along with contributors from Microsoft and the open-source community. [2] NLWeb supports streaming responses via Server-Sent Events (SSE) over HTTP transport. Streaming is requested by setting prefer.streaming to true. [1] The start event is sent once at the beginning of the stream. Clients SHOULD use this event to initialize their response handling. The complete event is sent once to signal the end of the stream. Clients MUST process this event to capture session state for subsequent requests. [1] 202 Accepted is the promise response for long-running tasks. POST /await checks on or cancels a promised result. [1] The specification heading is NLWeb Specification v0.55. Changes from v0.54 to v0.55 promote streaming to its own section with formal SSE event type definitions for start, result, error, and complete. [1] The repository was migrated from microsoft/NLWeb to an independent GitHub organization at NLWeb-ai, described as a neutral space where contributors from any company or background can collaborate. The license text remains MIT License Copyright (c) Microsoft Corporation. [3][4] The NLWeb Community Group was originally proposed on 2025-10-16 by Ramanathan Guha. W3C's hosting of this group does not imply endorsement of the activities. [5] NLWeb provides practical implementation code-not as the definitive solution, but as proof-of-concept demonstrations showing one possible approach. [6]

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. [13]

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. [13][14][15] 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. [16][17] 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. [17][18][19] 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. [20] 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. [21] The Ruby SDK team has committed to supporting the next MCP specification, targeted for late March 2027, by its release date. [21]

Adoption and ecosystem

NLWeb

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

Model Context Protocol

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

References

  1. nlweb-ai/website (GitHub), NLWeb Specification v0.55 (nlweb-ai/website NLWEBSPEC.md), checked 2026-10-30 — https://raw.githubusercontent.com/nlweb-ai/website/main/NLWEBSPEC.md
  2. Microsoft, Microsoft News: Introducing NLWeb, checked 2026-10-30 — https://news.microsoft.com/source/features/company-news/introducing-nlweb-bringing-conversational-interfaces-directly-to-the-web/
  3. nlweb ai, NLWeb Wiki: Repository Migration Notice, checked 2026-10-30 — https://github.com/nlweb-ai/NLWeb/wiki/We've-moved-to-our-new-home!
  4. nlweb-ai/NLWeb (GitHub), nlweb-ai/NLWeb MIT License, checked 2026-10-30 — https://raw.githubusercontent.com/nlweb-ai/NLWeb/main/LICENSE
  5. W3C, W3C NLWeb Community Group, checked 2026-10-30 — https://www.w3.org/community/nlweb/
  6. nlweb-ai/NLWeb (GitHub), nlweb-ai/NLWeb README.md, checked 2026-10-30 — https://raw.githubusercontent.com/nlweb-ai/NLWeb/main/README.md
  7. Microsoft, Microsoft Build 2025: Building the Open Agentic Web, checked 2026-10-30 — https://blogs.microsoft.com/blog/2025/05/19/microsoft-build-2025-the-age-of-ai-agents-and-building-the-open-agentic-web/
  8. nlweb-ai/NLWeb (GitHub), GitHub Repository Metadata: nlweb-ai/NLWeb, checked 2026-10-30 — https://github.com/nlweb-ai/NLWeb
  9. nlweb-ai/NLWeb (GitHub), NLWeb REST API Documentation (nlweb-rest-api.md), checked 2026-10-30 — https://raw.githubusercontent.com/nlweb-ai/NLWeb/main/docs/nlweb-rest-api.md
  10. Safeguard, Safeguard: NLWeb Explained and Security Analysis, checked 2026-10-30 — https://www.safeguard.sh/resources/blog/nlweb-explained-natural-language-endpoints-for-websites-mcp-and-how-to-secure-them
  11. Wix, Wix Help Center: Enabling NLWeb for AI Agent Access, checked 2026-10-30 — https://support.wix.com/en/article/enabling-nlweb-for-ai-agent-access
  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. Model Context Protocol (AAIF / Linux Foundation), Model Context Protocol Specification (2026-07-28), 2026-07-28 — https://modelcontextprotocol.io/specification/2026-07-28
  14. Anthropic, Introducing the Model Context Protocol, 2024-11-25 — https://www.anthropic.com/news/model-context-protocol
  15. 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
  16. 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
  17. 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
  18. 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
  19. 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
  20. David Soria Parra and Den Delimarsky (Model Context Protocol Blog), The New MCP Roadmap, 2026-08-22 — https://blog.modelcontextprotocol.io/posts/mcp-roadmap/
  21. 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/
  22. 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/
  23. Model Context Protocol (AAIF / Linux Foundation), Governance and Stewardship — Model Context Protocol, 2026-10-30 — https://modelcontextprotocol.io/community/governance
  24. MCP Ruby SDK, Protocol Versions, checked 2026-10-30 — https://ruby.sdk.modelcontextprotocol.io/protocol-versions/
  25. 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
  26. Model Context Protocol (AAIF / Linux Foundation), About the Official MCP Registry, 2026-10-30 — https://modelcontextprotocol.io/registry/about
  27. 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
  28. 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
  29. 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
  30. 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

nlweb.json · mcp.json · JSON · Markdown