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.
Files changed (2) hide show
  1. package/bin/cli.js +2 -3
  2. 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
- const cliPath = join(this.packageDir, 'bin', 'cli.js');
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: this.packageDir
146
+ cwd: process.cwd()
148
147
  });
149
148
  console.log(`✅ Successfully added via claude mcp add`);
150
149
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "puppeteer-mcp-claude",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "main": "dist/index.js",
5
5
  "bin": {
6
6
  "puppeteer-mcp-claude": "./bin/cli.js"