Playwright
Using Playwright MCP with PraisonAI
Playwright MCP
Playwright is a powerful browser automation tool that can be used with the Model Context Protocol (MCP) to enable agents to interact with web browsers.
Installation
To use Playwright with MCP, you’ll need to install the Playwright MCP package:
Running the Playwright MCP Server
You need to run the Playwright MCP server in a separate terminal before your agent can use it:
This will start a Playwright MCP server on port 8931 that your agent can connect to.
Using Playwright MCP with PraisonAI
Once the Playwright MCP server is running, you can create an agent that uses it as a tool:
The agent will be able to use Playwright to automate browser interactions and search the web.
Advanced Configuration
You can customize the Playwright MCP server by passing additional options:
For more information on available options, refer to the Playwright MCP documentation.