Playwright MCP

Apache 2.0
  • Apple
  • Linux

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPort to listen on for SSE transport
RECORDNoRecord browser interactions as video
VISIONNoRun server that uses screenshots (Aria snapshots are used by default)
BROWSERNoBrowser or Chrome channel to use. Possible values: chrome, firefox, webkit, msedge, chrome-beta, chrome-canary, chrome-dev, msedge-beta, msedge-canary, msedge-devchrome
HEADLESSNoRun browser in headless mode (headed by default)
RECORD_PATHNoPath to save recording files./recordings
CAPABILITIESNoComma-separated list of capabilities to enable, possible values: tabs, pdf, history, wait, files, install
CDP_ENDPOINTNoCDP endpoint to connect to
RECORD_FORMATNoRecording format, possible values: mp4, webmmp4
USER_DATA_DIRNoPath to the user data directory
EXECUTABLE_PATHNoPath to the browser executable

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

ID: pqbejrd9xc