Skip to the collection

agent-native · Browser & Web Execution

Playwright MCP

Listed on The Agent-Native Index

A Model Context Protocol (MCP) server that provides browser automation capabilities using Playwright

What it does

Playwright MCP exposes browser automation as MCP tools so coding agents can open pages, inspect structure, click/type, and extract information from real web sessions. It uses accessibility snapshots and structured tool responses, reducing reliance on pixel-based screenshot interpretation.


Agent-facing interfaces

How agents onboard

Interaction pattern: MCP server (stdio by default; optional HTTP transport)

npx @playwright/mcp@latest

See the full onboarding section in the dossier.

Protocol surface

Interface Detail
MCP stdio npx @playwright/mcp@latest
MCP HTTP --port mode, e.g. http://localhost:8931/mcp
npm package @playwright/mcp
Docker mcr.microsoft.com/playwright/mcp