@dynamicu/chromedebug-mcp 2.5.8 → 2.5.9
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 +8 -0
- package/chrome-extension/popup.js +24 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,6 +5,14 @@
|
|
|
5
5
|
|
|
6
6
|
ChromeDebug MCP is a Model Context Protocol (MCP) server that gives AI assistants like Claude Code full control over a Chrome browser instance. It provides comprehensive browser automation, debugging, and screen recording capabilities optimized for AI-assisted development.
|
|
7
7
|
|
|
8
|
+
## 🎥 See It In Action
|
|
9
|
+
|
|
10
|
+
Watch the demo video to see how ChromeDebug MCP works:
|
|
11
|
+
|
|
12
|
+
[](https://youtu.be/2Y9nIsvEjks?si=x5XjN0ZPHYhjZAqd)
|
|
13
|
+
|
|
14
|
+
**[▶️ Watch Demo Video](https://youtu.be/2Y9nIsvEjks?si=x5XjN0ZPHYhjZAqd)**
|
|
15
|
+
|
|
8
16
|
## Quick Start
|
|
9
17
|
|
|
10
18
|
### Installation from npm
|
|
@@ -829,6 +829,25 @@ async function initializeLicenseUI() {
|
|
|
829
829
|
console.log('[License] Created new user ID:', currentUserId);
|
|
830
830
|
}
|
|
831
831
|
|
|
832
|
+
// Check for license activation file and pre-fill license key
|
|
833
|
+
try {
|
|
834
|
+
const activationFileUrl = chrome.runtime.getURL('license-activation.json');
|
|
835
|
+
const response = await fetch(activationFileUrl);
|
|
836
|
+
if (response.ok) {
|
|
837
|
+
const activationData = await response.json();
|
|
838
|
+
if (activationData.license_key) {
|
|
839
|
+
const licenseKeyInput = document.getElementById('license-key-input');
|
|
840
|
+
if (licenseKeyInput) {
|
|
841
|
+
licenseKeyInput.value = activationData.license_key;
|
|
842
|
+
console.log('[License UI] Pre-filled license key from activation file');
|
|
843
|
+
}
|
|
844
|
+
}
|
|
845
|
+
}
|
|
846
|
+
} catch (error) {
|
|
847
|
+
// Activation file doesn't exist or is inaccessible - this is normal for FREE version
|
|
848
|
+
console.log('[License UI] No activation file found - normal for FREE version');
|
|
849
|
+
}
|
|
850
|
+
|
|
832
851
|
// Check license status
|
|
833
852
|
const licenseStatus = await licenseClient.getCachedLicenseStatus();
|
|
834
853
|
console.log('[License] License status:', licenseStatus);
|
|
@@ -878,6 +897,11 @@ async function handleLicenseActivation() {
|
|
|
878
897
|
messageDiv.style.color = '#2196F3';
|
|
879
898
|
console.log('[License] Validating license key...');
|
|
880
899
|
|
|
900
|
+
// Clear any existing instance ID to force fresh activation
|
|
901
|
+
// This ensures we don't try to validate with stale/deleted instance IDs
|
|
902
|
+
await chrome.storage.local.remove(['ls_instance_id']);
|
|
903
|
+
console.log('[License] Cleared existing instance ID for fresh activation');
|
|
904
|
+
|
|
881
905
|
const result = await licenseClient.validateLicense(licenseKey);
|
|
882
906
|
console.log('[License] Validation result:', result);
|
|
883
907
|
console.log('[License] Error value:', result.error);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamicu/chromedebug-mcp",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.9",
|
|
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",
|