ExecuteAutomation Playwright MCP Server
A community-built MCP server for browser and API automation using Playwright, with built-in API testing not found in the official Microsoft version.
At a Glance
Pricing
Free and open-source under the MIT license. Install globally via npm or run with npx.
Engagement
Available On
Developer
Updated Mar 2026
About ExecuteAutomation Playwright MCP Server
ExecuteAutomation Playwright MCP Server is a community-built Model Context Protocol server that enables LLMs to automate browsers and test APIs using the Playwright framework. Created by ExecuteAutomation (Karthik KK) and first released in December 2024, it predates the official Microsoft Playwright MCP (@playwright/mcp) that launched in March 2025. This is not the official Playwright MCP from Microsoft — it is an independent, community-maintained alternative published under the @executeautomation npm scope.
The server provides MCP tools that let AI agents navigate web pages, fill forms, take screenshots, execute JavaScript, run API requests, and generate reusable Playwright test scripts through natural language prompts. Its main differentiator from the official Microsoft version is built-in API testing support (GET, POST, PUT, PATCH, DELETE) and CSS selector-based browser interaction, whereas the official version uses Playwright's accessibility tree for more deterministic element targeting. Teams that need both UI and API automation in a single MCP server may find this a practical choice, while those prioritizing reliability, deeper configuration options, and broader MCP client support may prefer the official Microsoft version (@playwright/mcp).
- Browser Navigation and Interaction - Navigate to URLs with configurable viewport, browser type, and timeout settings, then click, hover, fill forms, select dropdowns, drag elements, and press keys using CSS selectors
- Multi-Browser Support - Automate across Chromium, Firefox, and WebKit browser engines with seamless switching during sessions
- API Testing Tools - Perform GET, POST, PUT, PATCH, and DELETE requests with bearer token authentication and custom headers directly through MCP tools, a capability not available in the official Microsoft Playwright MCP
- Screenshot Capture - Take full-page or element-specific screenshots with configurable dimensions and optional base64 output or PNG file saving
- Code Generation Sessions - Record browser interactions and generate reusable Playwright test scripts with customizable output paths and test name prefixes
- Device Emulation - Resize viewport to emulate 143 pre-configured device presets including iPhones, iPads, Pixels, Galaxy devices, and desktop browsers with proper user-agent and touch support
- Console Log Monitoring - Retrieve and filter browser console logs by type including error, warning, info, debug, and exception levels
- JavaScript Execution - Run arbitrary JavaScript in the browser console and retrieve results
- Content Extraction - Get visible text or full HTML content from pages with options to remove scripts, comments, styles, and meta tags
- iFrame Support - Click and fill elements inside iframes using dedicated iframe-aware tools
- HTTP Response Assertions - Set up response expectations and validate status codes and response bodies for network request verification
- PDF Export - Save current pages as PDF files with configurable format, margins, and background printing options
- Tab Management - Click links that open new tabs and automatically switch to the newly opened tab
- File Upload - Upload files to file input elements by specifying absolute file paths
- Custom User Agent - Set custom user agent strings for the browser instance
- HTTP/SSE Transport - Run as a standalone HTTP server with Server-Sent Events support for multiple concurrent client sessions
- Automatic Browser Installation - Detects missing browser binaries and automatically installs them on first use without manual setup
Community Discussions
Be the first to start a conversation about ExecuteAutomation Playwright MCP Server
Share your experience with ExecuteAutomation Playwright MCP Server, ask questions, or help others learn from your insights.
Pricing
Open Source
Free and open-source under the MIT license. Install globally via npm or run with npx.
- Full browser automation tools via MCP protocol
- API testing with GET, POST, PUT, PATCH, DELETE
- Code generation session recording
- Chromium, Firefox, and WebKit support
- Device emulation with 143+ presets
Capabilities
Key Features
- Browser automation via MCP tools using CSS selectors
- Multi-browser support: Chromium
- Firefox
- and WebKit
- API testing: GET
- POST
- PUT
- PATCH
- DELETE with bearer token and custom headers
- Screenshot capture: full-page
- element-specific
- and base64 output
- Code generation sessions to record and export Playwright test scripts
- Device emulation with 143+ presets (iPhone
- iPad
- Pixel
- Galaxy
- desktop browsers)
- Console log monitoring with filtering by log type
- JavaScript execution in the browser console
- Visible text and HTML content extraction with cleanup options
- iFrame interaction support for click and fill operations
- HTTP response assertion and validation tools
- PDF export with configurable format and margins
- Tab management with automatic new-tab switching
- File upload to file input elements
- Custom user agent configuration
- HTTP/SSE transport mode for multi-client sessions
- Automatic browser binary installation on first use
- Compatible with Claude Desktop
- VS Code
- Cursor
- Cline
- and more MCP clients
Integrations
Demo Video

