@clustr-ai/mcp-server 1.0.10 → 1.0.11

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 (66) hide show
  1. package/dist/client.d.ts +20 -14
  2. package/dist/client.js +150 -81
  3. package/dist/client.js.map +1 -1
  4. package/dist/index.js +85 -34
  5. package/dist/index.js.map +1 -1
  6. package/package.json +4 -4
  7. package/dist/tools/create-icp.d.ts +0 -2
  8. package/dist/tools/create-icp.js +0 -26
  9. package/dist/tools/create-icp.js.map +0 -1
  10. package/dist/tools/create-target-accounts.d.ts +0 -2
  11. package/dist/tools/create-target-accounts.js +0 -27
  12. package/dist/tools/create-target-accounts.js.map +0 -1
  13. package/dist/tools/delete-icp.d.ts +0 -2
  14. package/dist/tools/delete-icp.js +0 -9
  15. package/dist/tools/delete-icp.js.map +0 -1
  16. package/dist/tools/delete-target-account.d.ts +0 -2
  17. package/dist/tools/delete-target-account.js +0 -12
  18. package/dist/tools/delete-target-account.js.map +0 -1
  19. package/dist/tools/get-job-status.d.ts +0 -2
  20. package/dist/tools/get-job-status.js +0 -10
  21. package/dist/tools/get-job-status.js.map +0 -1
  22. package/dist/tools/get-network-stats.d.ts +0 -2
  23. package/dist/tools/get-network-stats.js +0 -6
  24. package/dist/tools/get-network-stats.js.map +0 -1
  25. package/dist/tools/import-connectors.d.ts +0 -2
  26. package/dist/tools/import-connectors.js +0 -64
  27. package/dist/tools/import-connectors.js.map +0 -1
  28. package/dist/tools/list-connectors.d.ts +0 -2
  29. package/dist/tools/list-connectors.js +0 -14
  30. package/dist/tools/list-connectors.js.map +0 -1
  31. package/dist/tools/list-icps.d.ts +0 -2
  32. package/dist/tools/list-icps.js +0 -6
  33. package/dist/tools/list-icps.js.map +0 -1
  34. package/dist/tools/list-jobs.d.ts +0 -2
  35. package/dist/tools/list-jobs.js +0 -15
  36. package/dist/tools/list-jobs.js.map +0 -1
  37. package/dist/tools/list-opportunity-statuses.d.ts +0 -2
  38. package/dist/tools/list-opportunity-statuses.js +0 -7
  39. package/dist/tools/list-opportunity-statuses.js.map +0 -1
  40. package/dist/tools/list-target-accounts.d.ts +0 -2
  41. package/dist/tools/list-target-accounts.js +0 -12
  42. package/dist/tools/list-target-accounts.js.map +0 -1
  43. package/dist/tools/search-by-company.d.ts +0 -2
  44. package/dist/tools/search-by-company.js +0 -82
  45. package/dist/tools/search-by-company.js.map +0 -1
  46. package/dist/tools/search-by-connector.d.ts +0 -2
  47. package/dist/tools/search-by-connector.js +0 -56
  48. package/dist/tools/search-by-connector.js.map +0 -1
  49. package/dist/tools/search-companies.d.ts +0 -2
  50. package/dist/tools/search-companies.js +0 -13
  51. package/dist/tools/search-companies.js.map +0 -1
  52. package/dist/tools/search-opportunities.d.ts +0 -2
  53. package/dist/tools/search-opportunities.js +0 -70
  54. package/dist/tools/search-opportunities.js.map +0 -1
  55. package/dist/tools/start-abm-search.d.ts +0 -2
  56. package/dist/tools/start-abm-search.js +0 -30
  57. package/dist/tools/start-abm-search.js.map +0 -1
  58. package/dist/tools/update-icp.d.ts +0 -2
  59. package/dist/tools/update-icp.js +0 -29
  60. package/dist/tools/update-icp.js.map +0 -1
  61. package/dist/tools/update-opportunity.d.ts +0 -2
  62. package/dist/tools/update-opportunity.js +0 -19
  63. package/dist/tools/update-opportunity.js.map +0 -1
  64. package/dist/tools/whats-new.d.ts +0 -3
  65. package/dist/tools/whats-new.js +0 -67
  66. package/dist/tools/whats-new.js.map +0 -1
