@dynamicu/chromedebug-mcp 2.5.12 → 2.5.14

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.
package/README.md CHANGED
@@ -59,9 +59,9 @@ ChromeDebug PRO adds advanced features including:
59
59
 
60
60
  Watch the step-by-step installation guide:
61
61
 
62
- [![ChromeDebug PRO Installation Guide](https://img.youtube.com/vi/0kGtv8rr1IA/0.jpg)](https://youtu.be/0kGtv8rr1IA?si=YmJuOJRtYGdAFuMQ)
62
+ [![ChromeDebug PRO Installation Guide](https://img.youtube.com/vi/TBjj5FA8DRg/0.jpg)](https://youtu.be/TBjj5FA8DRg)
63
63
 
64
- **[▶️ Watch PRO Installation Guide](https://youtu.be/0kGtv8rr1IA?si=YmJuOJRtYGdAFuMQ)**
64
+ **[▶️ Watch PRO Installation Guide](https://youtu.be/TBjj5FA8DRg)**
65
65
 
66
66
  ### Installation Steps
67
67
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamicu/chromedebug-mcp",
3
- "version": "2.5.12",
3
+ "version": "2.5.14",
4
4
  "description": "ChromeDebug MCP - MCP server that provides full control over a Chrome browser instance for debugging and automation with AI assistants like Claude Code",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
package/src/logger.js CHANGED
@@ -1,10 +1,11 @@
1
1
  // Simple conditional logger for Chrome Debug
2
+ // All logs go to stderr to avoid interfering with MCP stdio communication
2
3
  const isDev = process.env.NODE_ENV === 'development';
3
4
 
4
5
  module.exports = {
5
- log: (...args) => { if (isDev) console.log(...args); },
6
+ log: (...args) => { if (isDev) console.error(...args); },
6
7
  error: (...args) => console.error(...args),
7
- warn: (...args) => { if (isDev) console.warn(...args); },
8
- info: (...args) => { if (isDev) console.info(...args); },
9
- debug: (...args) => { if (isDev) console.debug(...args); }
8
+ warn: (...args) => { if (isDev) console.error(...args); },
9
+ info: (...args) => { if (isDev) console.error(...args); },
10
+ debug: (...args) => { if (isDev) console.error(...args); }
10
11
  };
@@ -30,12 +30,12 @@ class HttpClientService {
30
30
  port = config.httpPort || port;
31
31
  }
32
32
  } catch (configError) {
33
- console.warn('[HttpClient] Config loader not available, using default port:', port);
33
+ console.error('[HttpClient] Config loader not available, using default port:', port);
34
34
  }
35
-
35
+
36
36
  this.baseUrl = `http://localhost:${port}`;
37
37
  this.initialized = true;
38
- console.log(`[HttpClient] Initialized with base URL: ${this.baseUrl}`);
38
+ console.error(`[HttpClient] Initialized with base URL: ${this.baseUrl}`);
39
39
  } catch (error) {
40
40
  console.error('[HttpClient] Failed to initialize:', error);
41
41
  throw error;
@@ -71,7 +71,7 @@ class HttpClientService {
71
71
  }
72
72
 
73
73
  try {
74
- console.log(`[HttpClient] Making ${requestOptions.method} request to ${url}`);
74
+ console.error(`[HttpClient] Making ${requestOptions.method} request to ${url}`);
75
75
  const response = await fetch(url, requestOptions);
76
76
 
77
77
  if (!response.ok) {