Skip to content

Commit 780909d

Browse files
macOS26claude
andcommitted
README: Playwright config needs HOME env var
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent df9d029 commit 780909d

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,13 +121,16 @@ Go to Settings → MCP Servers → Add Server, paste this JSON:
121121
"mcpServers": {
122122
"playwright": {
123123
"command": "/opt/homebrew/bin/playwright-mcp",
124-
"transport": "stdio"
124+
"transport": "stdio",
125+
"env": {
126+
"HOME": "/Users/YOURUSERNAME"
127+
}
125128
}
126129
}
127130
}
128131
```
129132

130-
> **Note:** If you installed Node.js via nvm or another method, replace `/opt/homebrew/bin/playwright-mcp` with the output of `which playwright-mcp`.
133+
> **Note:** Replace `YOURUSERNAME` with your macOS username (run `whoami` in Terminal). If you installed Node.js via nvm, replace the command path with the output of `which playwright-mcp`.
131134
132135
Toggle ON and Playwright tools appear automatically. The AI can now control browsers directly.
133136

0 commit comments

Comments
 (0)