notifyme-csm-mcp 1.0.7 → 1.0.9
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/dist/index.js +38 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -120,7 +120,11 @@ const TOOLS = [
|
|
|
120
120
|
leadSource: { type: "string", description: "How we found them, e.g. \"WS Vancouver 2026\"" },
|
|
121
121
|
locationCity: { type: "string", description: "City" },
|
|
122
122
|
locationCountry: { type: "string", description: "Country" },
|
|
123
|
-
linkedInCompanyUrl: { type: "string", description: "LinkedIn
|
|
123
|
+
linkedInCompanyUrl: { type: "string", description: "LinkedIn COMPANY page URL" },
|
|
124
|
+
contactTitle: { type: "string", description: "Primary contact's job title, e.g. \"VP, E-Commerce\"" },
|
|
125
|
+
contactLinkedInUrl: { type: "string", description: "Primary contact's PERSONAL LinkedIn profile URL (distinct from the company page)" },
|
|
126
|
+
contactSource: { type: "string", description: "Where/how the contact was found, e.g. \"LinkedIn search 2026-06-10\"" },
|
|
127
|
+
contactVerified: { type: "boolean", description: "Whether the title/profile match was confirmed (false = unverified)" },
|
|
124
128
|
},
|
|
125
129
|
required: ["name", "type"],
|
|
126
130
|
},
|
|
@@ -155,7 +159,7 @@ const TOOLS = [
|
|
|
155
159
|
},
|
|
156
160
|
{
|
|
157
161
|
name: "update_company",
|
|
158
|
-
description: "Update
|
|
162
|
+
description: "Update any company field — identity (name, domain, website, description), pipeline (priority, status, tags, leadSource), location, LinkedIn company page, and the primary contact incl. person-level enrichment (name, email, phone, title, personal LinkedIn URL, source, verified). All fields optional — only pass what you want to change.",
|
|
159
163
|
inputSchema: {
|
|
160
164
|
type: "object",
|
|
161
165
|
properties: {
|
|
@@ -164,6 +168,21 @@ const TOOLS = [
|
|
|
164
168
|
status: { type: "string", enum: ["active", "inactive", "churned", "prospective", "archived"], description: "Lifecycle status (replaces the older `state` arg)." },
|
|
165
169
|
state: { type: "string", description: "[Deprecated] alias for `status` — kept for back-compat. Prefer `status`." },
|
|
166
170
|
tags: { type: "array", items: { type: "string" }, description: "Tags array (replaces existing)" },
|
|
171
|
+
name: { type: "string", description: "Company name" },
|
|
172
|
+
domain: { type: "string", description: "Primary domain, e.g. acme.com" },
|
|
173
|
+
website: { type: "string", description: "Full website URL" },
|
|
174
|
+
description: { type: "string", description: "Short description of the company" },
|
|
175
|
+
leadSource: { type: "string", description: "How we found them, e.g. \"WS Vancouver 2026\"" },
|
|
176
|
+
locationCity: { type: "string", description: "City" },
|
|
177
|
+
locationCountry: { type: "string", description: "Country" },
|
|
178
|
+
linkedInCompanyUrl: { type: "string", description: "LinkedIn COMPANY page URL" },
|
|
179
|
+
contactName: { type: "string", description: "Primary contact full name" },
|
|
180
|
+
contactEmail: { type: "string", description: "Primary contact email" },
|
|
181
|
+
contactPhone: { type: "string", description: "Primary contact phone" },
|
|
182
|
+
contactTitle: { type: "string", description: "Primary contact's job title, e.g. \"VP, E-Commerce\"" },
|
|
183
|
+
contactLinkedInUrl: { type: "string", description: "Primary contact's PERSONAL LinkedIn profile URL (distinct from the company page)" },
|
|
184
|
+
contactSource: { type: "string", description: "Where/how the contact was found, e.g. \"LinkedIn search 2026-06-10\"" },
|
|
185
|
+
contactVerified: { type: "boolean", description: "Whether the title/profile match was confirmed (false = unverified)" },
|
|
167
186
|
},
|
|
168
187
|
required: ["id"],
|
|
169
188
|
},
|
|
@@ -401,8 +420,16 @@ const TOOLS = [
|
|
|
401
420
|
},
|
|
402
421
|
timeframe: {
|
|
403
422
|
type: "string",
|
|
404
|
-
enum: ["last7days", "last30days", "last90days", "mtd", "qtd", "ytd"],
|
|
405
|
-
description: "Reporting window (default: last7days).",
|
|
423
|
+
enum: ["last7days", "last30days", "last90days", "mtd", "qtd", "ytd", "custom"],
|
|
424
|
+
description: "Reporting window (default: last7days). Use 'custom' with startDate/endDate for any range.",
|
|
425
|
+
},
|
|
426
|
+
startDate: {
|
|
427
|
+
type: "string",
|
|
428
|
+
description: "YYYY-MM-DD. Passing dates implies timeframe=custom. Interpreted in the server's timezone (UTC on prod).",
|
|
429
|
+
},
|
|
430
|
+
endDate: {
|
|
431
|
+
type: "string",
|
|
432
|
+
description: "YYYY-MM-DD (inclusive, end of day). Passing dates implies timeframe=custom. Interpreted in the server's timezone (UTC on prod).",
|
|
406
433
|
},
|
|
407
434
|
stage: {
|
|
408
435
|
type: "string",
|
|
@@ -509,8 +536,9 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
|
509
536
|
break;
|
|
510
537
|
}
|
|
511
538
|
case "update_company": {
|
|
512
|
-
//
|
|
513
|
-
//
|
|
539
|
+
// Full pass-through: every field create_company accepts (plus the
|
|
540
|
+
// person-level contact enrichment fields) is updatable. `status` is
|
|
541
|
+
// canonical, `state` a back-compat alias — server resolves precedence.
|
|
514
542
|
const { id, ...updates } = args;
|
|
515
543
|
data = await api("PATCH", `/companies/${id}`, updates);
|
|
516
544
|
break;
|
|
@@ -627,6 +655,10 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
|
627
655
|
qs.set("entityType", String(a.entityType));
|
|
628
656
|
if (a.timeframe)
|
|
629
657
|
qs.set("timeframe", String(a.timeframe));
|
|
658
|
+
if (a.startDate)
|
|
659
|
+
qs.set("startDate", String(a.startDate));
|
|
660
|
+
if (a.endDate)
|
|
661
|
+
qs.set("endDate", String(a.endDate));
|
|
630
662
|
if (a.stage)
|
|
631
663
|
qs.set("stage", String(a.stage));
|
|
632
664
|
data = await api("GET", `/funnel-entities?${qs.toString()}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "notifyme-csm-mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"description": "NotifyMe CSM — MCP server for LLM integrations (Claude Code, Cursor, etc.)",
|
|
5
5
|
"_versionPolicy": "The version field above is a placeholder and is NEVER updated in git. The real published version lives only on npm — run `npm view notifyme-csm-mcp version` to check. To publish a new release, use the GitHub workflow `Publish MCP` (Actions tab → Publish notifyme-csm-mcp → Run workflow). This prevents recurring merge conflicts across feature/dev/main branches that used to plague every PR.",
|
|
6
6
|
"type": "module",
|