@loopops/mcp-server 3.12.0 → 3.13.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.
@@ -142,6 +142,33 @@ export function registerPeopleMasterTools(server, allowed) {
142
142
  return trpcMutation("mcp.importPeopleCsv", { csv, ...rest });
143
143
  }));
144
144
  }
145
+ if (allowed.has("notify_activity_capture")) {
146
+ server.tool("notify_activity_capture", [
147
+ "Send the one-time privacy notification email to cro_org members whose meeting",
148
+ "metadata is being captured. Defaults to dryRun: true so the operator previews the",
149
+ "recipient list before committing. Idempotent — re-running drains only un-notified",
150
+ "persons. Required step before flipping the activity-capture cron from disabled to",
151
+ "enabled in config/govern/schedules.yaml.",
152
+ ].join(" "), {
153
+ walkId: z
154
+ .string()
155
+ .optional()
156
+ .describe("Walk id from config/people_master/hierarchy_walks.yaml. Default: 'cro_org'."),
157
+ dryRun: z
158
+ .boolean()
159
+ .optional()
160
+ .describe("When true (default), returns the would-be recipients without sending. Pass false to actually send."),
161
+ personIds: z
162
+ .array(z.string().uuid())
163
+ .optional()
164
+ .describe("Restrict to a specific subset of person ids (e.g. for a test send before broadcast). Empty = full walk."),
165
+ privacyDocUrl: z
166
+ .string()
167
+ .url()
168
+ .optional()
169
+ .describe("Optional 'Learn more' URL surfaced as a button in the email body. Omit to hide."),
170
+ }, safeTool(async (input) => trpcMutation("mcp.notifyActivityCapture", input)));
171
+ }
145
172
  if (allowed.has("sync_people_master_resolution_rules")) {
146
173
  server.tool("sync_people_master_resolution_rules", [
147
174
  "Apply the committed config/people_master/resolution_rules.yaml to the DB.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loopops/mcp-server",
3
- "version": "3.12.0",
3
+ "version": "3.13.0",
4
4
  "description": "Loop Operations MCP Server — AI skills for RevOps",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",