Playwrite MCP Server

Playwright wrapper for MCP (Model Context Protocol). This server enables LLM-powered clients to control a browser for automation tasks.

Local serverstdioGo

What is the Playwrite MCP Server?

Playwright wrapper for MCP (Model Context Protocol). This server enables LLM-powered clients to control a browser for automation tasks.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
navigateGo to a specific URL
new_pageCreate a new browser page with a specific ID
switch_pageSwitch to a different browser page
get_pagesList all available browser pages
clickClick on an element using CSS selector
wait_for_selectorWait for an element to appear on the page
get_textGet text content from an element
get_page_contentGet the entire page HTML
take_screenshotCapture visual state of the page or element

Example prompts to try

  • “Use Playwrite MCP to navigate.”
  • “Use Playwrite MCP to new page.”
  • “Use Playwrite MCP to switch page.”

Frequently asked questions

Playwright wrapper for MCP (Model Context Protocol). This server enables LLM-powered clients to control a browser for automation tasks. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.