-
Notifications
You must be signed in to change notification settings - Fork 1.7k
feat(settings): restore CDP settings UI and pin chrome-devtools-mcp version #1375
Description
Background
CDP Settings UI was originally added in #1002 as part of the Chrome DevTools Protocol support feature. It provided a GUI in Settings → System for developers to enable/disable CDP remote debugging, view the active port, and copy MCP configuration.
However, this UI was accidentally removed in #1095 (commit 9ec4804) while fixing tray IPC and icon display issues.
What needs to be done
-
Restore the CDP Settings UI that was removed — including:
- Enable/disable CDP toggle (dev mode only)
- Current port display with copy and open-in-browser actions
- MCP configuration display with one-click copy
- Restart alert when config changes but hasn't taken effect yet
-
Add DevTools toggle button in System Settings for quick access to open/close DevTools
-
Pin
chrome-devtools-mcpversion to@0.16.0in docs and CDP log output — the original code used@latest, which can break when upstream publishes breaking changes. The version ingetDefaultMcpServers(used by WebUI end users) remains@latestsince users should get the newest version.
Related
- feat(cdp): Add Chrome DevTools Protocol support for AI-assisted debugging #1002 — original CDP feature PR
- fix(tray): resolve IPC notification and icon display issues #1095 — PR that accidentally removed the UI (commit
9ec4804)