notifyme-csm-mcp 1.0.7 → 1.0.8

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 (2) hide show
  1. package/dist/index.js +24 -4
  2. 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 company page URL" },
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 a company's priority, status, or tags. All fields are optional — only pass what you want to change.",
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
  },
@@ -509,8 +528,9 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
509
528
  break;
510
529
  }
511
530
  case "update_company": {
512
- // Accept `status` (canonical) and `state` (back-compat alias).
513
- // Server resolves precedence (status wins) and writes to companies.status.
531
+ // Full pass-through: every field create_company accepts (plus the
532
+ // person-level contact enrichment fields) is updatable. `status` is
533
+ // canonical, `state` a back-compat alias — server resolves precedence.
514
534
  const { id, ...updates } = args;
515
535
  data = await api("PATCH", `/companies/${id}`, updates);
516
536
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "notifyme-csm-mcp",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
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",