From claude-code-dev
Installs Playwright MCP server for browser automation in Claude Code, enabling navigation, clicking, form filling, screenshots, and accessibility snapshots without vision models.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-code-dev:install-playwright-mcpThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Install the Playwright MCP server to enable browser automation capabilities.
Install the Playwright MCP server to enable browser automation capabilities.
The Playwright MCP server provides:
Run this command to install:
claude mcp add playwright -- npx @playwright/mcp@latest
--scope local (default): Available only in current project--scope project: Shared with team via .mcp.json--scope user: Available across all your projects# 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
For headless operation (no visible browser):
claude mcp add playwright -- npx @playwright/mcp@latest --headless
claude mcp add playwright -- npx @playwright/mcp@latest --browser firefox
claude mcp add playwright -- npx @playwright/mcp@latest --viewport-size 1920x1080
claude mcp add playwright -- npx @playwright/mcp@latest --isolated
After installation:
/mcp to see the playwright serverbrowser_navigate - Go to URLbrowser_click - Click elementsbrowser_type - Type textbrowser_snapshot - Get page accessibility treebrowser_take_screenshot - Capture screenshotbrowser_fill_form - Fill multiple form fieldsWhen the user runs this command:
Determine scope from arguments or ask:
local if not specifiedRun installation:
claude mcp add playwright [--scope <scope>] -- npx @playwright/mcp@latest [options]
Verify success by checking output
Inform user to restart Claude Code to use the new MCP server
npx claudepluginhub jpoutrin/product-forge --plugin claude-code-devRuns Playwright MCP server for Claude Code browser automation via accessibility tree tools. Enables navigation, clicks, forms, screenshots, content extraction for blocked sites or local UI testing.
Provides browser automation via Playwright MCP for Claude Code. Use for web interactions, screenshots, local UI testing, and accessing content that blocks non-browser HTTP clients.
Guides enabling and manually interacting with the Playwright MCP server for browser automation via JSON-RPC over stdio.