[FEATURE] WebMCP support in Claude Chrome Extension
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
The "Claude in Chrome" extension interacts with websites via screenshots and DOM snapshots — fragile, token-expensive, and semantically blind to what the site can actually do.
The W3C WebMCP spec (navigator.modelContext) lets websites register structured callable tools. Chrome 146 Canary already ships an early preview behind a flag. The community fork @mcp-b/chrome-devtools-mcp proves the concept works via CDP. But the Claude Chrome Extension has no way to discover or invoke these tools.
Proposed Solution
Add WebMCP discovery and invocation to the Claude Chrome Extension:
- Discovery: When connected to a page, query
navigator.modelContextfor registered tools (either native in Chrome 146+ or via the@mcp-b/globalpolyfill). Expose discovered tools as first-class MCP tools available to Claude Code. - Invocation: Allow Claude to call WebMCP tools by name with structured parameters, receiving structured JSON responses — bypassing the need for screenshot/click/type workflows.
- Dynamic updates: Re-scan tools on navigation, detecting when pages register or unregister tools.
This would complement the existing extension capabilities (screenshot, click, type) with structured tool interaction when websites support it.
Alternative Solutions
- Use
@mcp-b/chrome-devtools-mcpfork — works today but requires a separate Puppeteer-managed Chrome instance, losing the key advantage of "Claude in Chrome": operating in the user's real authenticated session with cookies and login state. - Use Chrome DevTools MCP (Google upstream) +
--autoConnect— separate browser context, no WebMCP support in upstream anyway. - Wait for native Chrome integration — Chrome 146 Canary has
navigator.modelContextbehind a flag, but production rollout timeline is unclear, and this doesn't help the extension discover/invoke the tools.
Priority
Medium - Would be very helpful
Feature Category
MCP server integration
Use Case Example
- An e-commerce site registers WebMCP tools:
searchProducts,addToCart,checkout - User opens the site in Chrome, logged in with their account
- User runs
claude --chromeand asks: "Find all wireless headphones under $100" - Claude discovers the
searchProductstool with its JSON schema - Claude calls
searchProducts({ query: "wireless headphones", maxPrice: 100 })— a single structured call - The tool executes within the user's authenticated session and returns structured JSON
- Claude presents the results
Without WebMCP, Claude would need to: take a screenshot → find the search input → type → click → wait → screenshot again → visually parse results — multiple rounds of expensive, fragile interactions.
Additional Context
- WebMCP W3C Spec — co-authored by Google and Microsoft engineers
- Chrome 146 Canary early preview — behind
chrome://flags→ "WebMCP for testing" @mcp-b/chrome-devtools-mcp— community fork proving the concept works via CDP@mcp-b/global— polyfill (v1.5.0) enabling WebMCP on any browser today- WebMCP reduces token usage by ~90% compared to screenshot-based browser interaction
- The security model aligns with the extension's existing approach: tools inherit the user's browser session, with browser-mediated permission prompts
This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