Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| BASE | No | Custom workspace path where the server will create and manage the .playwright-mcp directory (corresponds to the --base flag). | |
| ACTIONS | No | Path to custom actions directory (corresponds to the --actions flag). | |
| VERBOSE | No | Set to 'true' or '1' to enable verbose logging (corresponds to the --verbose flag). | |
| PLAYWRIGHTIUM_HEADLESS | No | Set to '1' to run the browser in headless mode (background execution). By default, the browser runs in headed mode so you can watch the automation. |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |