Puppeteer MCP Quick Start
Puppeteer MCP Quick Start
Section titled “Puppeteer MCP Quick Start”Version: 1.0.13
Reading Time: 2 minutes
Welcome to Puppeteer MCP! 🚀
Section titled “Welcome to Puppeteer MCP! 🚀”Get started with browser automation in minutes. Choose your path:
🎯 Quick Navigation
Section titled “🎯 Quick Navigation”All installation methods - npm, source, Docker
2 minute setup
Basic usage examples and your first automation
5 minute tutorial
Set up AI-powered browser automation
3 minute setup
Essential settings and environment setup
5 minute guide
What is Puppeteer MCP?
Section titled “What is Puppeteer MCP?”Puppeteer MCP is a beta browser automation platform that provides:
- Multi-Protocol Support: REST, gRPC, WebSocket, and Model Context Protocol (MCP)
- AI Integration: Works seamlessly with Claude Desktop and other AI assistants
- Enterprise Security: JWT + API key authentication, NIST compliance
- Comprehensive Automation: Full Puppeteer API with session management
- Zero Setup: Works out of the box with sensible defaults
Choose Your Starting Point
Section titled “Choose Your Starting Point”💡 I want to…
Section titled “💡 I want to…”Use with Claude Desktop
- Install globally:
npm install -g puppeteer-mcp
- Configure Claude Desktop (see guide)
- Ask Claude to browse websites for you!
Integrate into my Node.js project
- Install in project:
npm install puppeteer-mcp
- Import and configure (see examples)
- Start automating browsers programmatically
Run as a standalone service
- Clone repository or use Docker (see installation)
- Configure environment (see configuration)
- Access via REST API, gRPC, or WebSocket
Try it quickly without installation
npx puppeteer-mcp
This runs the latest version without installing anything!
Quick Example
Section titled “Quick Example”Here’s browser automation in action:
// Using the REST APIconst response = await fetch('http://localhost:8443/api/sessions', { method: 'POST', headers: { Authorization: 'Bearer your-token', 'Content-Type': 'application/json', }, body: JSON.stringify({ baseUrl: 'https://example.com', }),});
const { sessionId } = await response.json();
// Take a screenshotawait fetch(`http://localhost:8443/api/sessions/${sessionId}/screenshot`, { method: 'POST', headers: { Authorization: 'Bearer your-token', 'Content-Type': 'application/json', }, body: JSON.stringify({ fullPage: true, }),});
System Requirements
Section titled “System Requirements”Minimum
Section titled “Minimum”- Node.js 18.0.0+
- 2GB RAM
- 1GB disk space
Recommended
Section titled “Recommended”- Node.js 20.0.0+
- 4GB RAM
- 2GB disk space
- Chrome/Chromium installed
Common Use Cases
Section titled “Common Use Cases”- 🕷️ Web Scraping: Extract data from dynamic websites
- 🧪 Automated Testing: End-to-end browser testing
- 📄 PDF Generation: Convert web pages to PDFs
- 📸 Screenshots: Capture website screenshots
- 🤖 AI Automation: Let AI agents browse the web
- 📊 Monitoring: Track website changes and performance
📣 Beta Feedback Welcome!
Section titled “📣 Beta Feedback Welcome!”As this is a beta release, we’re actively seeking your feedback:
- 🐛 Report Issues: Help us identify bugs
- 💡 Share Ideas: What features would make this production-ready for you?
- 📊 Performance: Let us know about any performance concerns
- 📝 Documentation: Tell us what needs better explanation
Your feedback is crucial for making this project truly production-ready!
Need Help?
Section titled “Need Help?”- 📚 Full Documentation: Comprehensive guides and API reference
- 💬 GitHub Issues: Report bugs or request features
- 🔧 Troubleshooting: Common issues and solutions
Ready to Start?
Section titled “Ready to Start?”Pro Tip: Using npx puppeteer-mcp
is the fastest way to try it out - no installation needed! 🎉