@dynamicu/chromedebug-mcp 2.4.4 → 2.4.5

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/package.json +1 -1
  2. package/src/index.js +8 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamicu/chromedebug-mcp",
3
- "version": "2.4.4",
3
+ "version": "2.4.5",
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/index.js CHANGED
@@ -184,6 +184,14 @@ class ChromePilotApp {
184
184
  }
185
185
  }
186
186
 
187
+ // Auto-enable single-server mode on Windows
188
+ // This prevents HTTP server initialization issues that cause MCP crashes
189
+ if (process.platform === 'win32' && !args.singleServer) {
190
+ args.singleServer = true;
191
+ logger.info('Windows detected: Running in MCP-only mode (HTTP server disabled)');
192
+ logger.info('To start HTTP server for Chrome extension, run: chromedebug-mcp-server');
193
+ }
194
+
187
195
  return args;
188
196
  }
189
197