Update README.md

This commit is contained in:
Tommy D. Rossi
2026-01-15 16:50:11 +01:00
parent 0ba4acfbce
commit 68f5896ab6
+14 -14
View File
@@ -41,7 +41,7 @@
"mcpServers": { "mcpServers": {
"playwriter": { "playwriter": {
"command": "npx", "command": "npx",
"args": ["playwriter@latest"] "args": ["-y", "playwriter@latest"]
} }
} }
} }
@@ -161,11 +161,11 @@ When set, the MCP will automatically create an initial tab when a Playwright cli
{ {
"mcpServers": { "mcpServers": {
"playwriter": { "playwriter": {
"command": "npx", "command": "npx",
"args": ["playwriter@latest"], "args": ["-y", "playwriter@latest"],
"env": { "env": {
"PLAYWRITER_AUTO_ENABLE": "1" "PLAYWRITER_AUTO_ENABLE": "1"
} }
} }
} }
} }
@@ -359,8 +359,8 @@ Configure your MCP client with the host and token. You can pass them as CLI argu
{ {
"mcpServers": { "mcpServers": {
"playwriter": { "playwriter": {
"command": "npx", "command": "npx",
"args": ["playwriter@latest", "--host", "host.docker.internal", "--token", "<secret>"] "args": ["-y", "playwriter@latest", "--host", "host.docker.internal", "--token", "<secret>"]
} }
} }
} }
@@ -372,12 +372,12 @@ Or use environment variables (useful if you want to set them globally in your pr
{ {
"mcpServers": { "mcpServers": {
"playwriter": { "playwriter": {
"command": "npx", "command": "npx",
"args": ["playwriter@latest"], "args": ["-y", "playwriter@latest"],
"env": { "env": {
"PLAYWRITER_HOST": "host.docker.internal", "PLAYWRITER_HOST": "host.docker.internal",
"PLAYWRITER_TOKEN": "<secret>" "PLAYWRITER_TOKEN": "<secret>"
} }
} }
} }
} }