Playwright
Community
This MCP Server will help you run browser automation and webscraping using Playwright
About Playwright MCP Server
Playwright is an MCP server in the Web category. It exposes tools to connected AI applications, enabling them to interact with playwright capabilities through the standardized Model Context Protocol.
Features
Tools
Category
Web
Getting Started
To use the Playwright MCP server in your AI application, follow these steps:
- Install the MCP client SDK for your platform
- Connect to the Playwright MCP server
- Authenticate with your Playwright credentials
- Start using the tools, resources, and prompts provided by the server
Example Code
// Connect to the Playwright MCP server
const server = await mcp.connect("playwright");
// List available tools
const tools = await server.tools.list();
// List available resources
const resources = await server.resources.list();
// List available prompts
const prompts = await server.prompts.list();
Installation
npm
npm install @mcp/server-playwrightpip
pip install mcp-server-playwrightCompatible With
Claude Desktop
Cursor
Windsurf
Zed
Any MCP-compatible client