🎭 Playwright MCP — AI Browser Automation
Pricing
from $5.00 / 1,000 tool calls
🎭 Playwright MCP — AI Browser Automation
MCP server for AI agents to control browsers via Playwright — navigate, click, type, screenshot & extract data. Give Claude or GPT web browsing abilities. 16 tools for browser automation.
Pricing
from $5.00 / 1,000 tool calls
Rating
0.0
(0)
Developer
Stephan Corbeil
Actor stats
0
Bookmarked
3
Total users
2
Monthly active users
3 days ago
Last modified
Categories
Share
Playwright MCP Server
Give your AI agents a real browser. This MCP server runs Playwright on Apify's infrastructure, letting AI agents navigate websites, fill forms, click buttons, extract data, and take screenshots — all through the Model Context Protocol.
Why Use This?
- No local browser needed — runs on Apify's cloud with anti-blocking proxies
- 16 browser tools — navigate, click, type, screenshot, extract text/HTML, run JavaScript, and more
- Anti-blocking built in — Apify proxy infrastructure handles CAPTCHAs and blocks
- Works with any MCP client — Claude, OpenAI, custom agents via SSE or HTTP transport
Available Tools (16)
| Tool | Description |
|---|---|
navigate | Go to a URL, wait for page load |
screenshot | Capture page or element as PNG |
click | Click elements by selector or text |
type | Type into input fields |
get_text | Extract visible text from page/element |
get_html | Get HTML content |
evaluate | Run JavaScript in page context |
select | Choose dropdown options |
scroll | Scroll page or elements |
wait | Wait for elements to appear/disappear |
get_links | Extract all links with optional filtering |
extract_table | Parse HTML tables to JSON |
pdf | Generate PDF of current page |
fill_form | Fill multiple form fields at once |
get_cookies | Read browser cookies |
set_cookies | Set browser cookies |
Quick Start
Connect via MCP (SSE)
{"mcpServers": {"playwright": {"url": "https://nexgendata--playwright-mcp-server.apify.actor/sse","transport": "sse","headers": {"Authorization": "Bearer YOUR_APIFY_API_TOKEN"}}}}
Connect via HTTP
{"mcpServers": {"playwright": {"url": "https://nexgendata--playwright-mcp-server.apify.actor/mcp","transport": "http"}}}
Use Cases
- Web research agents — Browse and extract data from any website
- Form automation — Fill out applications, surveys, registrations
- Testing & monitoring — Check website functionality and content
- Data extraction — Scrape dynamic JavaScript-rendered pages
- Screenshot capture — Visual documentation and monitoring
- Price monitoring — Track prices across e-commerce sites
Example: Navigate and Extract
Agent: "Go to example.com and get all the links"Tool calls:1. navigate(url="https://example.com")2. get_links()
Example: Fill a Form
Agent: "Search for 'web scraping' on Google"Tool calls:1. navigate(url="https://google.com")2. type(selector="textarea[name='q']", text="web scraping", pressEnter=true)3. wait(selector="#search")4. get_text(selector="#search")
Proxy Support
Enable Apify proxy for anti-blocking:
{"proxyConfiguration": {"useApifyProxy": true}}
Pricing
Pay per browser action via Apify's pay-per-event model:
- Session start: $0.05
- Per tool call: $0.01
Support
Questions? Open an issue on the actor page or contact NexGenData.