@dbalabka/chrome-wsl 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +14 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -69,5 +69,19 @@ Then run:
69
69
  - Chrome launch is skipped when port 9222 already listens on Windows (assumed active remote-debug session).
70
70
  - For a different remote debugging port or Chrome path, edit `PORT` or `WINDOWS_CHROME_PATH` in `start_chrome_wsl.sh`.
71
71
 
72
+ ## Chrome DevTools MCP configuration for agents
73
+
74
+ To use Windows Chrome with any agent running in WSL you have
75
+ to cofigure the DevTools to connect to `--browser-url=http://127.0.0.1:9222`.
76
+
77
+ ### Codex
78
+
79
+ ```toml
80
+ [mcp_servers.chome-devtools]
81
+ command = "npx"
82
+ args = ["-y", "chrome-devtools-mcp@latest", "--browser-url=http://127.0.0.1:9222"]
83
+ startup_timeout_sec = 20.0
84
+ ```
85
+
72
86
  ## License
73
87
  MIT License. See `LICENSE` for details.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dbalabka/chrome-wsl",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "WSL helper to start Windows Chrome with remote debugging and socat port forwarding.",
5
5
  "bin": "./chrome-wsl",
6
6
  "files": [