mcp-server-puppeteer-py
5
The Puppeteer MCP Server is a Python-based browser automation tool using Playwright, serving as a stable alternative to the TypeScript version and featuring comprehensive logging and error handling.
Overview
The Puppeteer MCP Server is a Python implementation offering browser automation via Playwright. It is an alternative to the TypeScript version with enhanced error handling and logging.
Key Features
- Full browser automation
- Page navigation
- Screenshot capture
- Form interaction
- JavaScript execution
- Console log monitoring
- Configurable timeouts
- Detailed error handling
- Comprehensive logging
Prerequisites
- Python 3.8+
- pip
Installation
- Install required packages with pip.
- Install Playwright browsers.
Error Handling
Detailed error messages for various scenarios.
Logging
Comprehensive logging at multiple levels.
Notes
- Non-headless mode for debugging
- Configurable timeouts
- Console logs and screenshots stored in memory.
License
Licensed under the Apache 2.0 License.