OpenCode WebMCP acts as a crucial bridge, connecting Model Context Protocol (MCP) clients like OpenCode and Claude Code to the Chromium browser's WebMCP API. This enables AI agents to seamlessly discover and invoke browser-registered tools, transforming web pages into interactive environments for AI. By launching Chromium and utilizing Puppeteer with the Chrome DevTools Protocol, the bridge exposes both imperative and declarative WebMCP tools, complete with multi-tab session management and a critical workaround for a Chrome 150+ WebMCP bug, empowering AI agents to interact with the web conversationally and programmatically.
주요 기능
01Provides bridge-native tools for browser navigation, screenshots, JavaScript execution, and tab management.
02Exposes Chromium's WebMCP tools as standard MCP tools for AI agents.
03Manages multi-tab browser sessions within a single browser context.
04Supports both imperative (JavaScript API) and declarative (HTML attributes) WebMCP API implementations.
05Includes a monkey-patch to work around a WebMCP `invokeTool` bug in Chrome 150+.
061 GitHub stars
사용 사례
01Enable AI agents to directly discover, interact with, and control web page functionalities.
02Automate complex browser-based workflows using conversational commands via MCP clients.
03Extend AI agent capabilities by integrating web-specific tools and data into their operational scope.