Resources

Tools & integrations

Playwright MCP

Give an AI agent browser inspection and interaction when the task requires it.

CodexClaude CodeCursor
Curated from MicrosoftFreeUnpinned upstream documentation snapshot · reviewed 2026-11-17; verify current version before setup

Use a browser integration when the agent needs to inspect a real UI, reproduce an interaction, or verify what a visitor sees. Define the target site and task before connecting it. Start with a disposable page or a local application and check a read-only action before allowing mutations.

Follow the upstream README for the current runtime and launch configuration, then register it using your coding tool’s own MCP settings. Do not copy a configuration intended for another client without translating its format. Keep test browser state separate from personal authenticated sessions where possible.

A connection is not a test suite: retain screenshots or other observable evidence of the requested result. The upstream project also discusses CLI-based alternatives; choose the interface that fits your task rather than assuming MCP is always the most efficient option.

Setup requires Node.js 18 or newer according to the reviewed README. The commands below follow the upstream @latest example, which is intentionally not a version pin; inspect the resolved package and pin it under your own dependency policy before using it in a controlled environment.

Get install instructions.

Documentation reviewedChecked 2026-11-17

Tool setup checked against official documentation. Pristren has not executed this workflow through this tool.

  1. Check Node.js and the upstream package version. Review the registration below; running it configures this host and may download executable packages.
  2. Configure the server through Codex MCP settings or a [mcp_servers.NAME] entry in the appropriate config.toml. Use the upstream transport and authentication requirements.
  3. Read the upstream README linked below for the current endpoint or launch arguments. Configure secrets through the supported client flow, not inside a prompt.
  4. Verify a small permitted read or local test. Do not assume that connecting grants authority for write actions.

Register Playwright MCP

codex mcp add playwright npx "@playwright/mcp@latest"
Command reference
Official setup documentation

License and access: Apache-2.0 for the upstream MCP server; websites and accessed data retain their own terms.

Part of a bigger picture.

Sources and review notes