MCP Browser Automation Server
@weir1
关于 MCP Browser Automation Server
MCP server for browser automation with screenshot and console logging capabilities
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is MCP Browser Automation Server?
A simple browser automation server that lets you control browsers, take screenshots, and monitor console logs through a REST API and WebSocket. It is intended for developers who need programmatic control over browser sessions.
How to use MCP Browser Automation Server?
Clone the repository, create a virtual environment, install the Python dependencies from requirements.txt, install Playwright browsers with playwright install, then start the server with python server.py. Interact with it via the documented REST endpoints and WebSocket channel.
Key features of MCP Browser Automation Server
- Create browser sessions.
- Navigate to URLs.
- Take screenshots (full page or specific element).
- Click elements and fill form inputs.
- Monitor console logs in real-time via WebSocket.
- Close sessions.
Use cases of MCP Browser Automation Server
- Automating web page interactions for testing.
- Capturing screenshots of pages or elements.
- Debugging client‑side code by watching console logs.
- Filling and submitting forms programmatically.
FAQ from MCP Browser Automation Server
How do I install the server?
Clone the repository, create a Python virtual environment, install dependencies from requirements.txt, then run playwright install to download browser binaries. Start the server with python server.py.
What runtime dependencies are required?
Python, the packages listed in requirements.txt, and Playwright (which downloads Chromium, Firefox, or WebKit).
How do I take a screenshot of a specific element?
Use the POST /session/{session_id}/screenshot endpoint with a selector query parameter (e.g., .my-element). If no selector is given, a full‑page screenshot is taken.
How can I monitor browser console logs?
Connect to the WebSocket endpoint at /session/{session_id}/console; the server streams console log messages in real‑time.
What transport and authentication are used?
The server uses REST (HTTP) for most operations and WebSocket for console log streaming. No authentication is described in the README.
浏览器自动化 分类下的更多 MCP 服务器
Apify Model Context Protocol (MCP) Server
apifyThe Apify MCP server enables your AI agents to extract data from social media, search engines, maps, e-commerce sites, or any other website using thousands of ready-made scrapers, crawlers, and automation tools available on the Apify Store.
@mendableai/firecrawl Mcp Server
mendableaiThe API to search, scrape, and interact with the web at scale. 🔥
Browserbase MCP Server
browserbaseAllow LLMs to control a browser with Browserbase and Stagehand
playwright-server MCP server
blackwhite084Fetch MCP
jae-jaeMCP server for fetch web page content using Playwright headless browser.
评论