notifyme-csm-mcp 1.0.2 → 1.0.4

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 +29 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -97,6 +97,30 @@ const TOOLS = [
97
97
  required: [],
98
98
  },
99
99
  },
100
+ {
101
+ name: "create_company",
102
+ description: "Create a new company in the CSM. Returns the new company id. Use search_companies first to avoid duplicates.",
103
+ inputSchema: {
104
+ type: "object",
105
+ properties: {
106
+ name: { type: "string", description: "Company name (required)" },
107
+ type: { type: "string", enum: ["agency", "merchant", "app_partner", "technology_partner", "media", "investor", "other"], description: "Company type (required)" },
108
+ domain: { type: "string", description: "Primary domain, e.g. acme.com" },
109
+ website: { type: "string", description: "Full website URL" },
110
+ contactName: { type: "string", description: "Primary contact full name" },
111
+ contactEmail: { type: "string", description: "Primary contact email" },
112
+ contactPhone: { type: "string", description: "Primary contact phone" },
113
+ description: { type: "string", description: "Short description of the company" },
114
+ priority: { type: "string", enum: ["p1", "p2", "p3"], description: "Priority tier" },
115
+ tags: { type: "array", items: { type: "string" }, description: "Tag labels, e.g. [\"websummit\", \"cold\"]" },
116
+ leadSource: { type: "string", description: "How we found them, e.g. \"WS Vancouver 2026\"" },
117
+ locationCity: { type: "string", description: "City" },
118
+ locationCountry: { type: "string", description: "Country" },
119
+ linkedInCompanyUrl: { type: "string", description: "LinkedIn company page URL" },
120
+ },
121
+ required: ["name", "type"],
122
+ },
123
+ },
100
124
  {
101
125
  name: "search_companies",
102
126
  description: "Search NotifyMe CSM companies (agencies, merchants, partners) by name, domain, or email. Always call this first to find the company id before calling get_company.",
@@ -382,6 +406,11 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
382
406
  let data;
383
407
  switch (name) {
384
408
  // ── Companies ──────────────────────────────────────────────────────────
409
+ case "create_company": {
410
+ const { name, type, ...rest } = args;
411
+ data = await api("POST", "/companies", { name, type, ...rest });
412
+ break;
413
+ }
385
414
  case "list_companies": {
386
415
  const { type, stage, priority, tag, no_outreach, limit } = args;
387
416
  const params = new URLSearchParams();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "notifyme-csm-mcp",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "NotifyMe CSM — MCP server for LLM integrations (Claude Code, Cursor, etc.)",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",