browser-ipc-cdp 2.0.0 → 2.0.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/brave_ipc.py +4 -3
  2. package/package.json +1 -1
package/brave_ipc.py CHANGED
@@ -418,11 +418,12 @@ def update_mcp_json(port: int) -> bool:
418
418
  asi el puerto siempre esta fresco sin reescribir .mcp.json.
419
419
  """
420
420
  wsl_host_ip = get_wsl_host_ip()
421
- wrapper_path = str(Path(__file__).parent / "brave_mcp_launcher.js")
422
421
 
422
+ # Portable: npx resuelve el bin desde global o local install.
423
+ # Funciona tanto con `npm i -g` como con `npm i` en proyecto.
423
424
  brave_entry = {
424
- "command": "node",
425
- "args": [wrapper_path]
425
+ "command": "npx",
426
+ "args": ["-y", "browser-ipc-cdp-mcp"]
426
427
  }
427
428
 
428
429
  # Actualizar ambos .mcp.json: el del home y el del proyecto IPC
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "browser-ipc-cdp",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Control remoto de navegadores Chromium (Brave, Chrome, Edge) via IPC + CDP dinamico. Un comando para conectar Claude Code a tu navegador real.",
5
5
  "bin": {
6
6
  "browser-ipc-cdp": "bin/cli.js",