@dynamicu/chromedebug-mcp 2.7.4 → 2.7.6
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 +90 -658
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,170 +3,116 @@
|
|
|
3
3
|
[](https://www.npmjs.com/package/@dynamicu/chromedebug-mcp)
|
|
4
4
|
[](https://opensource.org/licenses/MIT)
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
**Give your AI assistant eyes into your browser.** ChromeDebug connects Claude Code directly to Chrome, letting AI see, interact with, and debug web pages alongside you.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
- **Multiple Recording Modes:** Screen recording, workflow recording, and screenshot recording with countdown
|
|
10
|
-
- **Visual Element Selection:** Click to select elements and modify them via MCP tools
|
|
11
|
-
- **Frame-by-Frame Capture:** High-quality screenshots with synchronized console logs
|
|
12
|
-
- **Video Export (PRO):** Export recordings as MP4 videos with customizable settings
|
|
13
|
-
- **Workflow Replay:** Record and replay user interactions for debugging
|
|
14
|
-
- **100% Local:** All data stored locally - no cloud uploads
|
|
8
|
+
## Why ChromeDebug?
|
|
15
9
|
|
|
16
|
-
|
|
10
|
+
- **Show, don't tell** - Record bugs instead of explaining them
|
|
11
|
+
- **AI sees what you see** - Screenshots, console logs, and DOM in real-time
|
|
12
|
+
- **Click to select** - Point at elements, let AI modify them
|
|
13
|
+
- **100% private** - All data stays on your machine
|
|
17
14
|
|
|
18
|
-
|
|
15
|
+

|
|
19
16
|
|
|
20
|
-
|
|
17
|
+
## Quick Start (2 minutes)
|
|
21
18
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
## Quick Start
|
|
25
|
-
|
|
26
|
-
### Installation from npm
|
|
19
|
+
### 1. Install the MCP Server
|
|
27
20
|
|
|
28
21
|
```bash
|
|
29
|
-
# Install globally
|
|
30
22
|
npm install -g @dynamicu/chromedebug-mcp
|
|
31
|
-
|
|
32
|
-
# Or install locally in your project
|
|
33
|
-
npm install @dynamicu/chromedebug-mcp
|
|
34
23
|
```
|
|
35
24
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
### Chrome Extension Installation
|
|
39
|
-
|
|
40
|
-
Install the Chrome extension to enable visual element selection and recording features:
|
|
41
|
-
|
|
42
|
-
🌐 **[Install from Chrome Web Store](https://chromewebstore.google.com/detail/chromedebug-mcp-assistant/lemgbmdnephoaniipapgeciebfeakffn)**
|
|
43
|
-
|
|
44
|
-
- ✅ 5 recordings per day (FREE version)
|
|
45
|
-
- ✅ Visual element selection
|
|
46
|
-
- ✅ Screen, workflow, and screenshot recording
|
|
47
|
-
- ✅ Frame viewer with console logs
|
|
48
|
-
- ✅ Full MCP integration
|
|
49
|
-
- ✅ Automatic updates
|
|
50
|
-
|
|
51
|
-
### Development Installation
|
|
25
|
+
### 2. Add to Claude Code
|
|
52
26
|
|
|
53
27
|
```bash
|
|
54
|
-
|
|
55
|
-
git clone https://github.com/dynamicupgrade/ChromeDebug.git
|
|
56
|
-
cd ChromeDebug
|
|
57
|
-
npm install
|
|
28
|
+
claude mcp add chromedebug -s user -- chromedebug-mcp
|
|
58
29
|
```
|
|
59
30
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
ChromeDebug PRO adds advanced features including:
|
|
63
|
-
- **Unlimited recordings** - No daily recording limits
|
|
64
|
-
- **Export as ZIP/MP4** - Download recordings as image archives or videos
|
|
65
|
-
- **Function call tracking** - Record and replay function execution traces
|
|
66
|
-
- **Advanced debugging** - Enhanced breakpoint and inspection capabilities
|
|
67
|
-
- **Clean exports** - No watermarks on images or videos
|
|
68
|
-
- Priority support and updates
|
|
31
|
+
### 3. Install Chrome Extension
|
|
69
32
|
|
|
70
|
-
|
|
33
|
+
🌐 **[Install from Chrome Web Store](https://chromewebstore.google.com/detail/chromedebug-mcp-assistant/lemgbmdnephoaniipapgeciebfeakffn)** (FREE)
|
|
71
34
|
|
|
72
|
-
|
|
35
|
+
That's it! Ask Claude to "launch Chrome" and start debugging.
|
|
73
36
|
|
|
74
|
-
|
|
37
|
+
---
|
|
75
38
|
|
|
76
|
-
|
|
39
|
+
## Features
|
|
77
40
|
|
|
78
|
-
###
|
|
41
|
+
### 🎬 Three Recording Modes
|
|
79
42
|
|
|
80
|
-
|
|
43
|
+
| Mode | What it does | Best for |
|
|
44
|
+
|------|--------------|----------|
|
|
45
|
+
| **Screen Recording** | Captures video + console logs | Bug reports, demos |
|
|
46
|
+
| **Workflow Recording** | Records clicks, inputs, screenshots | Step-by-step debugging |
|
|
47
|
+
| **Screenshot Recording** | Click-to-capture with countdown | Dropdowns, modals, dynamic content |
|
|
81
48
|
|
|
82
|
-
|
|
83
|
-
2. **Run the installer**:
|
|
84
|
-
```bash
|
|
85
|
-
chromedebug-mcp install-pro \
|
|
86
|
-
--license YOUR_LICENSE_KEY \
|
|
87
|
-
--extension-path ~/Downloads/chromedebug-extension-pro.zip
|
|
88
|
-
```
|
|
89
|
-
3. **Restart your terminal** to load the new environment variable
|
|
90
|
-
4. **Launch Chrome** - PRO features are now active!
|
|
49
|
+

|
|
91
50
|
|
|
92
|
-
###
|
|
51
|
+
### 🎯 Visual Element Selection
|
|
93
52
|
|
|
94
|
-
|
|
95
|
-
- ✓ Validates your license key format
|
|
96
|
-
- ✓ Extracts the PRO extension to `~/.chromedebug-pro/extension`
|
|
97
|
-
- ✓ Saves your license information securely to `~/.chromedebug-pro/license.json`
|
|
98
|
-
- ✓ Configures your shell environment automatically (exports `CHROMEDEBUG_EXTENSION_PATH`)
|
|
99
|
-
- ✓ Creates an installation log at `~/.chromedebug-pro/install.log` for troubleshooting
|
|
53
|
+
Click any element → AI can inspect and modify it instantly.
|
|
100
54
|
|
|
101
|
-
|
|
55
|
+
```
|
|
56
|
+
You: "Make that button blue"
|
|
57
|
+
Claude: *applies CSS to selected element*
|
|
58
|
+
```
|
|
102
59
|
|
|
103
|
-
###
|
|
60
|
+
### 🔍 Console Log Sync
|
|
104
61
|
|
|
105
|
-
|
|
62
|
+
Every recording includes synchronized console output. AI sees exactly what happened when.
|
|
106
63
|
|
|
107
|
-
|
|
108
|
-
# Verify environment variable is set
|
|
109
|
-
echo $CHROMEDEBUG_EXTENSION_PATH
|
|
110
|
-
# Should output: /Users/YOUR_USERNAME/.chromedebug-pro/extension
|
|
64
|
+

|
|
111
65
|
|
|
112
|
-
|
|
113
|
-
cat ~/.chromedebug-pro/license.json
|
|
114
|
-
```
|
|
66
|
+
---
|
|
115
67
|
|
|
116
|
-
|
|
117
|
-
- "ChromeDebug MCP Assistant PRO" in `chrome://extensions/` (with function tracking features enabled)
|
|
68
|
+
## Example Prompts
|
|
118
69
|
|
|
119
|
-
|
|
70
|
+
Once connected, try these with Claude:
|
|
120
71
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
72
|
+
```
|
|
73
|
+
"Launch Chrome and go to my app"
|
|
74
|
+
"Record what happens when I click checkout"
|
|
75
|
+
"Show me the console errors on this page"
|
|
76
|
+
"Make the selected element have rounded corners"
|
|
77
|
+
"Replay my last workflow recording"
|
|
78
|
+
```
|
|
127
79
|
|
|
128
|
-
|
|
129
|
-
- Verify the environment variable is set: `echo $CHROMEDEBUG_EXTENSION_PATH`
|
|
130
|
-
- Close ALL Chrome windows and restart ChromeDebug MCP
|
|
131
|
-
- Check installation log: `cat ~/.chromedebug-pro/install.log`
|
|
80
|
+
---
|
|
132
81
|
|
|
133
|
-
|
|
134
|
-
- Verify you copied the full license key from your purchase email
|
|
135
|
-
- License format should be: `LICENSEID-HASH` (e.g., `ABC12345-0123456789ABCDEF`)
|
|
136
|
-
- Check for extra spaces or line breaks when copying
|
|
82
|
+
## FREE vs PRO
|
|
137
83
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
84
|
+
| | FREE | PRO |
|
|
85
|
+
|---|:---:|:---:|
|
|
86
|
+
| Recordings per day | 5 | Unlimited |
|
|
87
|
+
| Screen/Workflow/Screenshot modes | ✅ | ✅ |
|
|
88
|
+
| Console log sync | ✅ | ✅ |
|
|
89
|
+
| Export as ZIP/MP4 | ❌ | ✅ |
|
|
90
|
+
| Function tracing | ❌ | ✅ |
|
|
91
|
+
| Watermark-free exports | ❌ | ✅ |
|
|
142
92
|
|
|
143
|
-
**
|
|
144
|
-
- Check installation log: `~/.chromedebug-pro/install.log`
|
|
145
|
-
- Open an issue: [GitHub Issues](https://github.com/dynamicupgrade/ChromeDebug/issues)
|
|
93
|
+
💎 **[Get PRO](https://chromedebug.com/checkout/buy/996773cb-682b-430f-b9e3-9ce2130bd967)** - Unlimited recordings + video export
|
|
146
94
|
|
|
147
|
-
|
|
95
|
+
---
|
|
148
96
|
|
|
149
|
-
|
|
97
|
+
## Installation Details
|
|
150
98
|
|
|
151
|
-
|
|
99
|
+
<details>
|
|
100
|
+
<summary><strong>Windows Users (WSL2 recommended)</strong></summary>
|
|
152
101
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
```
|
|
102
|
+
```powershell
|
|
103
|
+
# Install WSL2
|
|
104
|
+
wsl --install
|
|
157
105
|
|
|
158
|
-
|
|
159
|
-
|
|
106
|
+
# Then in WSL terminal:
|
|
107
|
+
npm install -g @dynamicu/chromedebug-mcp
|
|
160
108
|
claude mcp add chromedebug -s user -- wsl chromedebug-mcp
|
|
161
109
|
```
|
|
110
|
+
</details>
|
|
162
111
|
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
#### Manual Configuration (Any MCP Client)
|
|
166
|
-
|
|
167
|
-
If you're not using Claude Code CLI or want to configure manually, add this to your MCP settings file:
|
|
112
|
+
<details>
|
|
113
|
+
<summary><strong>Manual MCP Configuration</strong></summary>
|
|
168
114
|
|
|
169
|
-
|
|
115
|
+
Add to `~/.claude/config.json`:
|
|
170
116
|
|
|
171
117
|
```json
|
|
172
118
|
{
|
|
@@ -177,556 +123,42 @@ If you're not using Claude Code CLI or want to configure manually, add this to y
|
|
|
177
123
|
}
|
|
178
124
|
}
|
|
179
125
|
```
|
|
126
|
+
</details>
|
|
180
127
|
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
{
|
|
184
|
-
"mcpServers": {
|
|
185
|
-
"chromedebug": {
|
|
186
|
-
"command": "wsl",
|
|
187
|
-
"args": ["chromedebug-mcp"]
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
```
|
|
192
|
-
|
|
193
|
-
#### Windows Setup Details
|
|
194
|
-
|
|
195
|
-
⚠️ **Important: WSL2 Recommended for Windows Users**
|
|
196
|
-
|
|
197
|
-
ChromeDebug MCP uses stdio-based communication which works best on Unix systems. For Windows users, we **strongly recommend using WSL2** for full compatibility.
|
|
198
|
-
|
|
199
|
-
**WSL2 Setup (5 minutes):**
|
|
200
|
-
|
|
201
|
-
1. **Install WSL2** (PowerShell as Administrator):
|
|
202
|
-
```powershell
|
|
203
|
-
wsl --install
|
|
204
|
-
```
|
|
205
|
-
|
|
206
|
-
2. **Restart your computer**
|
|
207
|
-
|
|
208
|
-
3. **Open WSL terminal** and install Node.js:
|
|
209
|
-
```bash
|
|
210
|
-
sudo apt update
|
|
211
|
-
sudo apt install nodejs npm -y
|
|
212
|
-
```
|
|
213
|
-
|
|
214
|
-
4. **Install ChromeDebug in WSL**:
|
|
215
|
-
```bash
|
|
216
|
-
npm install -g @dynamicu/chromedebug-mcp
|
|
217
|
-
```
|
|
218
|
-
|
|
219
|
-
5. **Configure Claude Code** to use WSL:
|
|
220
|
-
```bash
|
|
221
|
-
claude mcp add chromedebug -s user -- wsl chromedebug-mcp
|
|
222
|
-
```
|
|
223
|
-
|
|
224
|
-
6. **Verify it works**:
|
|
225
|
-
```bash
|
|
226
|
-
claude mcp list
|
|
227
|
-
# Should show: chromedebug: wsl chromedebug-mcp - ✓ Connected
|
|
228
|
-
```
|
|
229
|
-
|
|
230
|
-
**Alternative: Native Windows (Limited Support)**
|
|
231
|
-
|
|
232
|
-
If you cannot use WSL2, you can force native Windows mode, but stdio communication may be unreliable:
|
|
233
|
-
|
|
234
|
-
```powershell
|
|
235
|
-
# Set environment variable to enable native Windows mode
|
|
236
|
-
set CHROMEDEBUG_FORCE_WINDOWS=1
|
|
237
|
-
chromedebug-mcp --help
|
|
238
|
-
```
|
|
239
|
-
|
|
240
|
-
**Note:** Native Windows may experience stdio communication issues due to cmd.exe limitations. WSL2 is strongly recommended for the best experience.
|
|
241
|
-
|
|
242
|
-
### Standalone HTTP Server (New in v2.4.3)
|
|
243
|
-
|
|
244
|
-
For Windows users or those who prefer to run services separately, you can start the HTTP server independently:
|
|
245
|
-
|
|
246
|
-
```bash
|
|
247
|
-
# Start HTTP server only (no MCP)
|
|
248
|
-
chromedebug-mcp-server
|
|
249
|
-
|
|
250
|
-
# With options
|
|
251
|
-
chromedebug-mcp-server --verbose --port 3000
|
|
252
|
-
```
|
|
253
|
-
|
|
254
|
-
**Available Options:**
|
|
255
|
-
- `--port PORT` - Specify HTTP server port (optional, auto-discovers if not set)
|
|
256
|
-
- `--verbose` - Enable verbose logging
|
|
257
|
-
- `--debug` - Enable debug mode
|
|
258
|
-
- `--no-cleanup` - Skip process cleanup on startup
|
|
259
|
-
- `--session-id ID` - Set custom session ID
|
|
260
|
-
|
|
261
|
-
**Use Cases:**
|
|
262
|
-
- Windows users who want Chrome extension support without running full MCP server
|
|
263
|
-
- Development environments where you want HTTP server running persistently
|
|
264
|
-
- Situations where MCP and HTTP servers should run in separate processes
|
|
265
|
-
|
|
266
|
-
### Embedded HTTP Server
|
|
267
|
-
|
|
268
|
-
Chrome Debug can automatically start an embedded HTTP server for Chrome extension communication. The server uses ports configured in `config/chrome-pilot-config.json` (default: 3001, 3000, 3002, 3028). The server provides these REST API endpoints:
|
|
269
|
-
|
|
270
|
-
| Endpoint | Method | Description | Body |
|
|
271
|
-
|----------|--------|-------------|------|
|
|
272
|
-
| `/chromedebug/evaluate` | POST | Evaluate expression | `{ "expression": "window.user" }` |
|
|
273
|
-
| `/chromedebug/scopes` | GET | Get scope variables | - |
|
|
274
|
-
| `/chromedebug/logs` | GET | Get recent console logs | - |
|
|
275
|
-
| `/chromedebug/screenshot` | GET | Take screenshot | `{ "type": "jpeg", "fullPage": true, "path": "/path/to/save.jpg" }` |
|
|
276
|
-
| `/chromedebug/dom-intent` | POST | Process natural language DOM commands | `{ "selector": "#element", "instruction": "make it blue" }` |
|
|
277
|
-
| `/chromedebug/status` | GET | Check server and Chrome connection status | - |
|
|
278
|
-
| `/chromedebug/upload/:dataType` | POST | Upload screen recording with logs | FormData with video file, logs JSON, and duration |
|
|
279
|
-
| `/chromedebug/recording/:id` | GET | Retrieve a recording by ID | - |
|
|
280
|
-
| `/chromedebug/workflow-recording` | POST | Save workflow recording | `{ "sessionId": "...", "actions": [...], "logs": [...] }` |
|
|
281
|
-
| `/chromedebug/workflow-recording/:sessionId` | GET | Get workflow recording | - |
|
|
282
|
-
| `/chromedebug/restore-point` | POST | Save restore point | `{ "workflowId": "...", "domSnapshot": {...}, ... }` |
|
|
283
|
-
| `/chromedebug/restore-point/:id` | GET/DELETE | Get or delete restore point | - |
|
|
284
|
-
| `/chromedebug/restore-points/:workflowId` | GET | List restore points for workflow | - |
|
|
285
|
-
|
|
286
|
-
### MCP Tools
|
|
287
|
-
|
|
288
|
-
When used as an MCP server, Chrome Debug exposes these tools:
|
|
289
|
-
|
|
290
|
-
**Browser Control:**
|
|
291
|
-
- `launch_chrome` - Start a new Chrome browser instance
|
|
292
|
-
- `connect_to_existing_chrome` - Connect to existing Chrome with debugging enabled
|
|
293
|
-
- `navigate_to` - Navigate to a URL
|
|
294
|
-
- `check_connection` - Check Chrome connection status
|
|
295
|
-
- `force_reset` - Force reset Chrome instance
|
|
296
|
-
|
|
297
|
-
**Page Inspection:**
|
|
298
|
-
- `take_screenshot` - Capture page screenshot (AI-optimized by default)
|
|
299
|
-
- `get_page_content` - Extract page text, HTML, and DOM structure
|
|
300
|
-
- `evaluate_expression` - Execute JavaScript expression in page context
|
|
301
|
-
- `get_logs` - Retrieve console logs
|
|
302
|
-
|
|
303
|
-
**Element Selection (via Chrome Extension):**
|
|
304
|
-
- `get_selected_element` - Get info about element selected via extension
|
|
305
|
-
- `apply_css_to_selected` - Apply CSS to the selected element
|
|
306
|
-
- `execute_js_on_selected` - Execute JavaScript on the selected element
|
|
307
|
-
- `clear_selected_element` - Clear the current selection
|
|
308
|
-
|
|
309
|
-
**Debugging:**
|
|
310
|
-
- `pause_execution` / `resume_execution` - Debugger control
|
|
311
|
-
- `step_over` - Step over in debugger
|
|
312
|
-
- `set_breakpoint` - Set debugging breakpoints
|
|
313
|
-
- `get_scopes` - Get scope variables from top call frame
|
|
314
|
-
|
|
315
|
-
**Workflow Recording:**
|
|
316
|
-
- `get_workflow_recording` - Get a workflow recording with actions and logs (can be large)
|
|
317
|
-
- `list_workflow_recordings` - List all workflow recordings
|
|
318
|
-
- `get_workflow_summary` - Get a concise summary of a workflow recording
|
|
319
|
-
- `get_workflow_function_traces` - Get only function execution traces
|
|
320
|
-
- `get_workflow_errors` - Get only error logs and error-related actions
|
|
321
|
-
- `get_workflow_actions_filtered` - Get filtered workflow actions by type with pagination
|
|
322
|
-
- `play_workflow_recording` - Replay a saved workflow recording
|
|
323
|
-
- `play_workflow_by_name` - Replay workflow by recording name
|
|
324
|
-
|
|
325
|
-
**Restore Points:**
|
|
326
|
-
- `save_restore_point` - Save browser state restore point
|
|
327
|
-
- `restore_from_point` - Restore browser to a saved restore point
|
|
328
|
-
- `list_restore_points` - List restore points for a workflow
|
|
329
|
-
|
|
330
|
-
**Frame Recording (Screen Capture):**
|
|
331
|
-
- `chromedebug_show_frames` - Display frame recording info
|
|
332
|
-
- `get_frame_session_info` - Get frame capture session info
|
|
333
|
-
- `get_frame` - Get specific frame from recording
|
|
334
|
-
- `get_frame_screenshot` - Get screenshot image data as base64
|
|
335
|
-
- `search_frame_logs` - Search logs across all frames
|
|
336
|
-
- `get_frame_logs_paginated` - Get paginated frame logs
|
|
337
|
-
|
|
338
|
-
**Extension Integration:**
|
|
339
|
-
- `get_websocket_info` - Get WebSocket server info for extension connection
|
|
340
|
-
|
|
341
|
-
## Example
|
|
342
|
-
|
|
343
|
-
```bash
|
|
344
|
-
# Start the server (automatically kills existing processes and finds available port)
|
|
345
|
-
npm start
|
|
346
|
-
|
|
347
|
-
# The server will display the port it's running on:
|
|
348
|
-
# 🚀 Starting Chrome Debug Server on port 3000...
|
|
349
|
-
# 📍 Extension should connect to: http://localhost:3000
|
|
350
|
-
# 🔧 MCP tools will use this port for API calls
|
|
351
|
-
|
|
352
|
-
# In another terminal, test the API (use the port shown in startup)
|
|
353
|
-
curl -X POST http://localhost:3000/chromedebug/pause
|
|
354
|
-
curl -X POST http://localhost:3000/chromedebug/evaluate \
|
|
355
|
-
-H "Content-Type: application/json" \
|
|
356
|
-
-d '{"expression": "document.title"}'
|
|
357
|
-
```
|
|
358
|
-
|
|
359
|
-
## Chrome Extension - Visual Element Selection
|
|
360
|
-
|
|
361
|
-
Chrome Debug includes a Chrome extension that enables visual element selection for MCP control:
|
|
362
|
-
|
|
363
|
-
### Installing the Extension
|
|
364
|
-
|
|
365
|
-
#### Option 1: Chrome Web Store (Recommended - FREE Version)
|
|
366
|
-
|
|
367
|
-
Install the FREE version directly from the Chrome Web Store:
|
|
368
|
-
|
|
369
|
-
🌐 **[Install from Chrome Web Store](https://chromewebstore.google.com/detail/chromedebug-mcp-assistant/lemgbmdnephoaniipapgeciebfeakffn)**
|
|
370
|
-
|
|
371
|
-
- ✅ 5 recordings per day
|
|
372
|
-
- ✅ Full MCP integration
|
|
373
|
-
- ✅ Visual element selection
|
|
374
|
-
- ✅ Automatic updates
|
|
375
|
-
- ✅ No manual installation needed
|
|
376
|
-
|
|
377
|
-
#### Option 2: Manual Installation (Development)
|
|
378
|
-
|
|
379
|
-
1. Open Chrome and navigate to `chrome://extensions/`
|
|
380
|
-
2. Enable "Developer mode"
|
|
381
|
-
3. Click "Load unpacked" and select the `chrome-extension` directory
|
|
382
|
-
|
|
383
|
-
#### Option 3: PRO Version (Unlimited) - Automated Installation
|
|
384
|
-
|
|
385
|
-
For unlimited recordings and advanced features, purchase the PRO version:
|
|
386
|
-
|
|
387
|
-
💎 **[Get PRO Version](https://chromedebug.com/checkout/buy/996773cb-682b-430f-b9e3-9ce2130bd967)**
|
|
388
|
-
|
|
389
|
-
- ✅ Unlimited recordings
|
|
390
|
-
- ✅ Advanced function tracing
|
|
391
|
-
- ✅ Enhanced capture features
|
|
392
|
-
- ✅ Priority support
|
|
393
|
-
|
|
394
|
-
**Installation:** PRO extension is automatically installed via the `chromedebug-mcp install-pro` command. See the [Installing PRO Version](#installing-pro-version) section above for detailed instructions.
|
|
395
|
-
|
|
396
|
-
### Using the Extension
|
|
397
|
-
|
|
398
|
-
1. **Element Selection**
|
|
399
|
-
- Click on any element on a webpage
|
|
400
|
-
- The element is sent to Chrome Debug and highlighted in pink
|
|
401
|
-
- Use Claude MCP tools to modify the selected element:
|
|
402
|
-
- `get_selected_element` - View the currently selected element
|
|
403
|
-
- `apply_css_to_selected` - Apply CSS styles to the element
|
|
404
|
-
- `execute_js_on_selected` - Execute JavaScript on the element
|
|
405
|
-
- `clear_selected_element` - Clear the selection
|
|
406
|
-
|
|
407
|
-
2. **Screen Recording**
|
|
408
|
-
- Capture video of the current tab with synchronized console logs
|
|
409
|
-
- All user interactions (clicks, inputs, scrolling) are tracked
|
|
410
|
-
- Recordings stored locally in SQLite database
|
|
411
|
-
|
|
412
|
-
3. **Workflow Recording**
|
|
413
|
-
- Click "Start Workflow Recording" to record user interactions
|
|
414
|
-
- All clicks, inputs, and drags are captured with screenshots
|
|
415
|
-
- Console logs included and associated with each action
|
|
416
|
-
- Workflows can be replayed later for debugging
|
|
417
|
-
|
|
418
|
-
4. **Screenshot Recording** (NEW)
|
|
419
|
-
- Click-to-capture mode with configurable countdown (0/3/5 seconds)
|
|
420
|
-
- Captures the RESULT of a click, not the moment of clicking
|
|
421
|
-
- Perfect for documenting dropdown menus, modals, and form responses
|
|
422
|
-
- Filter recordings by type using the tab system
|
|
423
|
-
|
|
424
|
-
5. **Frame Editor** (PRO)
|
|
425
|
-
- Browse all frames with visual timeline
|
|
426
|
-
- Delete unwanted frames
|
|
427
|
-
- Export as ZIP or MP4 video
|
|
428
|
-
- Full console log synchronization
|
|
429
|
-
|
|
430
|
-
6. **Video Player** (PRO)
|
|
431
|
-
- Play recordings at various speeds (0.25x - 4x)
|
|
432
|
-
- Seek to any frame
|
|
433
|
-
- Synchronized log panel
|
|
434
|
-
- Export to MP4 format
|
|
435
|
-
|
|
436
|
-
### Managing License Activations
|
|
437
|
-
|
|
438
|
-
Chrome Debug uses a license activation system to prevent activation limit exhaustion when reinstalling the extension.
|
|
439
|
-
|
|
440
|
-
#### The Problem
|
|
441
|
-
|
|
442
|
-
When you uninstall and reinstall the Chrome extension, it clears local storage and generates a new activation instance. With a typical 3-activation limit, frequent reinstalls can exhaust your available slots.
|
|
443
|
-
|
|
444
|
-
#### The Solution: Activation Manager
|
|
445
|
-
|
|
446
|
-
Chrome Debug now includes an **Activation Manager** that automatically handles this scenario:
|
|
447
|
-
|
|
448
|
-
**How It Works:**
|
|
449
|
-
1. When activation limit is reached, the Activation Manager opens automatically
|
|
450
|
-
2. Shows all your current activations with device info (e.g., "macOS 14.0 • Chrome 121")
|
|
451
|
-
3. Identifies your current device (highlighted in green)
|
|
452
|
-
4. You select which activation to deactivate
|
|
453
|
-
5. Extension automatically retries activation on current device
|
|
454
|
-
|
|
455
|
-
**Example: Reinstalling on Same Machine**
|
|
456
|
-
|
|
457
|
-
```
|
|
458
|
-
You reinstall the extension on your laptop:
|
|
459
|
-
→ Try to activate license
|
|
460
|
-
→ Activation Manager shows:
|
|
461
|
-
• Activation 1: "macOS 14.0 • Chrome 120" (Oct 10) ← OLD instance
|
|
462
|
-
• Activation 2: "Windows 11 • Chrome 121" (Oct 12)
|
|
463
|
-
• Activation 3: "Linux • Firefox 119" (Oct 14)
|
|
464
|
-
→ You recognize #1 is this same laptop
|
|
465
|
-
→ Click "Deactivate" on #1
|
|
466
|
-
→ Extension automatically activates new instance
|
|
467
|
-
→ Result: Still 3/3 slots, seamless experience
|
|
468
|
-
```
|
|
469
|
-
|
|
470
|
-
**Best Practices:**
|
|
471
|
-
- Before uninstalling: No action needed - Activation Manager handles it
|
|
472
|
-
- Multiple devices: Activation Manager helps track which is which
|
|
473
|
-
- Unused devices: Periodically deactivate machines you no longer use
|
|
474
|
-
|
|
475
|
-
#### FAQ
|
|
476
|
-
|
|
477
|
-
**Q: What happens if I forget which activation is which?**
|
|
478
|
-
A: The Activation Manager shows device information (OS, browser version) and activation dates. Your current device is highlighted in green.
|
|
479
|
-
|
|
480
|
-
**Q: Can I deactivate my current device?**
|
|
481
|
-
A: No, the button is disabled for your current device to prevent accidental lockout.
|
|
482
|
-
|
|
483
|
-
**Q: Does reinstalling the browser consume an activation?**
|
|
484
|
-
A: Yes, because local storage is cleared. Use the Activation Manager to deactivate the old instance first or after reinstalling.
|
|
128
|
+
<details>
|
|
129
|
+
<summary><strong>PRO Installation</strong></summary>
|
|
485
130
|
|
|
486
|
-
|
|
487
|
-
## Development
|
|
131
|
+
After purchasing, run:
|
|
488
132
|
|
|
489
133
|
```bash
|
|
490
|
-
|
|
134
|
+
chromedebug-mcp install-pro \
|
|
135
|
+
--license YOUR_LICENSE_KEY \
|
|
136
|
+
--extension-path ~/Downloads/chromedebug-extension-pro.zip
|
|
491
137
|
```
|
|
492
138
|
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
Once Chrome Debug is installed as an MCP server, you can use these prompts with Claude:
|
|
496
|
-
|
|
497
|
-
### Basic Browser Control
|
|
498
|
-
- "Launch Chrome and navigate to https://example.com"
|
|
499
|
-
- "Evaluate document.title in the browser"
|
|
500
|
-
- "Get all the links on the current page"
|
|
501
|
-
- "Take a screenshot of the current page"
|
|
502
|
-
|
|
503
|
-
### Web Scraping & Automation
|
|
504
|
-
- "Navigate to https://news.ycombinator.com and get the titles of the top 5 stories"
|
|
505
|
-
- "Fill out the search form with 'JavaScript' and submit it"
|
|
506
|
-
- "Click the login button and enter username 'test' and password 'demo'"
|
|
507
|
-
- "Monitor the network requests and show me all API calls"
|
|
508
|
-
|
|
509
|
-
### Debugging Web Apps
|
|
510
|
-
- "Show me all console errors on this page"
|
|
511
|
-
- "Watch for any uncaught exceptions and report them"
|
|
512
|
-
- "Profile the page load performance"
|
|
513
|
-
- "Check if there are any memory leaks by monitoring heap usage"
|
|
514
|
-
|
|
515
|
-
### Advanced Debugging
|
|
516
|
-
- "Set conditional breakpoints when userId === 5"
|
|
517
|
-
- "Trace the execution flow of the checkout() function"
|
|
518
|
-
- "Show me all event listeners attached to the submit button"
|
|
519
|
-
- "Evaluate the current state of the Redux store"
|
|
520
|
-
|
|
521
|
-
### Visual Element Modification
|
|
522
|
-
After selecting an element with the Chrome extension:
|
|
523
|
-
- "Show me what element is currently selected"
|
|
524
|
-
- "Make the selected element blue with rounded corners"
|
|
525
|
-
- "Apply CSS: background-color: #2196F3 !important; padding: 20px !important"
|
|
526
|
-
- "Hide the selected element"
|
|
527
|
-
- "Execute JavaScript to get the element's text content"
|
|
528
|
-
- "Click the selected element"
|
|
529
|
-
- "Clear the selected element"
|
|
530
|
-
|
|
531
|
-
## Screen Recording Feature
|
|
532
|
-
|
|
533
|
-
Chrome Debug includes a powerful screen recording feature that captures video of the current tab along with synchronized console logs. This helps users explain issues more effectively by providing visual context with technical details.
|
|
534
|
-
|
|
535
|
-
### How to Use Recording
|
|
536
|
-
|
|
537
|
-
1. **Start Recording:**
|
|
538
|
-
- Click the Chrome Debug extension icon
|
|
539
|
-
- Click "Start Recording" button
|
|
540
|
-
- The browser will prompt for permission to capture the tab
|
|
541
|
-
- Recording starts immediately after permission is granted
|
|
542
|
-
|
|
543
|
-
2. **During Recording:**
|
|
544
|
-
- The button changes to "Stop Recording" and pulses red
|
|
545
|
-
- A timer shows the recording duration
|
|
546
|
-
- All console logs (log, warn, error, info) are captured with timestamps
|
|
547
|
-
- Continue using the browser normally - all interactions are recorded
|
|
548
|
-
|
|
549
|
-
3. **Stop Recording:**
|
|
550
|
-
- Click "Stop Recording" button
|
|
551
|
-
- The video and logs are automatically uploaded to the Chrome Debug server
|
|
552
|
-
- You'll receive a recording ID (e.g., `rec_1234567890_abc123`)
|
|
553
|
-
|
|
554
|
-
4. **Share with Claude:**
|
|
555
|
-
- Tell Claude: "Get recording rec_1234567890_abc123"
|
|
556
|
-
- Claude will retrieve the video and synchronized console logs
|
|
557
|
-
- The logs show precise timing relative to the video
|
|
558
|
-
|
|
559
|
-
### Recording Details
|
|
560
|
-
|
|
561
|
-
- **Video Format:** WebM with VP9 codec for efficient compression
|
|
562
|
-
- **Resolution:** Up to 1920x1080 (adapts to tab size)
|
|
563
|
-
- **Console Logs:** Captured with millisecond precision timestamps
|
|
564
|
-
- **User Interactions:** Mouse clicks, keyboard input, scrolling automatically captured
|
|
565
|
-
- **Storage:** Recordings are stored temporarily (last 10 recordings kept)
|
|
566
|
-
- **No Audio:** Audio is not captured to focus on visual debugging
|
|
567
|
-
|
|
568
|
-
### Captured Interactions
|
|
569
|
-
|
|
570
|
-
Screen recordings now automatically capture all user interactions:
|
|
571
|
-
|
|
572
|
-
- **Clicks:** Position, element selector, XPath, and clicked text
|
|
573
|
-
- **Input:** Text entered into forms with field selectors
|
|
574
|
-
- **Keypresses:** Special keys like Enter, Escape, Tab
|
|
575
|
-
- **Scrolling:** Scroll positions throughout the recording
|
|
139
|
+
[Watch PRO Installation Video](https://youtu.be/TBjj5FA8DRg)
|
|
140
|
+
</details>
|
|
576
141
|
|
|
577
|
-
|
|
142
|
+
---
|
|
578
143
|
|
|
579
|
-
|
|
580
|
-
- **UI Problems:** Show visual glitches or unexpected behavior
|
|
581
|
-
- **Performance Issues:** Capture slow interactions with console timing
|
|
582
|
-
- **Complex Workflows:** Document multi-step processes that are hard to explain
|
|
583
|
-
- **User Testing:** Review exactly how users interact with your interface
|
|
144
|
+
## Privacy
|
|
584
145
|
|
|
585
|
-
|
|
146
|
+
- ✅ **100% Local** - Recordings never leave your machine
|
|
147
|
+
- ✅ **No cloud** - No uploads, no accounts
|
|
148
|
+
- ✅ **No tracking** - Zero analytics or telemetry
|
|
586
149
|
|
|
587
|
-
|
|
588
|
-
- `chromedebug_show_frames` - Display frame-by-frame recording with interactions and logs
|
|
589
|
-
- `get_frame` - Get specific frame with its interactions and console logs
|
|
590
|
-
- `get_screen_interactions` - Query specific interaction data from recordings
|
|
150
|
+
---
|
|
591
151
|
|
|
592
|
-
##
|
|
152
|
+
## Links
|
|
593
153
|
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
2. **Click anywhere on the page** to trigger a capture
|
|
600
|
-
3. **Countdown timer** (0/3/5 seconds) gives the page time to respond
|
|
601
|
-
4. **Screenshot captured** after the countdown
|
|
602
|
-
|
|
603
|
-
### Use Cases
|
|
604
|
-
|
|
605
|
-
- **Capture dropdown menus:** Click to open, countdown lets menu animate, screenshot captures open state
|
|
606
|
-
- **Document form submissions:** Click submit, countdown waits for response, screenshot shows result
|
|
607
|
-
- **Record modal dialogs:** Click trigger, countdown waits for animation, screenshot shows modal
|
|
608
|
-
- **Step-by-step documentation:** Each click captures the result, not the moment of clicking
|
|
609
|
-
|
|
610
|
-
### Settings
|
|
611
|
-
|
|
612
|
-
- **Countdown Timer:** 0 seconds (instant), 3 seconds (default), or 5 seconds
|
|
613
|
-
- **Hide Cursor:** Option to hide the mouse cursor during capture
|
|
614
|
-
|
|
615
|
-
## Frame Editor (PRO)
|
|
616
|
-
|
|
617
|
-
The Frame Editor is a powerful PRO feature for reviewing, editing, and exporting your recordings.
|
|
618
|
-
|
|
619
|
-
### Features
|
|
620
|
-
|
|
621
|
-
- **Timeline Navigation:** Browse all frames in your recording with a visual timeline
|
|
622
|
-
- **Frame Thumbnails:** Quick preview strip at the bottom for easy navigation
|
|
623
|
-
- **Frame Information:** View timestamp, dimensions, and capture metadata
|
|
624
|
-
- **Console Logs:** See console output associated with each frame
|
|
625
|
-
- **Delete Frames:** Remove unwanted frames from your recording
|
|
626
|
-
|
|
627
|
-
### Export Options
|
|
628
|
-
|
|
629
|
-
- **Download as ZIP:** Export all frames as individual images with metadata JSON
|
|
630
|
-
- **Export as MP4:** Create a video from your frame recording with customizable settings:
|
|
631
|
-
- Frame rate selection (1-30 fps)
|
|
632
|
-
- Quality settings (1080p, 720p, 480p)
|
|
633
|
-
- Playback speed control
|
|
634
|
-
|
|
635
|
-
## Video Player (PRO)
|
|
636
|
-
|
|
637
|
-
The Video Player provides a complete playback experience for your frame recordings.
|
|
638
|
-
|
|
639
|
-
### Playback Controls
|
|
640
|
-
|
|
641
|
-
- **Play/Pause:** Control video playback
|
|
642
|
-
- **Seek Bar:** Jump to any point in the recording
|
|
643
|
-
- **Speed Control:** 0.25x, 0.5x, 1x, 2x, 4x playback speeds
|
|
644
|
-
- **Frame Counter:** Shows current frame and total frame count
|
|
645
|
-
- **Time Display:** Current time and total duration
|
|
646
|
-
|
|
647
|
-
### Viewing Options
|
|
648
|
-
|
|
649
|
-
- **Loop Playback:** Continuously replay the recording
|
|
650
|
-
- **Auto-scroll Logs:** Keep console logs synced with current frame
|
|
651
|
-
- **Log Panel Position:** Right side, bottom, or overlay
|
|
652
|
-
- **Show/Hide Logs:** Toggle console log panel visibility
|
|
653
|
-
|
|
654
|
-
### Console Log Panel
|
|
655
|
-
|
|
656
|
-
- **Synchronized with Playback:** Logs highlight as video plays
|
|
657
|
-
- **Color-coded Levels:** Different colors for log, info, warn, error, debug
|
|
658
|
-
- **Timestamp Display:** See exact timing for each log entry
|
|
659
|
-
- **Searchable:** Find specific log entries
|
|
660
|
-
|
|
661
|
-
## Tab Filtering for Recordings
|
|
662
|
-
|
|
663
|
-
Manage your recordings with built-in filtering:
|
|
664
|
-
|
|
665
|
-
- **All:** View all workflow and screenshot recordings
|
|
666
|
-
- **Workflow:** Filter to show only workflow recordings (action tracking)
|
|
667
|
-
- **Screenshots:** Filter to show only screenshot recordings (click-to-capture)
|
|
668
|
-
|
|
669
|
-
Each recording displays a visual badge indicating its type for easy identification.
|
|
670
|
-
|
|
671
|
-
## FREE vs PRO Comparison
|
|
672
|
-
|
|
673
|
-
| Feature | FREE | PRO |
|
|
674
|
-
|---------|------|-----|
|
|
675
|
-
| **Recording Modes** | | |
|
|
676
|
-
| Screen Recording | ✅ | ✅ |
|
|
677
|
-
| Workflow Recording | ✅ | ✅ |
|
|
678
|
-
| Screenshot Recording | ✅ | ✅ |
|
|
679
|
-
| **Daily Limits** | | |
|
|
680
|
-
| Recordings per Day | 5 | Unlimited |
|
|
681
|
-
| **Export Features** | | |
|
|
682
|
-
| View Recordings | ✅ | ✅ |
|
|
683
|
-
| Frame Editor | Watermarked | ✅ Full Access |
|
|
684
|
-
| Download ZIP | ❌ | ✅ |
|
|
685
|
-
| Export as MP4 | ❌ | ✅ |
|
|
686
|
-
| **Advanced Features** | | |
|
|
687
|
-
| Function Tracing | ❌ | ✅ |
|
|
688
|
-
| Enhanced Debugging | ❌ | ✅ |
|
|
689
|
-
| Video Player | Watermarked | ✅ Full Access |
|
|
690
|
-
| **Support** | | |
|
|
691
|
-
| Community Support | ✅ | ✅ |
|
|
692
|
-
| Priority Support | ❌ | ✅ |
|
|
693
|
-
|
|
694
|
-
### Upgrade to PRO
|
|
695
|
-
|
|
696
|
-
Ready for unlimited recordings and full export capabilities?
|
|
697
|
-
|
|
698
|
-
💎 **[Get ChromeDebug PRO](https://chromedebug.com/checkout/buy/996773cb-682b-430f-b9e3-9ce2130bd967)**
|
|
699
|
-
|
|
700
|
-
## Privacy & Data
|
|
701
|
-
|
|
702
|
-
ChromeDebug respects your privacy:
|
|
703
|
-
|
|
704
|
-
- **100% Local:** All recordings are stored locally on your machine
|
|
705
|
-
- **No Cloud Upload:** Your data never leaves your computer
|
|
706
|
-
- **No Analytics:** No usage tracking or telemetry
|
|
707
|
-
- **No Account Required:** Use the FREE version without any sign-up
|
|
708
|
-
- **License Only:** PRO version requires a license key, but no account or login
|
|
709
|
-
|
|
710
|
-
## Troubleshooting
|
|
711
|
-
|
|
712
|
-
### Common Issues
|
|
713
|
-
|
|
714
|
-
**Extension not connecting to server:**
|
|
715
|
-
- Ensure ChromeDebug MCP server is running
|
|
716
|
-
- Check that the port matches (default: 3001)
|
|
717
|
-
- Look for "Connected" status in the extension popup
|
|
718
|
-
|
|
719
|
-
**Recording not starting:**
|
|
720
|
-
- Grant screen capture permission when prompted
|
|
721
|
-
- Ensure you're not on a restricted page (chrome://, Chrome Web Store)
|
|
154
|
+
- 📺 [Demo Video](https://youtu.be/2Y9nIsvEjks)
|
|
155
|
+
- 🌐 [Chrome Extension](https://chromewebstore.google.com/detail/chromedebug-mcp-assistant/lemgbmdnephoaniipapgeciebfeakffn)
|
|
156
|
+
- 💎 [Get PRO](https://chromedebug.com/checkout/buy/996773cb-682b-430f-b9e3-9ce2130bd967)
|
|
157
|
+
- 🐛 [Report Issues](https://github.com/dynamicupgrade/ChromeDebug/issues)
|
|
158
|
+
- 💬 [Discussions](https://github.com/dynamicupgrade/ChromeDebug/discussions)
|
|
722
159
|
|
|
723
|
-
|
|
724
|
-
- Check console for errors
|
|
725
|
-
- Ensure sufficient storage space
|
|
726
|
-
- Try reducing capture quality in settings
|
|
160
|
+
---
|
|
727
161
|
|
|
728
|
-
|
|
162
|
+
## License
|
|
729
163
|
|
|
730
|
-
|
|
731
|
-
- 🐛 [Report Issues](https://github.com/dynamicupgrade/ChromeDebug/issues)
|
|
732
|
-
- 💬 [Discussions](https://github.com/dynamicupgrade/ChromeDebug/discussions)
|
|
164
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamicu/chromedebug-mcp",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.6",
|
|
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",
|