playwright-mcp-parallel
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
playwright-mcp-parallel
Drop-in parallel enhancement over @playwright/mcp
Run multiple isolated browser instances simultaneously, each with its own context, auth, and state.
Why playwright-mcp-parallel?
Standard @playwright/mcp supports only one browser instance per server. This package extends it to support N parallel instances, enabling:
π Parallel task execution β Run multiple browser tasks at the same time
π Auth cloning β Clone cookies/localStorage from your logged-in Chrome to all new instances
π§© Isolated contexts β Each instance has fully independent state
π Drop-in compatible β All original
@playwright/mcptools available viapage_*prefix
Related MCP server: mcp-browser-parallel
Installation & Setup
Claude Desktop / Cursor / VS Code / Any MCP client
{
"mcpServers": {
"playwright-parallel": {
"command": "npx",
"args": [
"playwright-mcp-parallel@latest"
]
}
}
}With options (headless, etc.)
{
"mcpServers": {
"playwright-parallel": {
"command": "npx",
"args": [
"playwright-mcp-parallel@latest",
"--headless"
]
}
}
}Tools Reference
π Connection & Auth
Tool | Description |
| Connect to an existing Chrome via CDP and extract auth (cookies + localStorage). Chrome must be started with |
| Export auth state from a specific instance (or the connected Chrome). Updates global auth so new instances will inherit it. |
π₯οΈ Instance Management
Tool | Description |
| Create a new isolated browser instance. Optionally auto-clone auth from connected Chrome. |
| List all active instances with their current URLs and titles. |
| Close a specific instance and release its resources. |
| Close all instances at once. |
π Browser Tools (All Original @playwright/mcp tools)
All tools from @playwright/mcp are available with a page_ prefix and require an instanceId parameter:
Tool | Description |
| Navigate an instance to a URL |
| Click an element in an instance |
| Type text into an element |
| Take a screenshot of an instance |
| Get accessibility snapshot of an instance |
| Execute JavaScript in an instance |
| Wait for a condition in an instance |
... | All other |
Usage Examples
Typical Workflow: Auth Cloning + Parallel Tasks
1. Start Chrome with debugging:
chrome.exe --remote-debugging-port=9222
2. Log in manually in Chrome
3. In your AI agent:
β browser_connect() # Extract auth from Chrome
β instance_create({ instanceId: "task-1", url: "https://app.example.com" })
β instance_create({ instanceId: "task-2", url: "https://app.example.com" })
β (Both instances are logged in automatically!)
4. Run tasks in parallel:
β page_browser_click({ instanceId: "task-1", ... })
β page_browser_click({ instanceId: "task-2", ... })
5. Export auth from a running instance (e.g., after login flow):
β instance_export_auth({ instanceId: "task-1" })
β instance_create({ instanceId: "task-3" }) # Also logged inExport Auth from Instance
β instance_create({ instanceId: "login-bot", url: "https://example.com/login" })
β page_browser_click({ instanceId: "login-bot", ... }) # complete login
β instance_export_auth({ instanceId: "login-bot" }) # export & set as global auth
β instance_create({ instanceId: "worker-1" }) # inherits login state
β instance_create({ instanceId: "worker-2" }) # inherits login stateCLI Options
All @playwright/mcp CLI options are supported:
npx playwright-mcp-parallel@latest [options]Option | Description |
| Run browser in headless mode |
| Browser to use: |
| Viewport size, e.g. |
| Path to user data directory |
| Path to storage state JSON file |
| Proxy server, e.g. |
| Disable sandbox |
| Port for SSE transport |
| Keep browser profile in memory only |
For the full list of options, see @playwright/mcp documentation.
How It Works
playwright-mcp-parallel
βββ Management Layer
β βββ browser_connect β Extract auth from existing Chrome
β βββ instance_create β Launch isolated browser + clone auth
β βββ instance_list β List active instances
β βββ instance_close β Dispose instance
β βββ instance_close_all β Dispose all
β βββ instance_export_auth β Export cookies/localStorage from instance
β
βββ Per-Instance Tool Dispatch
βββ page_* tools β routed to the correct BrowserBackend by instanceIdEach instance_create call launches a new Chromium process with an isolated context. Auth state (cookies + localStorage) extracted via browser_connect or instance_export_auth is automatically injected into new contexts.
Differences from @playwright/mcp
Feature | @playwright/mcp | playwright-mcp-parallel |
Browser instances | 1 | Unlimited |
Parallel execution | β | β |
Auth cloning | β | β |
Auth export | β | β |
Original tools | β | β
(via |
Drop-in config | β | β |
Requirements
Node.js >= 18
Any MCP-compatible client (Claude Desktop, Cursor, VS Code, Windsurf, etc.)
License
Apache-2.0 β based on @playwright/mcp by Microsoft.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
Isolated, fingerprint-protected browser profiles for AI agents: one per task, with its own proxy
Cloud browsers for AI agents: get past bot detection, sign in with MFA, run web tasks at scale.
Launch, inspect, control, and share isolated cloud browsers for your agents.
Run multi-step tasks in a real Chrome browser: persistent environments, live view, human takeover.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI agents to control multiple independent browser instances in parallel with process-level isolation, supporting any backend MCP server for browser automation.27624 npm19MIT
- AlicenseBqualityDmaintenanceMulti-instance parallel browser MCP server that manages multiple isolated browser instances in a single Chrome process with automatic login state cloning, allowing parallel independent operations across instances.36MIT
- AlicenseBqualityDmaintenanceEnables running multiple isolated browser sessions simultaneously and importing cookies from Chrome to authenticate on any site without passwords.261Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to control isolated Chromium browser identities, allowing per-account navigation, interaction, and inspection through MCP without requiring Node or CLI installation.2MIT