@leadbay/mcp 0.23.11 → 0.23.12

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog — @leadbay/mcp
2
2
 
3
+ ## 0.23.12 — 2026-07-03
4
+
5
+ Claude Code install no longer fails with `unknown option '--scope'` / `--env` (product#3847).
6
+
7
+ - **`buildClaudeCodeAddArgs` (installer)** — the `claude mcp add` command built its subprocess tail with a `-p` **short** flag (`-- npx -y -p @leadbay/mcp@latest leadbay-mcp`). Even after the `--` separator, `-p` leaks back into Claude Code's own Commander parser on current CLIs, which then rejects an *earlier* option (`--scope`, or `--env`) with a misleading `unknown option` error — so the install aborted with exit 1. The tail now uses the `=`-joined long form `-- npx -y --package=@leadbay/mcp@latest leadbay-mcp`: the package spec must stay flagged and the `leadbay-mcp` bin named explicitly (the package declares several bins and none is `mcp`, so a bare `npx -y @leadbay/mcp@latest` would die at launch with `could not determine executable to run`), while `--package=…` is left untouched by Claude Code's parser. Verified live against `claude 2.1.199`: install → registered, uninstall → removed.
8
+
3
9
  ## 0.23.11 — 2026-07-02
4
10
 
5
11
  Windows `.dxt` sign-in now opens the browser reliably (product#3839).
package/dist/bin.js CHANGED
@@ -26547,7 +26547,7 @@ function buildClaudeCodeAddArgs(token, region, includeWrite, telemetryEnabled, l
26547
26547
  if (localBinPath) {
26548
26548
  args.push("--", "node", localBinPath);
26549
26549
  } else {
26550
- args.push("--", "npx", "-y", "-p", "@leadbay/mcp@latest", "leadbay-mcp");
26550
+ args.push("--", "npx", "-y", "--package=@leadbay/mcp@latest", "leadbay-mcp");
26551
26551
  }
26552
26552
  return args;
26553
26553
  }
@@ -27807,7 +27807,7 @@ var OAUTH_BASE_URLS = {
27807
27807
  fr: "https://staging.api.leadbay.app"
27808
27808
  }
27809
27809
  };
27810
- var VERSION = "0.23.11";
27810
+ var VERSION = "0.23.12";
27811
27811
  var HELP = `
27812
27812
  leadbay-mcp ${VERSION} \u2014 Leadbay Model Context Protocol server
27813
27813
 
@@ -24062,7 +24062,7 @@ function parseWriteEnv(env = process.env) {
24062
24062
  }
24063
24063
 
24064
24064
  // src/http-server.ts
24065
- var VERSION = true ? "0.23.11" : "0.0.0-dev";
24065
+ var VERSION = true ? "0.23.12" : "0.0.0-dev";
24066
24066
  var PORT = Number(process.env.PORT ?? 8080);
24067
24067
  var HOST = process.env.HOST ?? "0.0.0.0";
24068
24068
  var sseSessions = /* @__PURE__ */ new Map();
@@ -209,7 +209,7 @@ function buildClaudeCodeAddArgs(token, region, includeWrite, telemetryEnabled, l
209
209
  if (localBinPath) {
210
210
  args.push("--", "node", localBinPath);
211
211
  } else {
212
- args.push("--", "npx", "-y", "-p", "@leadbay/mcp@latest", "leadbay-mcp");
212
+ args.push("--", "npx", "-y", "--package=@leadbay/mcp@latest", "leadbay-mcp");
213
213
  }
214
214
  return args;
215
215
  }
@@ -1804,7 +1804,7 @@ var init_installer_gui = __esm({
1804
1804
  init_install_dxt();
1805
1805
  init_install_shared();
1806
1806
  init_oauth();
1807
- VERSION = true ? "0.23.11" : "0.0.0-dev";
1807
+ VERSION = true ? "0.23.12" : "0.0.0-dev";
1808
1808
  MESSAGES = {
1809
1809
  en: {
1810
1810
  installer: {
@@ -26,7 +26,7 @@ function buildClaudeCodeAddArgs(token, region, includeWrite, telemetryEnabled, l
26
26
  if (localBinPath) {
27
27
  args.push("--", "node", localBinPath);
28
28
  } else {
29
- args.push("--", "npx", "-y", "-p", "@leadbay/mcp@latest", "leadbay-mcp");
29
+ args.push("--", "npx", "-y", "--package=@leadbay/mcp@latest", "leadbay-mcp");
30
30
  }
31
31
  return args;
32
32
  }
@@ -1067,7 +1067,7 @@ async function oauthLogin(opts) {
1067
1067
  }
1068
1068
 
1069
1069
  // installer/installer-gui.ts
1070
- var VERSION = true ? "0.23.11" : "0.0.0-dev";
1070
+ var VERSION = true ? "0.23.12" : "0.0.0-dev";
1071
1071
  var MESSAGES = {
1072
1072
  en: {
1073
1073
  installer: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leadbay/mcp",
3
- "version": "0.23.11",
3
+ "version": "0.23.12",
4
4
  "mcpName": "io.github.leadbay/leadbay-mcp",
5
5
  "description": "Model Context Protocol (MCP) server for Leadbay — AI lead discovery, qualification, and enrichment for Claude Desktop, Cursor, and Claude Code.",
6
6
  "type": "module",