What is Puppeteer MCP Server?
Puppeteer MCP Server provides browser automation capabilities through Puppeteer, allowing interaction with both new browser instances and existing Chrome windows. It is designed for developers using AI assistants like Claude to automate web tasks.
How to use Puppeteer MCP Server?
Install globally via npm (npm install -g puppeteer-mcp-server) or run directly with npx puppeteer-mcp-server. Configure it as an MCP server in Claude Desktop or Claude VSCode Extension settings. Use tools such as puppeteer_navigate, puppeteer_screenshot, puppeteer_click, puppeteer_fill, puppeteer_select, puppeteer_hover, puppeteer_evaluate, and puppeteer_connect_active_tab to control the browser.
Key features of Puppeteer MCP Server
- Navigate web pages and take screenshots
- Click elements, fill forms, select options, hover
- Execute JavaScript in the browser console
- Connect to existing Chrome windows with remote debugging
- Smart tab management that preserves existing Chrome instances
- Detailed logging with Winston (daily rotation, 20MB max, 14 day retention)
Use cases of Puppeteer MCP Server
- Automated web scraping and data extraction
- UI testing and capturing screenshots for verification
- Form filling and submission automation
- Monitoring and interacting with dynamic web pages
评论