You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The BrowserTools MCP extension fails to establish a proper connection with the local server, sending undefined data in all requests. Additionally, there are npm configuration issues that need to be addressed.
Server starts successfully but receives malformed requests
Extension UI shows "Disconnected" status
All requests contain undefined data
Missing npm configuration in root directory
Error Logs
1. NPM Root Directory Error
npm error code ENOENT
npm error syscall open
npm error path /Users/cedrictantcheu/Downloads/chrome-extension/package.json
npm error errno -2
npm error enoent Could not read package.json: Error: ENOENT: no such file or directory
2. Server Start Output
> @agentdeskai/[email protected] start
> tsc && node dist/browser-connector.js
Starting Browser Tools Server...
Requested port: 3025
Found available port: 3025
=== Browser Tools Server Started ===
Aggregator listening on http://0.0.0.0:3025
3. Server Logs (Continuous Pattern)
=== Received Extension Log ===
Request body: {
dataType: undefined,
timestamp: undefined,
hasSettings: false
}
Warning: No data received in log request
Current log counts: {
consoleLogs: 0,
consoleErrors: 0,
networkErrors: 0,
networkSuccess: 0
}
Steps to Reproduce
Clone the repository
Navigate to /browser-tools-mcp/browser-tools-server
Run npm start
Load the extension in Chrome developer mode
Open DevTools > BrowserTools MCP tab
Observe:
Status remains "Disconnected"
Server logs show undefined data
Continuous failed connection attempts
Required Information
Expected data format for requests
Required npm scripts and configuration
Correct project structure documentation
Sample of valid request payload
Suggested Investigation Points
Data format validation in extension's background script
Server's request handling logic
Project setup requirements
npm script configuration
Possible Solutions
Document required data format
Add data validation on both ends
Provide setup guide with npm configuration
Include example of working request/response cycle
The text was updated successfully, but these errors were encountered:
Description
The BrowserTools MCP extension fails to establish a proper connection with the local server, sending undefined data in all requests. Additionally, there are npm configuration issues that need to be addressed.
Environment
/Users/cedrictantcheu/Downloads/chrome-extension/browser-tools-mcp
Current Behavior
Error Logs
1. NPM Root Directory Error
npm error code ENOENT npm error syscall open npm error path /Users/cedrictantcheu/Downloads/chrome-extension/package.json npm error errno -2 npm error enoent Could not read package.json: Error: ENOENT: no such file or directory
2. Server Start Output
3. Server Logs (Continuous Pattern)
Steps to Reproduce
/browser-tools-mcp/browser-tools-server
npm start
Required Information
Suggested Investigation Points
Possible Solutions
The text was updated successfully, but these errors were encountered: