puppeteer-mcp-claude 0.1.4 → 0.1.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/bin/cli.js +2 -3
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -141,10 +141,9 @@ class PuppeteerMCPInstaller {
|
|
|
141
141
|
// Use claude mcp add for Claude Code
|
|
142
142
|
if (config.type === 'code') {
|
|
143
143
|
console.log('🔧 Using claude mcp add command...');
|
|
144
|
-
|
|
145
|
-
execSync(`claude mcp add ${this.serverName} "node ${cliPath} serve"`, {
|
|
144
|
+
execSync(`claude mcp add ${this.serverName} "node ${join(this.packageDir, 'dist', 'index.js')}"`, {
|
|
146
145
|
stdio: 'inherit',
|
|
147
|
-
cwd:
|
|
146
|
+
cwd: process.cwd()
|
|
148
147
|
});
|
|
149
148
|
console.log(`✅ Successfully added via claude mcp add`);
|
|
150
149
|
return;
|