Playwright Server MCP
Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
UV_PUBLISH_TOKEN | No | Your token used for publishing. | |
UV_PUBLISH_PASSWORD | No | Your password for publishing. | |
UV_PUBLISH_USERNAME | No | Your username for publishing. |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
playwright_navigate | Navigate to a URL,thip op will auto create a session |
playwright_screenshot | Take a screenshot of the current page or a specific element |
playwright_click | Click an element on the page using CSS selector |
playwright_fill | Fill out an input field |
playwright_evaluate | Execute JavaScript in the browser console |
playwright_click_text | Click an element on the page by its text content |
playwright_get_text_content | Get the text content of all elements |
playwright_get_html_content | Get the HTML content of the page |