================== /// MCP /// /// MCP /// ================== [server:online] [protocol:ready]
MCP-Server-Playwright
by Automata-Labs-team
MCP server that allows LLMs to perform real-browser automation via Playwright (navigation, clicks, screenshots, JS execution etc.)
234
30
Open Source01
browser_navigate
Navigate to any URL in the browser
02
browser_screenshot
Capture screenshots of the entire page or specific elements
03
browser_click
Click elements on the page using CSS selector
04
browser_click_text
Click elements on the page by their text content
05
browser_hover
Hover over elements on the page using CSS selector
06
browser_hover_text
Hover over elements on the page by their text content
07
browser_fill
Fill out input fields
08
browser_select
Select an option in a SELECT element using CSS selector
09
browser_select_text
Select an option in a SELECT element by its text content
10
browser_evaluate
Execute JavaScript in the browser console
Installation
1. Clone the repository
git clone https://github.com/Automata-Labs-team/MCP-Server-Playwright.git
cd MCP-Server-Playwright
2. Install Node.js dependencies
npm install
# or
yarn install
3. Install Playwright browsers (first-time only)
npx playwright install
4. Configure the server (optional)
• Edit .env (create if missing) to override defaults.
COMMON VARIABLES
PORT=3000 # HTTP port the MCP server will listen on
AUTH_TOKEN=<secret> # Token required by clients (if you enable auth)
HEADLESS=true|false # Run browsers in headless mode
5. Start the MCP server
npm start # production mode
npm run dev # hot-reload using nodemon (if configured)
6. Verify
curl http://localhost:3000/healthz # should return OK
Documentation
License: MIT License
Updated 7/30/2025