conduyt-mcp 4.4.0 → 4.5.0

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.
@@ -141,4 +141,15 @@ export function registerDealTools(server, client) {
141
141
  const result = await client.post(`/api/v1/imports/${jobId}/process`, {});
142
142
  return formatResult({ jobId, ...result });
143
143
  });
144
+ server.tool("conduyt_add_deal_tags", "Tag a deal with one or more EXISTING tags by tag UUID. Tags must already exist (create them with conduyt_create_tag); this does NOT create tags. Deals support tags just like contacts — use this to segment high-value or priority deals. To tag several deals, call this once per deal.", {
145
+ dealId: z.string().describe("Deal UUID"),
146
+ tagIds: z.array(z.string()).describe("Tag UUIDs to add to the deal (must already exist; non-empty)"),
147
+ }, async ({ dealId, tagIds }) => {
148
+ const result = await client.post(`/api/v1/deals/${dealId}/tags`, { tagIds });
149
+ return formatResult(result);
150
+ });
151
+ server.tool("conduyt_list_deal_views", "List the account's SAVED DEAL VIEWS (saved deal segments, e.g. 'Open deals over $10k'), each with its id, name, stored filter rules, and current deal count. Read-only — shows how the account segments its deals.", {}, async () => {
152
+ const result = await client.get("/api/v1/deals/views");
153
+ return formatResult(result);
154
+ });
144
155
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conduyt-mcp",
3
- "version": "4.4.0",
3
+ "version": "4.5.0",
4
4
  "description": "MCP server for Conduyt CRM \u2014 expose CRM operations as AI-accessible tools",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",