puppeteer-mcp
by andytango
Overview
Provides browser automation capabilities through Puppeteer for AI agents to interact with web pages, capture content, and perform various browser operations.
Installation
npm startEnvironment Variables
- PORT
- HEADLESS
- TIMEOUT
Security Notes
The `evaluate` tool allows arbitrary JavaScript code execution via `new Function()`. If a malicious or compromised AI agent injects code, it could execute within the browser context. More critically, Puppeteer is launched with `--no-sandbox` which significantly reduces browser security. This makes the server vulnerable to host system compromise if not run within a highly isolated environment (e.g., a secure Docker container) as suggested in the README for remote deployments. No obvious hardcoded secrets were found in the truncated source.
Similar Servers
playwright-mcp
Provides a Model Context Protocol (MCP) server for LLMs to automate browser interactions using Playwright's accessibility tree, avoiding pixel-based vision models.
scrapegraph-mcp
Provides AI-powered web scraping, structured data extraction, multi-page crawling, and agentic automation capabilities for language models.
blueprint-mcp
Enable AI assistants and coding agents to control and automate real web browsers (Chrome, Firefox, Opera) through a browser extension, maintaining logged-in sessions and avoiding bot detection.
context-engineering
Provides a Model Context Protocol (MCP) server that enables AI agents to control a web browser using Selenium for web automation tasks.