Playwright MCP Server
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
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| playwright_navigateC | Navigate to a URL in the browser |
| playwright_screenshotC | Take a screenshot of the current page |
| playwright_clickC | Click an element on the page |
| playwright_fillC | Fill an input element with text |
| playwright_typeC | Type text with keyboard simulation |
| playwright_extract_textC | Extract text content from elements |
| playwright_evaluateC | Execute JavaScript in browser context |
| playwright_hoverC | Hover over an element |
| playwright_selectC | Select an option in a dropdown |
| playwright_wait_for_selectorC | Wait for an element to appear |
| playwright_get_attributeC | Get an attribute value from an element |
| playwright_press_keyC | Press a keyboard key |
| playwright_go_backB | Navigate back in browser history |
| playwright_go_forwardB | Navigate forward in browser history |
| playwright_reloadB | Reload the current page |
| playwright_set_viewportC | Set viewport size |
| playwright_checkboxC | Check or uncheck a checkbox |
| playwright_drag_and_dropC | Drag and drop an element |
| playwright_get_page_infoA | Get current page information (URL, title, etc.) |
| playwright_record_startC | Start recording actions for test generation |
| playwright_record_stopB | Stop recording actions |
| playwright_generate_testC | Generate a test script from recorded actions |
| playwright_generate_workflow_testC | Auto-generate a Playwright test file from the current workflow actions |
| playwright_closeB | Close the browser instance |
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 24 tools
Most tools target a clearly distinct action (click, hover, select, navigate, screenshot), so an agent can usually pick correctly. However, playwright_fill vs playwright_type and playwright_generate_test vs playwright_generate_workflow_test have overlapping boundaries that could cause misselection.
All tools share the playwright_ prefix and snake_case, making the set highly predictable. A few names break the verb_noun pattern by being noun-only (playwright_checkbox, playwright_screenshot), a minor deviation.
24 tools is on the heavy side but each maps to a recognizable browser automation primitive, so the surface is defensible. Some consolidation (e.g., merging the two test-generation tools, or fill/type) would tighten it.
Coverage is strong across navigation, element interaction, text extraction, keyboard/mouse actions, and test recording/generation. Gaps remain around multi-tab/window management, file upload, dialog/alert handling, and assertions, which agents may need.