@@ -1,67 +0,0 @@
1
- // This changelog tracks MCP SERVER tool versions for developers (a published
2
- // npm package, @clustr-ai/mcp-server). The full PRODUCT changelog lives in the
3
- // app at web/src/data/changelog.ts and is served at https://clustr-ai.com/changelog.
4
- // When an MCP-server release also ships a product-facing capability, add a
5
- // matching entry to that product changelog so all surfaces stay aligned (CLU-189).
6
- //
7
- // Append an entry here every time a new tool or breaking change ships.
8
- // Keep entries in reverse-chronological order (newest first).
9
- const CHANGELOG = [
10
- {
11
- version: "1.2.0",
12
- date: "2026-07-28",
13
- changes: [
14
- "BREAKING (this tool only): import_contacts is now import_connectors, and its 'contacts' argument is now 'connectors'. The people you import are connectors — they carry a connector_tag and are what list_connectors returns. The old TOOL NAME is gone; call import_connectors instead. The underlying REST endpoint is unaffected: POST /network/import/contacts and the 'contacts' body field both still work for direct HTTP callers.",
15
- "RENAME: the by-contact search response now reports the matched person as 'connector'. The 'contact' field is still returned with the same value, so nothing reading it breaks.",
16
- "CLARIFIED: search_opportunities with linkedin_public_id matches the CONNECTOR side of an opportunity, not the prospect side. To find who can introduce you to a given person, filter by prospect_linkedin_urls instead.",
17
- ],
18
- },
19
- {
20
- version: "1.1.0",
21
- date: "2026-05-02",
22
- changes: [
23
- "NEW: start_abm_search — start an Account-Based Marketing search for any company and get a shareable magic link immediately. The link auto-resolves to the full report when the pipeline finishes.",
24
- "NEW: get_abm_search_link — retrieve the magic link for an existing ABM search without re-running the pipeline.",
25
- ],
26
- },
27
- {
28
- version: "1.0.0",
29
- date: "2026-04-01",
30
- changes: [
31
- "Initial release: import_contacts, search_opportunities, search_companies, list_connectors, get_network_stats, get_job_status, list_jobs, update_opportunity, list_opportunity_statuses, create_target_accounts, list_target_accounts, delete_target_account.",
32
- ],
33
- },
34
- ];
35
- // Exported so index.ts can report the same version it advertises here, rather
36
- // than carrying a second literal that drifts. Keep in step with the `version`
37
- // field in package.json — that is what users actually install.
38
- export const CURRENT_VERSION = CHANGELOG[0].version;
39
- const UPGRADE_INSTRUCTIONS = "To upgrade: npm install -g @clustr-ai/mcp-server@latest " +
40
- "(or re-run whatever install command you used originally, e.g. npx @clustr-ai/mcp-server)";
41
- export function registerWhatsNew(server) {
42
- server.tool("whats_new", `Show the Clustr MCP changelog and available tools. ` +
43
- `Current version: ${CURRENT_VERSION}. ` +
44
- `Call this to check whether a newer version with additional tools is available.`, {}, async () => {
45
- const lines = [
46
- `Clustr MCP Server — installed version: ${CURRENT_VERSION}`,
47
- "",
48
- "=== Changelog ===",
49
- ];
50
- for (const entry of CHANGELOG) {
51
- lines.push(`\nv${entry.version} (${entry.date})`);
52
- for (const change of entry.changes) {
53
- lines.push(` • ${change}`);
54
- }
55
- }
56
- lines.push("");
57
- lines.push("=== Product changelog ===");
58
- lines.push("See everything new in the Clustr product at https://clustr-ai.com/changelog");
59
- lines.push("");
60
- lines.push("=== Upgrade ===");
61
- lines.push(UPGRADE_INSTRUCTIONS);
62
- return {
63
- content: [{ type: "text", text: lines.join("\n") }],
64
- };
65
- });
66
- }
67
- //# sourceMappingURL=whats-new.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"whats-new.js","sourceRoot":"","sources":["../../src/tools/whats-new.ts"],"names":[],"mappings":"AAEA,6EAA6E;AAC7E,+EAA+E;AAC/E,qFAAqF;AACrF,2EAA2E;AAC3E,mFAAmF;AACnF,EAAE;AACF,uEAAuE;AACvE,8DAA8D;AAC9D,MAAM,SAAS,GAA2D;IACxE;QACE,OAAO,EAAE,OAAO;QAChB,IAAI,EAAE,YAAY;QAClB,OAAO,EAAE;YACP,2aAA2a;YAC3a,gLAAgL;YAChL,yNAAyN;SAC1N;KACF;IACD;QACE,OAAO,EAAE,OAAO;QAChB,IAAI,EAAE,YAAY;QAClB,OAAO,EAAE;YACP,mMAAmM;YACnM,gHAAgH;SACjH;KACF;IACD;QACE,OAAO,EAAE,OAAO;QAChB,IAAI,EAAE,YAAY;QAClB,OAAO,EAAE;YACP,8PAA8P;SAC/P;KACF;CACF,CAAC;AAEF,8EAA8E;AAC9E,8EAA8E;AAC9E,+DAA+D;AAC/D,MAAM,CAAC,MAAM,eAAe,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC;AAEpD,MAAM,oBAAoB,GACxB,2DAA2D;IAC3D,0FAA0F,CAAC;AAE7F,MAAM,UAAU,gBAAgB,CAAC,MAAiB;IAChD,MAAM,CAAC,IAAI,CACT,WAAW,EACX,qDAAqD;QACnD,oBAAoB,eAAe,IAAI;QACvC,gFAAgF,EAClF,EAAE,EAC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