cdp-mcp-gateway
CDP-to-MCP 网关
本地 Python 守护进程,将您正在使用的 Google Chrome 浏览器(通过 Chrome DevTools 协议)连接到模型上下文协议(MCP)服务器,使本地 AI 代理能够无缝控制您的浏览器。
快速开始
启动 Chrome 并启用远程调试:
# Windows
"C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222
# macOS
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222安装依赖:
pip install -r requirements.txt运行 MCP 网关:
python main.pyRelated MCP server: Agentic Browser MCP Server
功能特性
零登录重新认证:直接连接到您已通过人类身份验证的 Chrome 标签页。
LLM 优化的 DOM:去除脚本标签、隐藏元素、SVG,并以简单的顺序 ID
[e1]、[e2]呈现交互元素。FastMCP 标准工具:
read_page、click_element、fill_input、navigate。
由 M Sai Sohan (@sohan-a11y) 构建
如果您觉得这个项目有用,请在 GitHub 上给它一个 ⭐!
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Official Browserless MCP server: browser automation, scraping, screenshots and PDFs for AI agents.
Web scraping, browser automation, screenshots and AI data extraction for AI agents via MCP.
Browser MCP for logged-in tasks. Uses your Chrome — credentials stay local. Zero-token replay.
Remote MCP server exposing your Node Command fleet (files, shell, processes, browser) to AI hosts.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to control Chrome browser actions like navigation, clicking, form filling, screenshots, and console/network logging via an MCP server and Chrome extension.MIT
- FlicenseNot gradedqualityDmaintenanceA local MCP server that connects to a Chrome extension to enable AI agents to control browser tabs, execute automation, and interact with web pages via tools.-
- AlicenseNot gradedqualityAmaintenanceA local MCP server that enables AI coding assistants to drive the real, already-logged-in Chrome browser — navigating pages, clicking, typing, reading content, taking screenshots, and inspecting tabs, cookies, and network traffic through natural language. It works as a Chrome extension, so no remote-debugging port needs to be opened and pages the user is already signed into are fully usable.1 npmISC
- AlicenseNot gradedqualityAmaintenanceA local MCP server that lets AI coding tools drive the user's actual, already-logged-in Chrome browser — snapshotting pages, clicking, typing, navigating, reading content, taking screenshots, and inspecting cookies, network traffic, and console output. Browser automation happens through a Chrome extension using Native Messaging, so no remote-debugging port is exposed and all communication stays on the local machine.1 npmISC