WebMCP — browser-native tools for agents
type: TechArticle
description: WebMCP lets a page register tools that an in-browser AI agent can call directly, using a `navigator.modelContext` JavaScript API. It turns a site into an agent surface without server-side MCP plumbing.
language: en
is part of: Web Specification Studio
author: Web Specification Studio
publisher: Web Specification Studio
license: https://creativecommons.org/licenses/by/4.0/
date modified: 2026-07-16T00:00:00.000Z
citation: WebMCP — W3C Web Machine Learning Community Group
  type: CreativeWork
  publisher: W3C WebML CG
citation: webmachinelearning/webmcp on GitHub
  type: CreativeWork
  publisher: W3C WebML CG
citation: Model Context Protocol — Tools
  type: CreativeWork
  publisher: MCP

Web Specification Studio
type: WebSite

Web Specification Studio
type: Organization

breadcrumb
type: BreadcrumbList
item list element: Home
  type: ListItem
  position: 1
  item: https://webspecification.com/
item list element: Spec
  type: ListItem
  position: 2
  item: https://webspecification.com/spec/
item list element: Agent Readiness
  type: ListItem
  position: 3
  item: https://webspecification.com/spec/agent-readiness/
item list element: WebMCP — browser-native tools for agents
  type: ListItem
  position: 4
  item: https://webspecification.com/spec/agent-readiness/webmcp/