独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
R

random-robbie/mcp-web-browser

Headless browsing with Playwright

装之前:没有可直接复制的命令 · 许可证未标注 · 链接可访问

第一步:pip install mcp playwright

在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网

我们没有从该仓库取到可核对的安装命令,也没有公开的远端端点。这两样都没有时,我们不出配置——编一条出来比不给更糟。 各客户端的接法 →

来源明细
收录自 abordage/awesome-mcp 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-11-05 · 最近见到 2026-11-14 · 共见到 10 次 · 被 10 个来源列出
评分构成
综合分 1,003 · 10 个来源 · mcp
常见问题(答案都来自我们的记录)
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
我们收录于 2026-11-05;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。

# MCP Web Browser Server

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

An advanced web browsing server for the Model Context Protocol (MCP) powered by Playwright, enabling headless browser interactions through a flexible, secure API.
## 🌐 Features
Headless Web Browsing: Navigate to any website with SSL certificate validation bypass
Full Page Content Extraction: Retrieve complete HTML content, including dynamically loaded JavaScript
Multi-Tab Support: Create, manage, and switch between multiple browser tabs
Advanced Web Interaction Tools:
Extract text content
Click page elements
Input text into form fields
Capture screenshots
Extract page links with filtering capabilities
Scroll pages in any direction
Execute JavaScript on pages
Refresh pages
Wait for navigation to complete
Resource Management: Automatic cleanup of unused resources after inactivity
Enhanced Page Information: Get detailed metadata about the current page
## 🚀 Quick Start
### Prerequisites
Python 3.10+
MCP SDK
Playwright
### Installation
bash
# Install MCP and Playwright
pip install mcp playwright
# Install browser dependencies
playwright install
### Configuration for Claude Desktop
Add to your claudedesktopconfig.json:
json
"mcpServers": {
"web-browser": {
"command": "python",
"args": [
"/path/to/your/server.py"
## 💡 Usage Examples
### Basic Web Navigation
python
# Browse to a website
pagecontent = browseto("https://example.com")
# Extract page text
textcontent = extracttextcontent()
# Extract text from a specific element
titletext = extracttextcontent("h1.title")
### Web Interaction
python
# Navigate to a page
browseto("https://example.com/login")
# Input text into a form
inputtext("#username", "yourusername")
inputtext("#password", "yourpassword")
# Click a login button
clickelement("#login-button")
### Screenshot Capture
python
# Capture full page screenshot
fullpagescreenshot = getpagescreenshots(fullpage=True)
# Capture specific element screenshot
elementscreenshot = getpagescreenshots(selector="#main-content")
### Link Extraction
python
# Get all links on the page
pagelinks = getpagelinks()
# Get links matching a pattern
filteredlinks = getpagelinks(filterpattern="contact")
### Multi-Tab Browsing
python
# Create a new tab
tabid = createnewtab("https://example.com")
# Create another tab
anothertabid = createnewtab("https://example.org")
# List all open tabs
tabs = listtabs()
# Switch between tabs
switchtab(tabid)
# Close a tab
closetab(anothertabid)
### Advanced Interactions
python
# Scroll the page
scrollpage(direction="down", amount="page")
# Execute JavaScript on the page
result = executejavascript("return document.title")
# Get detailed page information
pageinfo = getpageinfo()
# Refresh the current page
refreshpage()
# Wait for navigation to complete
waitfornavigation(timeoutms=5000)
## 🛡️ Security Features
SSL certificate validation bypass
Secure browser context management
Custom user-agent configuration
Error handling and comprehensive logging
Configurable timeout settings
CSP bypass control
Protection against cookie stealing
## 🔧 Troubleshooting
### Common Issues
SSL Certificate Errors: Automatically bypassed
Slow Page Load: Adjust timeout in browseto() method
Element Not Found: Verify selectors carefully
Browser Resource Usage: Auto-cleanup after inactivity period
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/random-robbie-mcp-web-browser/)
来源
awesome · https://github.com/random-robbie/mcp-web-browser
按领域浏览
MCP 服务
收录来源
10 个独立来源
收录于
今天

同类推荐

全部 6,229 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引