@leadbay/mcp 0.10.1 → 0.11.0
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 +9 -0
- package/README.md +11 -11
- package/dist/bin.js +750 -56
- package/dist/{chunk-F3EWCHME.js → chunk-MZZMIZXA.js} +58 -54
- package/dist/{dist-BHLIJAIH.js → dist-JZ2FLLN6.js} +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog — @leadbay/mcp
|
|
2
2
|
|
|
3
|
+
## 0.11.0 — 2026-05-20
|
|
4
|
+
|
|
5
|
+
In-server auto-update flow: the MCP server now self-polls GitHub releases (24h throttle, ETag-aware, in-flight guarded) and surfaces an `update_available` block on `leadbay_account_status` when a newer version is published — both at boot AND on every tool call, so long-running Claude Desktop sessions still pick up new releases without restart.
|
|
6
|
+
|
|
7
|
+
- **New tool — `leadbay_acknowledge_update`**: records the user's choice from the `ask_user_input_v0` prompt. `action: 'install'` returns the `.mcpb` download URL (Claude Desktop's native installer opens on click); `'remind_tomorrow'` snoozes 24h; `'skip'` permanently suppresses that version. State persists to `~/.leadbay/update-state.json` (0o600, atomic write, symlink-rejecting; mirrors `bulk-store.ts`).
|
|
8
|
+
- **Five new PostHog events** for the funnel + conversion: `mcp_update_check`, `mcp_update_prompted`, `mcp_update_install_clicked`, `mcp_update_dismissed`, `mcp_version_updated` (fires on the next boot under a newer `VERSION` constant — works regardless of how the user upgraded: `.mcpb`, npm, npx).
|
|
9
|
+
- **Routing instruction** appended to `buildServerInstructions`: when `update_available` is present on `leadbay_account_status`, the agent prompts via `ask_user_input_v0` with three options and routes the choice through `leadbay_acknowledge_update`. Opt-out: `LEADBAY_UPDATE_CHECK_DISABLED=1`.
|
|
10
|
+
- **Pin bumps**: every `@leadbay/mcp@0.10` reference across `bin.ts`, `server.json`, `README.md`, `packages/dxt/manifest.template.json`, `.claude-plugin/.../plugin.json`, and the root `README.md` is now `@0.11`.
|
|
11
|
+
|
|
3
12
|
## 0.10.1 — 2026-05-20
|
|
4
13
|
|
|
5
14
|
Documentation + version-pin sweep paired with hardening the release pipeline. No functional changes to the published binary.
|
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ A Model Context Protocol server that lets Claude Desktop, Cursor, Claude Code, a
|
|
|
24
24
|
## 1. Install (one command)
|
|
25
25
|
|
|
26
26
|
```bash
|
|
27
|
-
npx -y @leadbay/mcp@0.
|
|
27
|
+
npx -y @leadbay/mcp@0.11 install --email you@yourcompany.com --region us
|
|
28
28
|
# (you'll be prompted for your password — it's not echoed)
|
|
29
29
|
```
|
|
30
30
|
|
|
@@ -67,14 +67,14 @@ Claude Desktop 2026 ships the DXT (Desktop Extension) system — the legacy `cla
|
|
|
67
67
|
|
|
68
68
|
If you installed Node from the official [nodejs.org](https://nodejs.org) `.pkg`, `/usr/local/lib/node_modules` is root-owned. Any of these works:
|
|
69
69
|
|
|
70
|
-
- **Use `npx` (recommended, no global install):** all examples above use `npx -y @leadbay/mcp@0.
|
|
70
|
+
- **Use `npx` (recommended, no global install):** all examples above use `npx -y @leadbay/mcp@0.11 ...` — no global install needed.
|
|
71
71
|
- **`sudo npm install -g @leadbay/mcp`** (enter your macOS password).
|
|
72
72
|
- **Use a Node version manager** — [nvm](https://github.com/nvm-sh/nvm), [volta](https://volta.sh), [fnm](https://github.com/Schniz/fnm). They install Node under your home directory, so `npm install -g` works without sudo.
|
|
73
73
|
|
|
74
74
|
### If you'd rather mint a token without auto-install
|
|
75
75
|
|
|
76
76
|
```bash
|
|
77
|
-
npx -y @leadbay/mcp@0.
|
|
77
|
+
npx -y @leadbay/mcp@0.11 login \
|
|
78
78
|
--email you@yourcompany.com \
|
|
79
79
|
--region us
|
|
80
80
|
```
|
|
@@ -92,7 +92,7 @@ Edit `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) o
|
|
|
92
92
|
"mcpServers": {
|
|
93
93
|
"leadbay": {
|
|
94
94
|
"command": "npx",
|
|
95
|
-
"args": ["-y", "@leadbay/mcp@0.
|
|
95
|
+
"args": ["-y", "@leadbay/mcp@0.11"],
|
|
96
96
|
"env": {
|
|
97
97
|
"LEADBAY_TOKEN": "<paste-token-from-step-1>",
|
|
98
98
|
"LEADBAY_REGION": "us"
|
|
@@ -113,7 +113,7 @@ In Cursor settings, add the MCP server:
|
|
|
113
113
|
"mcp.servers": {
|
|
114
114
|
"leadbay": {
|
|
115
115
|
"command": "npx",
|
|
116
|
-
"args": ["-y", "@leadbay/mcp@0.
|
|
116
|
+
"args": ["-y", "@leadbay/mcp@0.11"],
|
|
117
117
|
"env": { "LEADBAY_TOKEN": "<paste-token>", "LEADBAY_REGION": "us" }
|
|
118
118
|
}
|
|
119
119
|
}
|
|
@@ -126,7 +126,7 @@ In Cursor settings, add the MCP server:
|
|
|
126
126
|
claude mcp add leadbay --scope user \
|
|
127
127
|
--env LEADBAY_TOKEN=<paste-token> \
|
|
128
128
|
--env LEADBAY_REGION=us \
|
|
129
|
-
-- npx -y @leadbay/mcp@0.
|
|
129
|
+
-- npx -y @leadbay/mcp@0.11
|
|
130
130
|
```
|
|
131
131
|
|
|
132
132
|
> **`--scope user`** registers Leadbay globally for your account (visible from any project). Without it, `claude mcp add` defaults to project-local scope and the server only appears in conversations opened from the directory where you ran the command.
|
|
@@ -138,7 +138,7 @@ claude mcp add leadbay --scope user \
|
|
|
138
138
|
Before starting Claude, run:
|
|
139
139
|
|
|
140
140
|
```bash
|
|
141
|
-
LEADBAY_TOKEN=<paste-token> npx -y @leadbay/mcp@0.
|
|
141
|
+
LEADBAY_TOKEN=<paste-token> npx -y @leadbay/mcp@0.11 doctor
|
|
142
142
|
```
|
|
143
143
|
|
|
144
144
|
Expected output:
|
|
@@ -366,14 +366,14 @@ The user's literal text replaces `verification.ref` in the outreach record, and
|
|
|
366
366
|
| `No enrichment credits remaining` | Out of quota | Contact Leadbay support to extend quota |
|
|
367
367
|
| Claude Desktop "loading forever" on first use | `npx` cold-start fetching the package | First run takes ~10s. Prefer `npm install -g @leadbay/mcp` for faster startup. |
|
|
368
368
|
| Claude Desktop doesn't show Leadbay tools | Server crashed at startup | Check `~/Library/Logs/Claude/mcp*.log` (macOS) or `%APPDATA%\Claude\logs\mcp*.log` (Windows). |
|
|
369
|
-
| Claude Code can't find Leadbay in a new conversation | MCP server installed at project scope (default before 0.3.0) | Re-run with `--scope user`: `claude mcp remove leadbay && claude mcp add leadbay --scope user --env LEADBAY_TOKEN=… --env LEADBAY_REGION=us -- npx -y @leadbay/mcp@0.
|
|
369
|
+
| Claude Code can't find Leadbay in a new conversation | MCP server installed at project scope (default before 0.3.0) | Re-run with `--scope user`: `claude mcp remove leadbay && claude mcp add leadbay --scope user --env LEADBAY_TOKEN=… --env LEADBAY_REGION=us -- npx -y @leadbay/mcp@0.11` |
|
|
370
370
|
| Agent reports "tool not found" for `refine_prompt` / `adjust_audience` etc. | Pre-0.3.0 install with `LEADBAY_MCP_WRITE` unset (writes were off) | Either re-run `npx @leadbay/mcp install` or remove `LEADBAY_MCP_WRITE=0` from your client config (writes are on by default in 0.3.0+) |
|
|
371
371
|
|
|
372
372
|
## 5. Upgrade & rotation
|
|
373
373
|
|
|
374
|
-
**Upgrade**: change the pinned minor in your config, e.g. `"@leadbay/mcp@0.2"` → `"@leadbay/mcp@0.
|
|
374
|
+
**Upgrade**: change the pinned minor in your config, e.g. `"@leadbay/mcp@0.2"` → `"@leadbay/mcp@0.11"`, then restart the client. **0.3.0 enables composite write tools by default** — see [MIGRATION.md](./MIGRATION.md). See also the [changelog](https://github.com/leadbay/leadclaw/releases).
|
|
375
375
|
|
|
376
|
-
**Rotate token**: re-run `npx -y @leadbay/mcp@0.
|
|
376
|
+
**Rotate token**: re-run `npx -y @leadbay/mcp@0.11 install --email you@yourcompany.com --region us` (or `login`) — the new session token replaces the old one in your MCP client config, and logging in again invalidates the prior session on most session backends.
|
|
377
377
|
|
|
378
378
|
## 6. Advanced
|
|
379
379
|
|
|
@@ -486,7 +486,7 @@ After your first authenticated call, your PostHog `distinctId` is set to your Le
|
|
|
486
486
|
"mcpServers": {
|
|
487
487
|
"leadbay": {
|
|
488
488
|
"command": "npx",
|
|
489
|
-
"args": ["-y", "@leadbay/mcp@0.
|
|
489
|
+
"args": ["-y", "@leadbay/mcp@0.11"],
|
|
490
490
|
"env": {
|
|
491
491
|
"LEADBAY_TOKEN": "u.…",
|
|
492
492
|
"LEADBAY_REGION": "us",
|