MCP服务器提供浏览器自动化功能,支持stdio、SSE和Streamable HTTP传输协议
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"mcp-browser-tools","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# MCP Browser Tools [](https://www.python.org/downloads/) [](https://opensource.org/licenses/MIT) [](https://pypi.org/project/mcp-browser-tools/) [](https://github.com/astral-sh/uv) MCP (Model Context Protocol) 浏览器自动化工具包,提供网页信息获取和浏览器操作功能,帮助AI模型与网页进行交互。 支持三种传输协议:stdio、SSE (Server-Sent Events) 和 Streamable HTTP。 ## 功能特性 - 🌐 **网页导航**:导航到任意URL并等待页面加载完成 - 📄 **内容提取**:获取页面HTML、文本内容和元信息 - 🎯 **元素操作**:点击、填写表单等页面交互操作 - ⏱️ **智能等待**:等待特定元素出现 - 🔍 **信息提取**:提取页面中的链接、图片等结构化信息 - 📸 **截图功能**:截取页面截图 - 💻 **JavaScript执行**:在页面中执行JavaScript代码 - 🔄 **多协议支持**:支持 stdio、SSE 和 Streamable HTTP 三种传输协议 - ⚡ **实时通信**:通过 SSE 和 HTTP Stream 实现服务器推送和双向通信 - 🛡️ **安全验证**:输入验证和错误处理 - 📊 **性能监控**:工具执行时间监控和日志记录 ## 安装 ### 从 PyPI 安装 ```bash pip install mcp-browser-tools ``` ### 从源码构建安装 使用 [uv](https://github.com/astral-sh/uv) 构建和安装: ```bash # 克隆仓库 git clone https://github.com/K-Summer/mcp-browser-tools.git cd mcp-browser-tools # 使用 uv 构建 uv build # 安装构建的包 uv pip install dist/mcp_browser_tools-*.whl ``` ### 开发安装 ```bash # 克隆仓库 git clone https://github.com/K-Summer/mcp-browser-tools.git cd mcp_browser_tools # 创建虚拟环境并安装 uv venv source .venv/bin/activate # Linux/macOS # 或 .venv\Scripts\activate # Windows # 安装开发依赖 uv pip install -e . uv pip install -e ".[dev]" # 安装开发依赖 ``` ## 🚀 快速开始 ### 1. 安装 Playwright 浏览器 ```bash playwright install ``` ### 2. 验证安装 ```bash # 检查版本 mcp-browser-tools --version # 查看帮助 mcp-browser-tools --help # 列出支持的传输协议 mcp-browser-tools --list-transports ``` ### 3. 选择传输协议并启动服务器 #### 传输协议选择指南 | 协议 | 适用场景 | 优点 | 缺点 | | --------------- | ----------------- | ------------------------ | ------------------------- | | **stdio** | CLI工具、本地开发 …
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.