Puppeteer增强
STDIO增强型浏览器自动化工具,支持隐身模式
增强型浏览器自动化工具,支持隐身模式
A Model Context Protocol server that provides enhanced browser automation capabilities using Puppeteer-Extra with Stealth Plugin. This server enables LLMs to interact with web pages in a way that better emulates human behavior and avoids detection as automation.
puppeteer_navigate
url (string)puppeteer_screenshot
name (string, required): Name for the screenshotselector (string, optional): CSS selector for element to screenshotwidth (number, optional, default: 800): Screenshot widthheight (number, optional, default: 600): Screenshot heightpuppeteer_click
selector (string): CSS selector for element to clickpuppeteer_hover
selector (string): CSS selector for element to hoverpuppeteer_fill
selector (string): CSS selector for input fieldvalue (string): Value to fillpuppeteer_select
selector (string): CSS selector for element to selectvalue (string): Value to selectpuppeteer_evaluate
script (string): JavaScript code to executeThe server provides access to two types of resources:
Console Logs (console://logs)
Screenshots (screenshot://<name>)
# Clone the repository git clone <repository-url> cd puppeteer_extra # Install dependencies npm install # Copy environment file cp .env.example .env.development
# Development mode (non-headless browser) npm run dev # Production mode (headless browser) npm run prod
npm run build
docker build -t mcp/puppeteer-extra .
docker run -i --rm --init -e DOCKER_CONTAINER=true mcp/puppeteer-extra
{ "mcpServers": { "puppeteer": { "command": "docker", "args": ["run", "-i", "--rm", "--init", "-e", "DOCKER_CONTAINER=true", "mcp/puppeteer-extra"] } } }
{ "mcpServers": { "puppeteer": { "command": "npx", "args": ["-y", "MCP_puppeteer_extra"] } } }
This MCP server is licensed under the MIT License.