Playwright MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| browser_closeA | Close the page |
| browser_resizeA | Resize the browser window |
| browser_console_messagesB | Returns all console messages |
| browser_handle_dialogC | Handle a dialog |
| browser_evaluateA | Evaluate JavaScript expression on page or element |
| browser_file_uploadB | Upload one or multiple files |
| browser_fill_formB | Fill multiple form fields |
| browser_installA | Install the browser specified in the config. Call this if you get an error about the browser not being installed. |
| browser_press_keyB | Press a key on the keyboard |
| browser_typeA | Type text into editable element |
| browser_navigateB | Navigate to a URL |
| browser_navigate_backA | Go back to the previous page |
| browser_network_requestsB | Returns all network requests since loading the page |
| browser_run_codeA | Run Playwright code snippet |
| browser_take_screenshotA | Take a screenshot of the current page. You can't perform actions based on the screenshot, use browser_snapshot for actions. |
| browser_snapshotA | Capture accessibility snapshot of the current page, this is better than screenshot |
| browser_clickB | Perform click on a web page |
| browser_dragB | Perform drag and drop between two elements |
| browser_hoverB | Hover over element on page |
| browser_select_optionB | Select an option in a dropdown |
| browser_tabsA | List, create, close, or select a browser tab. |
| browser_wait_forB | Wait for text to appear or disappear or a specified time to pass |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 22 tools
Most tools have distinct purposes targeting specific web automation actions like clicking, navigating, or handling dialogs, but some overlap exists between browser_snapshot and browser_take_screenshot, and browser_wait_for is broad. The descriptions help clarify, but an agent might occasionally misselect between similar tools like these.
All tool names follow a consistent snake_case pattern with a 'browser_' prefix and clear verb_noun combinations, such as browser_click, browser_navigate, and browser_take_screenshot. This predictability makes it easy for agents to understand and use the toolset without confusion.
With 22 tools, the count is borderline high for a web automation server, as it might feel heavy and could potentially be streamlined. However, given Playwright's comprehensive functionality, it's reasonable but approaches the upper limit of what's well-scoped.
The toolset provides complete coverage for web automation tasks, including navigation, interaction (click, type, drag), form handling, file uploads, dialogs, screenshots, network monitoring, and browser management. There are no obvious gaps, supporting full CRUD-like operations for browser-based workflows.