@elitedcs/ghl-mcp 3.18.0 → 3.19.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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.19.0 — npm lead capture + $97 pricing alignment
4
+
5
+ **One new bootstrap-mode tool. Normal-mode count unchanged (212 across 43 modules).**
6
+
7
+ - **`request_license`** (bootstrap mode): someone who installs from npm without a license can leave their email instead of hitting a dead end. It records them as a tracked GHL lead (`ghl-command-lead` tag → lead-nurture sequence, New Lead opportunity) and returns the purchase link. Turns anonymous npm installs into sellable pipeline.
8
+ - Bootstrap messaging now points no-license users to `request_license`.
9
+ - Pricing aligned to **$97 one-time** across the README (was inconsistently listed as $297); corrected the post-setup count to 163 core tools (212 with the optional Workflow Builder Firebase add-on).
10
+
3
11
  ## 3.18.0 — Social Planner: location-scoped endpoints, scheduled posts, typed media
4
12
 
5
13
  **No new tools (still 212 across 43 modules) — fixes plus a capability add to the existing Social Planner tools.**
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  Works with **both the Claude Desktop App and Claude Code terminal** — your choice.
8
8
 
9
- **License required.** Buy at [elitedcs.com/ghl-mcp-server](https://elitedcs.com/ghl-mcp-server) — one-time $297, three-machine activation, no subscription.
9
+ **License required.** Buy at [elitedcs.com/ghl-mcp-server](https://elitedcs.com/ghl-mcp-server) — one-time $97, three-machine activation, no subscription.
10
10
 
11
11
  Built by [Elite DCs, LLC](https://elitedcs.com).
12
12
 
@@ -61,7 +61,7 @@ This MCP (Model Context Protocol) server connects Claude directly to GoHighLevel
61
61
 
62
62
  ### 1. Buy a license
63
63
 
64
- [elitedcs.com/ghl-mcp-server](https://elitedcs.com/ghl-mcp-server) — one-time $297. License key arrives by email within 1-2 minutes.
64
+ [elitedcs.com/ghl-mcp-server](https://elitedcs.com/ghl-mcp-server) — one-time $97. License key arrives by email within 1-2 minutes.
65
65
 
66
66
  ### 2. Install in Claude Desktop App
67
67
 
@@ -98,7 +98,7 @@ Run setup_ghl_mcp to activate GHL Command:
98
98
  ghl_location_id: YOUR_LOCATION_ID
99
99
  ```
100
100
 
101
- Approve the tool call. Server validates your license, verifies your GHL credentials, writes them to a per-user config file. **Quit Claude one more time and reopen** — all 169 tools are now unlocked.
101
+ Approve the tool call. Server validates your license, verifies your GHL credentials, writes them to a per-user config file. **Quit Claude one more time and reopen** — all 163 core tools are now unlocked (212 with the optional Workflow Builder Firebase add-on).
102
102
 
103
103
  ### 4. Try it
104
104
 
package/dist/index.js CHANGED
@@ -31,7 +31,7 @@ var require_package = __commonJS({
31
31
  "package.json"(exports2, module2) {
32
32
  module2.exports = {
33
33
  name: "@elitedcs/ghl-mcp",
34
- version: "3.18.0",
34
+ version: "3.19.0",
35
35
  description: "GoHighLevel MCP Server for Claude. 212 tools \u2014 full CRM, automation, marketing control, and the only programmatic GHL workflow builder, now multi-tenant across client accounts.",
36
36
  main: "dist/index.js",
37
37
  bin: {
@@ -5769,6 +5769,7 @@ var os2 = __toESM(require("os"));
5769
5769
  var crypto2 = __toESM(require("crypto"));
5770
5770
  var import_zod37 = require("zod");
5771
5771
  var LICENSE_API = "https://elitedcs.com/api/validate-license";
5772
+ var CAPTURE_API = "https://elitedcs.com/api/capture-lead";
5772
5773
  var GHL_API = "https://services.leadconnectorhq.com";
5773
5774
  var FIREBASE_TOKEN_API = "https://securetoken.googleapis.com/v1/token";
5774
5775
  function deviceFingerprint() {
@@ -5977,6 +5978,48 @@ DevTools steps: https://elitedcs.com/ghl-mcp-firebase`
5977
5978
  }
5978
5979
  );
5979
5980
  }
5981
+ function registerLeadCaptureTool(server2) {
5982
+ server2.tool(
5983
+ "request_license",
5984
+ "Get a GHL Command license. Use this if you installed from npm but don't have a license yet (or setup_ghl_mcp says your license is missing/invalid). GHL Command is $97 one-time \u2014 212 tools across 43 modules, 3-machine activation, no subscription. Leave your email and we'll send the purchase link + setup help; the tool also returns where to buy right now.",
5985
+ {
5986
+ email: import_zod37.z.string().email().describe("Your email \u2014 where to send the purchase link and setup help."),
5987
+ name: import_zod37.z.string().optional().describe("Your name (optional).")
5988
+ },
5989
+ async (args) => {
5990
+ const buyUrl = "https://elitedcs.com/ghl-mcp-server";
5991
+ try {
5992
+ const res = await fetch(CAPTURE_API, {
5993
+ method: "POST",
5994
+ headers: { "Content-Type": "application/json" },
5995
+ body: JSON.stringify({ email: args.email.trim(), name: args.name?.trim(), source: "npm-bootstrap" })
5996
+ });
5997
+ const data = await res.json().catch(() => ({}));
5998
+ const url = data.purchaseUrl || buyUrl;
5999
+ return {
6000
+ content: [{
6001
+ type: "text",
6002
+ text: [
6003
+ data.message || "You're on the list.",
6004
+ "",
6005
+ "GHL Command is $97 one-time: 212 tools across 43 modules, including the only programmatic GHL workflow builder. 3 machines, no subscription.",
6006
+ "",
6007
+ `Buy now: ${url}`,
6008
+ "Your license key arrives by email within a couple minutes. Then run setup_ghl_mcp with your email + key."
6009
+ ].join("\n")
6010
+ }]
6011
+ };
6012
+ } catch {
6013
+ return {
6014
+ content: [{
6015
+ type: "text",
6016
+ text: `Buy your GHL Command license ($97 one-time) at ${buyUrl} \u2014 your key arrives by email within a couple minutes, then run setup_ghl_mcp with your email + key.`
6017
+ }]
6018
+ };
6019
+ }
6020
+ }
6021
+ );
6022
+ }
5980
6023
 
5981
6024
  // src/tools/location-switcher.ts
5982
6025
  function routeFirebaseForCompany(builderClient, registry2, companyId) {
@@ -8283,10 +8326,11 @@ if (inBootstrapMode) {
8283
8326
  process.stderr.write(
8284
8327
  `[ghl-mcp] Bootstrap mode: no credentials found.
8285
8328
  [ghl-mcp] Looked for env vars (GHL_API_KEY, GHL_LOCATION_ID) and credentials file (${credentialsPath()}).
8286
- [ghl-mcp] Only setup_ghl_mcp and get_mcp_version are available. Run setup_ghl_mcp from Claude with your license + GHL credentials.
8329
+ [ghl-mcp] Only setup_ghl_mcp, request_license, and get_mcp_version are available. Run setup_ghl_mcp with your license + GHL credentials \u2014 or request_license if you don't have a license yet.
8287
8330
  `
8288
8331
  );
8289
8332
  registerSetupTool(server);
8333
+ registerLeadCaptureTool(server);
8290
8334
  } else {
8291
8335
  const client = new GHLClient({ apiKey, locationId });
8292
8336
  registerAllTools(server, client, registry, pkg.version);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elitedcs/ghl-mcp",
3
- "version": "3.18.0",
3
+ "version": "3.19.0",
4
4
  "description": "GoHighLevel MCP Server for Claude. 212 tools — full CRM, automation, marketing control, and the only programmatic GHL workflow builder, now multi-tenant across client accounts.",
5
5
  "main": "dist/index.js",
6
6
  "bin": {