@nannykeeper/mcp-server 1.4.0 → 1.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.
- package/CLAUDE.md +2 -1
- package/README.md +3 -1
- package/dist/index.js +7 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
package/CLAUDE.md
CHANGED
|
@@ -7,11 +7,12 @@ Calculate nanny taxes for all 50 US states.
|
|
|
7
7
|
- `calculate_nanny_taxes` — Full federal + state tax breakdown
|
|
8
8
|
- `check_threshold` — Whether wages trigger employer tax obligations
|
|
9
9
|
- `preview_payroll` — Dry-run payroll calc, returns taxes/net pay without creating a record (Starter+ required)
|
|
10
|
-
- `run_payroll` — End-to-end payroll: create, approve, and process in a single call. Finalized response reflects real status (processing / pending_funding / completed). No UI intervention needed. (Starter+ required)
|
|
10
|
+
- `run_payroll` — End-to-end payroll: create, approve, and process (or schedule) in a single call. Finalized response reflects real status (`processing` / `pending_funding` / `completed` / **`scheduled`** as of 1.5.0). No UI intervention needed. (Starter+ required)
|
|
11
11
|
|
|
12
12
|
## Pay-date handling (run_payroll, preview_payroll)
|
|
13
13
|
- `pay_date` is optional. When omitted, the server picks the earliest valid pay date based on ACH submission lead time (5 business days ahead, holiday-aware) and echoes it back in the response.
|
|
14
14
|
- If `pay_date` is supplied and past the submission deadline, the API rejects with HTTP 400 and includes `next_valid_pay_date` in the error details for self-correction.
|
|
15
|
+
- **v1.5.0**: If `pay_date` is more than 5 business days in the future on a DD payroll, the response status is `scheduled`. The payroll will auto-fire at `scheduled_send_at` (5 biz days before `pay_date`). The `net_pay` and tax amounts in the response are estimates — they're recomputed at fire time if YTD or rate configs changed. `is_estimated: true` is set when this happens so callers can surface that to users.
|
|
15
16
|
|
|
16
17
|
## Confirmation flags (run_payroll)
|
|
17
18
|
API callers with direct-deposit payments must tick the same safety gates the UI does:
|
package/README.md
CHANGED
|
@@ -64,7 +64,9 @@ Dry-run payroll calculation. Returns the full tax breakdown, net pay, and employ
|
|
|
64
64
|
|
|
65
65
|
### `run_payroll`
|
|
66
66
|
|
|
67
|
-
Run payroll for a household employee **end-to-end in a single call** — creates, approves, and processes the payroll. Response reflects the finalized status (`processing`, `pending_funding`, or `
|
|
67
|
+
Run payroll for a household employee **end-to-end in a single call** — creates, approves, and processes (or schedules) the payroll. Response reflects the finalized status (`processing`, `pending_funding`, `completed`, or `scheduled` as of v1.5.0); no dashboard intervention needed. Requires a Starter+ subscription.
|
|
68
|
+
|
|
69
|
+
**Scheduled payrolls (v1.5.0):** When `pay_date` is more than 5 business days in the future on a direct-deposit payroll, the response status is `scheduled`. Two additional fields come back: `scheduled_send_at` (ISO UTC timestamp — when the payroll will auto-fire) and `is_estimated: true` (the returned net pay and tax amounts will be recomputed against current YTD and rate configs at fire time, so they may shift slightly). In-window pay dates fire immediately as before.
|
|
68
70
|
|
|
69
71
|
**Parameters:**
|
|
70
72
|
- `employer_id` (required) — Employer UUID from your NannyKeeper account
|
package/dist/index.js
CHANGED
|
@@ -71,6 +71,8 @@ server.tool("preview_payroll", "Preview payroll for a household employee WITHOUT
|
|
|
71
71
|
"Same parameters as run_payroll. Requires a Starter+ subscription. " +
|
|
72
72
|
"pay_date is optional — when omitted, the server picks the earliest valid pay date " +
|
|
73
73
|
"based on ACH submission lead time and echoes it back in the response. " +
|
|
74
|
+
"v1.5.0: if pay_date is more than 5 business days in the future, the response includes " +
|
|
75
|
+
"is_estimated=true — those numbers will be recomputed at fire time if the user schedules. " +
|
|
74
76
|
"To get your employer_id and employee_id, call the NannyKeeper API: " +
|
|
75
77
|
"GET /api/v1/employees?employer_id=YOUR_ID (employer_id is visible in your dashboard URL).", {
|
|
76
78
|
employer_id: z.string().uuid().describe("Employer UUID — visible in your NannyKeeper dashboard URL or from GET /api/v1/employees"),
|
|
@@ -99,12 +101,16 @@ server.tool("preview_payroll", "Preview payroll for a household employee WITHOUT
|
|
|
99
101
|
server.tool("run_payroll", "Run payroll for a household employee end-to-end in a single call. Creates the " +
|
|
100
102
|
"record, runs all tax calculations (federal, state, FICA, FUTA) with year-to-date " +
|
|
101
103
|
"tracking, approves the payroll, and kicks off payment processing. " +
|
|
102
|
-
"Returns the finalized status (processing/pending_funding/completed)
|
|
104
|
+
"Returns the finalized status (processing/pending_funding/completed/scheduled) plus full tax breakdown, " +
|
|
103
105
|
"net pay, employer costs, and the payroll ID for reference. " +
|
|
104
106
|
"Requires a Starter+ subscription. " +
|
|
105
107
|
"pay_date is optional — when omitted, the server picks the earliest valid pay date " +
|
|
106
108
|
"based on ACH submission lead time and echoes it back. If supplied and past the " +
|
|
107
109
|
"submission deadline, the request is rejected with next_valid_pay_date in the error. " +
|
|
110
|
+
"If pay_date is more than 5 business days in the future on a DD payroll, status=scheduled " +
|
|
111
|
+
"and the payroll will auto-fire at scheduled_send_at (5 biz days before pay_date). " +
|
|
112
|
+
"Scheduled responses include is_estimated=true — numbers may shift slightly at fire time " +
|
|
113
|
+
"if YTD or rate configs change between approve and fire. " +
|
|
108
114
|
"Direct deposit callers: set confirm_large_payroll=true for totals >$5,000 or any single " +
|
|
109
115
|
"net pay >$3,000; set confirm_ach_debit=true for first-time DD or if no DD in 30 days. " +
|
|
110
116
|
"Tip: use preview_payroll first to validate your request and see results before committing. " +
|
package/manifest.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"manifest_version": "0.3",
|
|
3
3
|
"name": "nannykeeper",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.5.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.
|
|
3
|
+
"version": "1.5.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": [
|