puppeteer-mcp-server
by sultannaufal·★ 19·Score 42
Self-hosted Puppeteer MCP server with browser automation tools, supporting multiple transports and API key authentication.
Overview
The puppeteer-mcp-server provides a comprehensive suite of 16 browser automation tools via the Model Context Protocol. It includes core browser navigation tools, advanced mouse interaction capabilities, and cookie management for authentication handling. The server supports both modern streamable HTTP transport and legacy SSE transport, with API key authentication for security. It's production-ready with Docker support, rate limiting, health monitoring, and comprehensive logging.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this server when you need comprehensive browser automation through MCP, especially for scenarios requiring advanced mouse interactions or cookie management for authentication.
When NOT to choose this
Avoid if you need headless-only operations (this provides full browser control) or if you require a managed cloud service rather than self-hosted solution.
Tools this server exposes
12 tools extracted from the READMEpuppeteer_navigateNavigate to URLs with safety validation
puppeteer_screenshotTake full page or element screenshots
puppeteer_clickClick elements with retry logic
puppeteer_fillFill input fields with validation
puppeteer_selectSelect options from dropdown elements
puppeteer_hoverHover over elements with effect detection
puppeteer_evaluateExecute JavaScript with console capture
puppeteer_mouse_movePrecise coordinate movement with smooth interpolation
puppeteer_mouse_clickAdvanced clicking with button options (left/right/middle/back/forward)
puppeteer_mouse_downMouse button press for drag operations
puppeteer_mouse_upMouse button release for drag operations
puppeteer_mouse_wheelMouse wheel scrolling with deltaX/deltaY control
Comparable tools
Installation
Installation
Using Docker (Recommended)
# Clone the repository
git clone https://github.com/sultannaufal/puppeteer-mcp-server.git
cd puppeteer-mcp-server
# Create .env file with your API key
echo "API_KEY=your-secure-api-key-here" > .env
# Start with Docker Compose
docker compose --env-file .env up -dManual Installation
# Prerequisites: Node.js 18+, npm 8+
npm install
npm run build
npm startClaude Desktop Configuration
Add to your Claude Desktop config.json:
{
"mcpServers": {
"puppeteer": {
"command": "node",
"args": ["dist/server.js"],
"env": {
"API_KEY": "your-api-key"
}
}
}
}FAQ
- How do I authenticate with the server?
- All endpoints require Bearer token authentication. Set your API_KEY environment variable and include 'Authorization: Bearer your-api-key' in your requests.
- What transport protocols are supported?
- The server supports both modern streamable HTTP transport (MCP 2025-06-18 specification) and legacy SSE transport for backward compatibility.
Compare puppeteer-mcp-server with
Last updated · Auto-generated from public README + GitHub signals.