You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -121,13 +121,16 @@ Go to Settings → MCP Servers → Add Server, paste this JSON:
121
121
"mcpServers": {
122
122
"playwright": {
123
123
"command": "/opt/homebrew/bin/playwright-mcp",
124
-
"transport": "stdio"
124
+
"transport": "stdio",
125
+
"env": {
126
+
"HOME": "/Users/YOURUSERNAME"
127
+
}
125
128
}
126
129
}
127
130
}
128
131
```
129
132
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`.
131
134
132
135
Toggle ON and Playwright tools appear automatically. The AI can now control browsers directly.
0 commit comments