Playwright
Browser automation via structured accessibility snapshots, no screenshots needed.
Playwright
Browser automation via structured accessibility snapshots, no screenshots needed. With Lunar.dev MCPX, the MCP Gateway for secure and governed tool access, you connect the Playwright MCP server to Claude, ChatGPT, Cursor, and any MCP client through one gateway that routes, authenticates, and governs every Playwright tool call against your policies.
Why MCPX
MCPX is Lunar.dev's MCP Gateway. It sits between your AI agents and your MCP servers as a single gateway for every tool call, routing, authenticating, and governing traffic against your policies. Connect Playwright once and govern it everywhere: role-based access per agent with on-behalf-of attribution, real-time visibility, and an immutable audit trail of who did what, all deployable inside your own VPC.
Tools content
- browser_click · Write
Perform click on a web page - browser_close · Write
Close the page - browser_console_messages · Read-only
Returns all console messages - browser_drag · Write
Perform drag and drop between two elements - browser_evaluate · Write
Evaluate JavaScript expression on page or element - browser_file_upload · Write
Upload one or multiple files - browser_fill_form · Write
Fill multiple form fields - browser_handle_dialog · Write
Handle a dialog - browser_hover · Write
Hover over element on page - browser_navigate · Write
Navigate to a URL - browser_navigate_back · Write
Go back to the previous page in the history - browser_network_requests · Read-only
Returns all network requests since loading the page - browser_press_key · Write
Press a key on the keyboard - browser_resize · Write
Resize the browser window - browser_run_code · Write
Run Playwright code snippet - browser_select_option · Write
Select an option in a dropdown - browser_snapshot · Read-only
Capture accessibility snapshot of the current page, this is better than screenshot - browser_take_screenshot · Read-only
Take a screenshot of the current page. You can't perform actions based on the screenshot, use browser_snapshot for actions. - browser_type · Write
Type text into editable element - browser_wait_for · Write
Wait for text to appear or disappear or a specified time to pass
Frequently asked questions
What is the Playwright MCP server?
Browser automation via structured accessibility snapshots, no screenshots needed. Through Lunar.dev MCPX, Playwright connects to any MCP-compatible AI client behind a single governed gateway.
How do I connect Playwright to MCPX?
Add the Playwright server in the MCPX control plane or your app.yaml, then point your AI client at your MCPX gateway. MCPX handles no authentication and routes every Playwright call through the gateway.
Is the Playwright MCP server official?
Yes. Playwright is an official, vendor-published MCP server, and MCPX governs it like any other server in your catalog.
What authentication does Playwright use with MCPX?
Playwright requires no authentication. MCPX still controls which agents and users are allowed to call it through role-based access control.
How many tools does Playwright expose in MCPX?
Playwright exposes 64 tools. In MCPX you can enable or disable each tool per agent for least-privilege access.
