puppeteer-mcp-claude 0.1.3 → 0.1.4

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.
Files changed (2) hide show
  1. package/bin/cli.js +2 -1
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -141,7 +141,8 @@ 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
- execSync(`claude mcp add ${this.serverName} "npx puppeteer-mcp-claude serve"`, {
144
+ const cliPath = join(this.packageDir, 'bin', 'cli.js');
145
+ execSync(`claude mcp add ${this.serverName} "node ${cliPath} serve"`, {
145
146
  stdio: 'inherit',
146
147
  cwd: this.packageDir
147
148
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "puppeteer-mcp-claude",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "main": "dist/index.js",
5
5
  "bin": {
6
6
  "puppeteer-mcp-claude": "./bin/cli.js"