# WebMCP -- browser-native tools for agents

DevFeed: [WebMCP -- browser-native tools for agents](<https://devfeed.tech/articles/webmcp-browser-native-tools-for-agents-89093.md>)

Original publisher: [Read original article](<https://specification.website/spec/agent-readiness/webmcp/>)

Author: Joost de Valk

Published: 2026-10-16T00:00:00Z

Content type: tutorial

Language: en

Sources: [The Website Specification](<https://devfeed.tech/sources/the-website-specification.md>)

Topics: [MSP MCP](<https://devfeed.tech/topics/msp-mcp.md>), [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [Agent Browser](<https://devfeed.tech/topics/agent-browser.md>)

Tags: [agent-readiness](<https://devfeed.tech/tags/agent-readiness.md>), [ai](<https://devfeed.tech/tags/ai.md>), [browser-agents](<https://devfeed.tech/tags/browser-agents.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [optional](<https://devfeed.tech/tags/optional.md>), [webmcp](<https://devfeed.tech/tags/webmcp.md>)

## AI overview

The article explains how WebMCP lets web pages expose structured JavaScript tools to AI agents running in the browser. It covers feature detection, deferred script loading, schema and safety annotations, error handling, and matching browser tools with server-side MCP tools. The API is still early, so the article recommends treating it as optional until a major browser supports it without a flag.

## Source excerpt

WebMCP lets a page register tools that an in-browser AI agent can call directly, using the `document.modelContext` JavaScript API. It turns a site into an agent surface without server-side MCP plumbing.