Install playwright mcp

From jpoutrin/product-forge · View interactive version

Install playwright mcp is an AI agent skill from the GitHub repository jpoutrin/product-forge. Install Playwright MCP server for browser automation in Claude Code

How to use this skill

Skill file

Install Playwright MCP Server

Install the Playwright MCP server to enable browser automation capabilities.

What This Does

The Playwright MCP server provides:

Installation Command

Run this command to install:

claude mcp add playwright -- npx @playwright/mcp@latest

Scope Options

# Install for user (all projects)
claude mcp add playwright --scope user -- npx @playwright/mcp@latest

# Install for project (team shared)
claude mcp add playwright --scope project -- npx @playwright/mcp@latest

Headless Mode

For headless operation (no visible browser):

claude mcp add playwright -- npx @playwright/mcp@latest --headless

Common Configurations

With specific browser

claude mcp add playwright -- npx @playwright/mcp@latest --browser firefox

With custom viewport

claude mcp add playwright -- npx @playwright/mcp@latest --viewport-size 1920x1080

With isolated sessions (no persistence)

claude mcp add playwright -- npx @playwright/mcp@latest --isolated

Verify Installation

After installation:

  1. Restart Claude Code
  2. Run /mcp to see the playwright server
  3. Test with: "Navigate to google.com and take a snapshot"

Available Tools After Installation

Execution Instructions

When the user runs this command:

  1. Determine scope from arguments or ask:
  1. Run installation:

```bash

claude mcp add playwright [--scope <scope>] -- npx @playwright/mcp@latest [options]

```

  1. Verify success by checking output
  1. Inform user to restart Claude Code to use the new MCP server
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.