chrome-devtools-mcp-for-extension 0.8.1 → 0.8.2
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 +23 -0
- package/build/src/main.js +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -134,6 +134,29 @@ To test your own extensions under development, add `--loadExtensionsDir`:
|
|
|
134
134
|
|
|
135
135
|
---
|
|
136
136
|
|
|
137
|
+
## 🔍 Check Installed Version
|
|
138
|
+
|
|
139
|
+
To verify which version is being used by your AI client:
|
|
140
|
+
|
|
141
|
+
```
|
|
142
|
+
"What version of chrome-devtools-mcp-for-extension are you using?"
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
The AI will call the tool with `--version` flag to check.
|
|
146
|
+
|
|
147
|
+
**Troubleshooting cache issues:**
|
|
148
|
+
- If you're not getting the latest version with `@latest`:
|
|
149
|
+
- Clear npx cache: `npx clear-npx-cache` or `rm -rf ~/.npm/_npx`
|
|
150
|
+
- Or use specific version: `chrome-devtools-mcp-for-extension@0.8.1`
|
|
151
|
+
- Restart your AI client completely
|
|
152
|
+
|
|
153
|
+
**Direct check (manual):**
|
|
154
|
+
```bash
|
|
155
|
+
npx chrome-devtools-mcp-for-extension@latest --version
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
---
|
|
159
|
+
|
|
137
160
|
## 🛠️ Extension Development Tools
|
|
138
161
|
|
|
139
162
|
Quick reference for the 3 core extension tools:
|
package/build/src/main.js
CHANGED
|
@@ -68,7 +68,8 @@ async function getContext() {
|
|
|
68
68
|
userDataDir: args.userDataDir,
|
|
69
69
|
logFile,
|
|
70
70
|
});
|
|
71
|
-
|
|
71
|
+
// Always recreate context if browser reference changed or context doesn't exist
|
|
72
|
+
if (!context || context.browser !== browser) {
|
|
72
73
|
context = await McpContext.from(browser, logger);
|
|
73
74
|
}
|
|
74
75
|
return context;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chrome-devtools-mcp-for-extension",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.2",
|
|
4
4
|
"description": "MCP server for Chrome extension development with Web Store automation. Fork of chrome-devtools-mcp with extension-specific tools.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": "./build/src/index.js",
|