@nannykeeper/mcp-server 1.5.0 → 1.6.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.
package/CLAUDE.md CHANGED
@@ -21,6 +21,12 @@ API callers with direct-deposit payments must tick the same safety gates the UI
21
21
 
22
22
  These flags exist even for server-to-server callers as a safety measure. Agents should only set them after verifying the amounts with the user.
23
23
 
24
+ ## Voluntary set-aside (run_payroll, preview_payroll)
25
+ The optional `voluntary_set_aside: { skip?, amount? }` field overrides the employee's recurring set-aside rule for a single paycheck. The recurring rule (e.g., 2% of gross for OH municipal courtesy withholding) is configured via the dashboard — this field can only override or skip per-payroll. Omit the field to apply the rule normally.
26
+
27
+ - `voluntary_set_aside: { skip: true }` — bypass the rule for this paycheck
28
+ - `voluntary_set_aside: { amount: 5.00 }` — override the computed amount for this paycheck
29
+
24
30
  ## Setup
25
31
  Requires API key (free): https://www.nannykeeper.com/developers/keys
26
32
  Set `NANNYKEEPER_API_KEY` env var.
package/README.md CHANGED
@@ -61,6 +61,7 @@ Dry-run payroll calculation. Returns the full tax breakdown, net pay, and employ
61
61
  - `overtime_hours` (optional) — Overtime hours worked
62
62
  - `bonus` (optional) — Bonus amount
63
63
  - `other_earnings` (optional) — Other earnings
64
+ - `voluntary_set_aside` (optional, v1.6.0+) — Override or skip the employee's recurring voluntary set-aside rule for this paycheck only. Object with `skip` (boolean) or `amount` (number, $0–$9,999). The recurring rule is configured via the dashboard; omit this field to apply it normally.
64
65
 
65
66
  ### `run_payroll`
66
67
 
@@ -83,6 +84,7 @@ Run payroll for a household employee **end-to-end in a single call** — creates
83
84
  - `notes` (optional) — Use "catch-up" for retroactive payrolls
84
85
  - `confirm_large_payroll` (optional) — Required for direct-deposit payrolls with total net pay >$5,000 or any single net pay >$3,000
85
86
  - `confirm_ach_debit` (optional) — Required for first-ever DD payroll or when >30 days have elapsed since the last DD authorization
87
+ - `voluntary_set_aside` (optional, v1.6.0+) — Override or skip the employee's recurring voluntary set-aside rule for this paycheck only. Object with `skip` (boolean) or `amount` (number, $0–$9,999). The recurring rule is configured via the dashboard; omit this field to apply it normally.
86
88
  - `idempotency_key` (optional) — Prevent duplicate payroll creation
87
89
 
88
90
  ## Examples
package/dist/index.js CHANGED
@@ -87,6 +87,13 @@ server.tool("preview_payroll", "Preview payroll for a household employee WITHOUT
87
87
  overtime_hours: z.number().optional().describe("Overtime hours worked this period"),
88
88
  bonus: z.number().optional().describe("Bonus amount in dollars for this period"),
89
89
  other_earnings: z.number().optional().describe("Other earnings in dollars for this period"),
90
+ voluntary_set_aside: z
91
+ .object({
92
+ skip: z.boolean().optional().describe("Skip the active set-aside rule for this paycheck only"),
93
+ amount: z.number().min(0).max(9999).optional().describe("Override the rule's computed amount for this paycheck only"),
94
+ })
95
+ .optional()
96
+ .describe("Override or skip the employee's voluntary post-tax set-aside rule for this paycheck only. The recurring rule itself is configured via the dashboard. Omit this field to apply the rule normally."),
90
97
  }, {
91
98
  title: "Preview Payroll",
92
99
  readOnlyHint: true,
@@ -141,6 +148,13 @@ server.tool("run_payroll", "Run payroll for a household employee end-to-end in a
141
148
  .boolean()
142
149
  .optional()
143
150
  .describe("Required for first-time direct-deposit payroll or when the last DD authorization is >30 days old."),
151
+ voluntary_set_aside: z
152
+ .object({
153
+ skip: z.boolean().optional().describe("Skip the active set-aside rule for this paycheck only"),
154
+ amount: z.number().min(0).max(9999).optional().describe("Override the rule's computed amount for this paycheck only"),
155
+ })
156
+ .optional()
157
+ .describe("Override or skip the employee's voluntary post-tax set-aside rule for this paycheck only. The recurring rule itself is configured via the dashboard. Omit this field to apply the rule normally."),
144
158
  idempotency_key: z
145
159
  .string()
146
160
  .optional()
@@ -15,4 +15,8 @@ export declare function executePreviewPayroll(args: {
15
15
  overtime_hours?: number;
16
16
  bonus?: number;
17
17
  other_earnings?: number;
18
+ voluntary_set_aside?: {
19
+ skip?: boolean;
20
+ amount?: number;
21
+ };
18
22
  }): Promise<string>;
@@ -33,6 +33,9 @@ export async function executePreviewPayroll(args) {
33
33
  overtime_hours: args.overtime_hours,
34
34
  bonus: args.bonus,
35
35
  other_earnings: args.other_earnings,
36
+ ...(args.voluntary_set_aside
37
+ ? { voluntary_set_aside: args.voluntary_set_aside }
38
+ : {}),
36
39
  },
37
40
  ],
38
41
  }),
@@ -19,5 +19,9 @@ export declare function executeRunPayroll(args: {
19
19
  notes?: string;
20
20
  confirm_large_payroll?: boolean;
21
21
  confirm_ach_debit?: boolean;
22
+ voluntary_set_aside?: {
23
+ skip?: boolean;
24
+ amount?: number;
25
+ };
22
26
  idempotency_key?: string;
23
27
  }): Promise<string>;
@@ -38,6 +38,9 @@ export async function executeRunPayroll(args) {
38
38
  bonus: args.bonus,
39
39
  other_earnings: args.other_earnings,
40
40
  payment_method: args.payment_method || "check",
41
+ ...(args.voluntary_set_aside
42
+ ? { voluntary_set_aside: args.voluntary_set_aside }
43
+ : {}),
41
44
  },
42
45
  ],
43
46
  notes: args.notes,
package/manifest.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "manifest_version": "0.3",
3
3
  "name": "nannykeeper",
4
- "version": "1.5.0",
4
+ "version": "1.6.0",
5
5
  "description": "Calculate US household employer (nanny) taxes for all 50 states. Preview and run payroll, generate W-2s and pay stubs. 4 tools: calculate, threshold, preview, run.",
6
6
  "author": {
7
7
  "name": "imaznation",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nannykeeper/mcp-server",
3
- "version": "1.5.0",
3
+ "version": "1.6.0",
4
4
  "mcpName": "com.nannykeeper.www/mcp-server",
5
5
  "description": "MCP server for calculating US household employer (nanny) taxes. All 50 states. Works with Claude, ChatGPT, and any MCP-compatible AI agent.",
6
6
  "keywords": [