Puppeteer MCP Integration
Guide for integrating web automation capabilities with PraisonAI agents using Puppeteer MCP
Add Puppeteer Tool to AI Agent
Quick Start
Install Dependencies
Make sure you have Node.js installed, as the MCP server requires it:
Set API Key
Set your OpenAI API key as an environment variable in your terminal:
Create a file
Create a new file
puppeteer_agent.py
with the following
code:
Run the Agent
Execute your script:
Requirements
- Python 3.10 or higher
- Node.js installed on your system
- OpenAI API key (for the agent’s LLM)
- Chrome or Chromium browser installed on your system