@leadbay/mcp 0.33.4 → 0.34.1
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 +88 -0
- package/dist/bin.js +418 -19
- package/dist/http-server.js +427 -19
- package/dist/installer-electron.js +5 -4
- package/dist/installer-gui.js +4 -3
- package/package.json +1 -1
|
@@ -162,7 +162,7 @@ async function detectClients() {
|
|
|
162
162
|
out.push({ id: "claude-desktop", label: "Claude Desktop", detail: claudeDesktopPath, configPath: claudeDesktopPath, mode, supportDir: claudeSupportDir });
|
|
163
163
|
}
|
|
164
164
|
if (await isChatGptDesktopInstalled(home)) {
|
|
165
|
-
out.push({ id: "chatgpt-desktop", label: "ChatGPT Desktop", detail:
|
|
165
|
+
out.push({ id: "chatgpt-desktop", label: "ChatGPT Desktop", detail: HOSTED_MCP_URL_CHATGPT });
|
|
166
166
|
}
|
|
167
167
|
const cursorPath = process.platform === "win32" ? `${home}\\.cursor\\mcp.json` : `${home}/.cursor/mcp.json`;
|
|
168
168
|
if (await isCursorInstalled(home)) {
|
|
@@ -181,11 +181,12 @@ async function detectClients() {
|
|
|
181
181
|
}
|
|
182
182
|
return out;
|
|
183
183
|
}
|
|
184
|
-
var HOSTED_MCP_URL;
|
|
184
|
+
var HOSTED_MCP_URL, HOSTED_MCP_URL_CHATGPT;
|
|
185
185
|
var init_install_shared = __esm({
|
|
186
186
|
"installer/install-shared.ts"() {
|
|
187
187
|
"use strict";
|
|
188
188
|
HOSTED_MCP_URL = "https://mcp.leadbay.app/mcp";
|
|
189
|
+
HOSTED_MCP_URL_CHATGPT = "https://mcp.leadbay.app/chatgpt/mcp";
|
|
189
190
|
}
|
|
190
191
|
});
|
|
191
192
|
|
|
@@ -1266,7 +1267,7 @@ async function installInto(client, session, includeWrite, telemetryEnabled) {
|
|
|
1266
1267
|
res = exportRes.ok ? { ok: true, message: `${configRes.message}; ${exportRes.message}` } : { ok: false, message: `config ${configRes.message}; ${exportRes.message}` };
|
|
1267
1268
|
}
|
|
1268
1269
|
} else if (client.id === "chatgpt-desktop") {
|
|
1269
|
-
res = { ok: true, message: "manual setup required; add this MCP URL in ChatGPT Settings > Apps: " +
|
|
1270
|
+
res = { ok: true, message: "manual setup required; add this MCP URL in ChatGPT Settings > Apps: " + HOSTED_MCP_URL_CHATGPT };
|
|
1270
1271
|
} else if (client.id === "claude-desktop" && client.mode?.dxt && client.supportDir) {
|
|
1271
1272
|
const dxtResult = await removeDxtExtension(client.supportDir);
|
|
1272
1273
|
const jsonResult = await installInJsonConfig(client.configPath, session.token, session.region, includeWrite, telemetryEnabled, LOCAL_BIN_PATH);
|
|
@@ -1804,7 +1805,7 @@ var init_installer_gui = __esm({
|
|
|
1804
1805
|
init_install_dxt();
|
|
1805
1806
|
init_install_shared();
|
|
1806
1807
|
init_oauth();
|
|
1807
|
-
VERSION = true ? "0.
|
|
1808
|
+
VERSION = true ? "0.34.1" : "0.0.0-dev";
|
|
1808
1809
|
MESSAGES = {
|
|
1809
1810
|
en: {
|
|
1810
1811
|
installer: {
|
package/dist/installer-gui.js
CHANGED
|
@@ -382,6 +382,7 @@ import { existsSync, readFileSync, readdirSync } from "fs";
|
|
|
382
382
|
import { join } from "path";
|
|
383
383
|
import { homedir } from "os";
|
|
384
384
|
var HOSTED_MCP_URL = "https://mcp.leadbay.app/mcp";
|
|
385
|
+
var HOSTED_MCP_URL_CHATGPT = "https://mcp.leadbay.app/chatgpt/mcp";
|
|
385
386
|
function formatInstallOsLabel(platform = process.platform, arch = process.arch) {
|
|
386
387
|
const name = platform === "darwin" ? "macOS" : platform === "win32" ? "Windows" : platform === "linux" ? "Linux" : platform;
|
|
387
388
|
return `${name} (${arch})`;
|
|
@@ -510,7 +511,7 @@ async function detectClients() {
|
|
|
510
511
|
out.push({ id: "claude-desktop", label: "Claude Desktop", detail: claudeDesktopPath, configPath: claudeDesktopPath, mode, supportDir: claudeSupportDir });
|
|
511
512
|
}
|
|
512
513
|
if (await isChatGptDesktopInstalled(home)) {
|
|
513
|
-
out.push({ id: "chatgpt-desktop", label: "ChatGPT Desktop", detail:
|
|
514
|
+
out.push({ id: "chatgpt-desktop", label: "ChatGPT Desktop", detail: HOSTED_MCP_URL_CHATGPT });
|
|
514
515
|
}
|
|
515
516
|
const cursorPath = process.platform === "win32" ? `${home}\\.cursor\\mcp.json` : `${home}/.cursor/mcp.json`;
|
|
516
517
|
if (await isCursorInstalled(home)) {
|
|
@@ -1067,7 +1068,7 @@ async function oauthLogin(opts) {
|
|
|
1067
1068
|
}
|
|
1068
1069
|
|
|
1069
1070
|
// installer/installer-gui.ts
|
|
1070
|
-
var VERSION = true ? "0.
|
|
1071
|
+
var VERSION = true ? "0.34.1" : "0.0.0-dev";
|
|
1071
1072
|
var MESSAGES = {
|
|
1072
1073
|
en: {
|
|
1073
1074
|
installer: {
|
|
@@ -1358,7 +1359,7 @@ async function installInto(client, session, includeWrite, telemetryEnabled) {
|
|
|
1358
1359
|
res = exportRes.ok ? { ok: true, message: `${configRes.message}; ${exportRes.message}` } : { ok: false, message: `config ${configRes.message}; ${exportRes.message}` };
|
|
1359
1360
|
}
|
|
1360
1361
|
} else if (client.id === "chatgpt-desktop") {
|
|
1361
|
-
res = { ok: true, message: "manual setup required; add this MCP URL in ChatGPT Settings > Apps: " +
|
|
1362
|
+
res = { ok: true, message: "manual setup required; add this MCP URL in ChatGPT Settings > Apps: " + HOSTED_MCP_URL_CHATGPT };
|
|
1362
1363
|
} else if (client.id === "claude-desktop" && client.mode?.dxt && client.supportDir) {
|
|
1363
1364
|
const dxtResult = await removeDxtExtension(client.supportDir);
|
|
1364
1365
|
const jsonResult = await installInJsonConfig(client.configPath, session.token, session.region, includeWrite, telemetryEnabled, LOCAL_BIN_PATH);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leadbay/mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.34.1",
|
|
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",
|