-
Notifications
You must be signed in to change notification settings - Fork 292
无法使用 #118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey, thanks for sharing! There are three components to run this MCP tool:
Do note the difference between:
After that, open up your chrome dev tools and then the BrowserToolsMCP panel. If you're still having issues try these steps:
After that, it should work but if it doesn't let me know and I can share some more steps to gather logs/info about the issue! |
1 // Handle explicit request to update the server with the URL if (message.type === "CAPTURE_SCREENSHOT" && message.tabId) {
} // Validate server identity
} catch (error) { // Helper function to process the tab and run the audit if (!url) { // Update our cache and the server with this URL // Track URLs for each tab // Function to get the current URL for a tab
} catch (error) { // Listen for tab updates to detect page refreshes and URL changes
} // Check if this is a page refresh (status becoming "complete")
} // Listen for tab activation (switching between tabs) // Get the URL of the newly activated tab
}); // Function to update the server with the current URL console.log( // Get the saved settings
}); // Clean up when tabs are closed // Function to retest connection when a page is refreshed // Get the saved settings
}); // Function to capture and send screenshot
}); |
(base) *******deMacBook-Air ~ % npx @agentdeskai/[email protected]
Attempting initial server discovery on startup...
Starting server discovery process
Will try hosts: 127.0.0.1, 127.0.0.1, localhost
Will try ports: 3025, 3026, 3027, 3028, 3029, 3030, 3031, 3032, 3033, 3034, 3035
Checking 127.0.0.1:3025...
Error checking 127.0.0.1:3025: fetch failed
Checking 127.0.0.1:3026...
Error checking 127.0.0.1:3026: fetch failed
Checking 127.0.0.1:3027...
Error checking 127.0.0.1:3027: fetch failed
Checking 127.0.0.1:3028...
Error checking 127.0.0.1:3028: fetch failed
Checking 127.0.0.1:3029...
Error checking 127.0.0.1:3029: fetch failed
Checking 127.0.0.1:3030...
Error checking 127.0.0.1:3030: fetch failed
Checking 127.0.0.1:3031...
Error checking 127.0.0.1:3031: fetch failed
Checking 127.0.0.1:3032...
Error checking 127.0.0.1:3032: fetch failed
Checking 127.0.0.1:3033...
Error checking 127.0.0.1:3033: fetch failed
Checking 127.0.0.1:3034...
Error checking 127.0.0.1:3034: fetch failed
Checking 127.0.0.1:3035...
Error checking 127.0.0.1:3035: fetch failed
Checking 127.0.0.1:3025...
Error checking 127.0.0.1:3025: fetch failed
Checking 127.0.0.1:3026...
Error checking 127.0.0.1:3026: fetch failed
Checking 127.0.0.1:3027...
Error checking 127.0.0.1:3027: fetch failed
Checking 127.0.0.1:3028...
Error checking 127.0.0.1:3028: fetch failed
Checking 127.0.0.1:3029...
Error checking 127.0.0.1:3029: fetch failed
Checking 127.0.0.1:3030...
Error checking 127.0.0.1:3030: fetch failed
Checking 127.0.0.1:3031...
Error checking 127.0.0.1:3031: fetch failed
Checking 127.0.0.1:3032...
Error checking 127.0.0.1:3032: fetch failed
Checking 127.0.0.1:3033...
Error checking 127.0.0.1:3033: fetch failed
Checking 127.0.0.1:3034...
Error checking 127.0.0.1:3034: fetch failed
Checking 127.0.0.1:3035...
Error checking 127.0.0.1:3035: fetch failed
Checking localhost:3025...
Error checking localhost:3025: fetch failed
Checking localhost:3026...
Error checking localhost:3026: fetch failed
Checking localhost:3027...
Error checking localhost:3027: fetch failed
Checking localhost:3028...
Error checking localhost:3028: fetch failed
Checking localhost:3029...
Error checking localhost:3029: fetch failed
Checking localhost:3030...
Error checking localhost:3030: fetch failed
Checking localhost:3031...
Error checking localhost:3031: fetch failed
Checking localhost:3032...
Error checking localhost:3032: fetch failed
Checking localhost:3033...
Error checking localhost:3033: fetch failed
Checking localhost:3034...
Error checking localhost:3034: fetch failed
Checking localhost:3035...
Error checking localhost:3035: fetch failed
No server found during discovery
Initial server discovery failed. Will try again when tools are used.
The text was updated successfully, but these errors were encountered: