Skip to main content
Glama

Playwright MCP

by Angeluis001
Apache 2.0
66,630
  • Apple
  • Linux

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CAPSNoComma-separated list of capabilities to enable, possible values: tabs, pdf, history, wait, files, install. Default is all.
HOSTNoHost to bind server to. Default is localhost. Use 0.0.0.0 to bind to all interfaces.
PORTNoPort to listen on for SSE transport.
CONFIGNoPath to the configuration file.
DEVICENoDevice to emulate, for example: "iPhone 15"
VISIONNoRun server that uses screenshots (Aria snapshots are used by default)
BROWSERNoBrowser or chrome channel to use, possible values: chrome, firefox, webkit, msedge.
HEADLESSNoRun browser in headless mode, headed by default
ISOLATEDNoKeep the browser profile in memory, do not save it to disk.
NO_SANDBOXNoDisable the sandbox for all process types that are normally sandboxed.
OUTPUT_DIRNoPath to the directory for output files.
SAVE_TRACENoWhether to save the Playwright Trace of the session into the output directory.
USER_AGENTNoSpecify user agent string
CDP_ENDPOINTNoCDP endpoint to connect to.
PROXY_BYPASSNoComma-separated domains to bypass proxy, for example ".com,chromium.org,.domain.com"
PROXY_SERVERNoSpecify proxy server, for example "http://myproxy:3128" or "socks5://myproxy:8080"
STORAGE_STATENoPath to the storage state file for isolated sessions.
USER_DATA_DIRNoPath to the user data directory. If not specified, a temporary directory will be created.
VIEWPORT_SIZENoSpecify browser viewport size in pixels, for example "1280, 720"
ALLOWED_ORIGINSNoSemicolon-separated list of origins to allow the browser to request. Default is to allow all.
BLOCKED_ORIGINSNoSemicolon-separated list of origins to block the browser from requesting. Blocklist is evaluated before allowlist.
EXECUTABLE_PATHNoPath to the browser executable.
IMAGE_RESPONSESNoWhether to send image responses to the client. Can be "allow", "omit", or "auto". Defaults to "auto".
IGNORE_HTTPS_ERRORSNoIgnore https errors
BLOCK_SERVICE_WORKERSNoBlock service workers

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

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Angeluis001/playwright-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server