Playwright MCP Proxy
Allows launching and controlling Firefox browser instances through Playwright for browser automation, including navigation, tab management, and other browser interactions.
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 Proxy
Run several browser instances through one MCP connection. Choose Edge, Chrome, Firefox or WebKit, work with a visible window or headless, or connect to your browser through the Playwright extension.
Each instance has its own settings and an instanceId. Use that ID to choose which browser receives an action.
Why use it?
Configure one MCP server for all your browser workflows, with the browser and mode selected when you start an instance.
Start new instances with the latest official Playwright MCP release, while ongoing work keeps its current browser session.
Keep several instances open with different settings and route actions using their instance IDs.
Let idle instances close automatically, or keep them open for longer tasks.
Related MCP server: playwright-parallel-mcp
Setup
Requires Node.js 22+, npm and a browser supported by Playwright. Edge is the default. For extension mode, install the Playwright MCP extension.
Add this entry to your MCP client:
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": ["-y", "--prefer-online", "mcp-playwright-proxy@latest"]
}
}
}Start a browser
browser_instance_start({
mode: "launch",
browser: "msedge",
headless: false,
isolated: true
})Use the returned instanceId with browser tools:
browser_navigate({ instanceId: "returned-id", url: "https://example.com" })
browser_tabs({ instanceId: "returned-id", action: "list" })
browser_instance_list({})
browser_instance_stop({ instanceId: "returned-id" })The browser tools come from the official Playwright MCP, including navigation, clicks, screenshots, JavaScript evaluation and PDF export.
Start options
Option | Purpose |
|
|
|
|
| Run in the background; launch mode |
| Use a fresh, temporary browser profile; launch mode |
| Additional browser arguments, one string per argument; launch mode |
| Path to a custom browser executable |
| Use a specific browser data directory; choose this or |
| Select a browser profile in extension mode |
| Allow access to files outside the workspace |
| Close after inactivity; default 30 minutes, |
For example, pass a hostname mapping as a browser argument:
browser_instance_start({
mode: "launch",
browser: "msedge",
args: ["--host-resolver-rules=MAP example.test 127.0.0.1"]
})Keep an argument containing spaces in a single array item. Available flags depend on the selected browser.
Connect through the extension
browser_instance_start({ mode: "extension" })Follow the extension's connection prompt. Set PLAYWRIGHT_MCP_EXTENSION_TOKEN in your MCP client's environment if using token authentication. Stopping the instance disconnects automation and leaves your browser open.
Working with instances
Reuse an instance while its settings suit the task. Actions within an instance run in order; separate instances can work concurrently. Coordinate tab selection when sharing an instance across tasks.
Instances close after 30 minutes of inactivity by default. Start a new instance if one has expired. To interrupt a stuck instance, call browser_instance_stop with force: true.
Generated temporary files and browser output use the system temporary directory: %TEMP%\playwright on Windows.
Updates
New instances use the latest official Playwright MCP. Existing instances keep their browser state and version until closed. Reconnect your MCP client to load an updated proxy.
MIT licensed.
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
Official Browserless MCP server: browser automation, scraping, screenshots and PDFs for AI agents.
Browser automation MCP for whole web tasks in a cloud browser: saved logins, bot checks, replays.
Hosted MCP server for task-first delegation to remote workstations and workers.
Unofficial Browserless MCP — wraps the Browserless headless-Chromium REST API (browserless.io)
Related MCP Servers
- AlicenseCqualityDmaintenanceA dynamic browser pool MCP server that enables multiple concurrent, isolated Playwright sessions for Claude Code and other MCP clients. It manages on-demand instances on dynamic ports to resolve session conflicts and includes automatic cleanup of idle browsers.201MIT
- AlicenseBqualityDmaintenanceEnables AI agents to control multiple independent browser instances in parallel with process-level isolation, supporting any backend MCP server for browser automation.27324 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
- AlicenseBqualityCmaintenanceAn MCP server for managing RoxyBrowser browser instances and obtaining CDP endpoints for automation. Supports workspace management, proxy configuration, and account management.26386 npm39MIT