@nannykeeper/mcp-server 1.19.0 → 1.20.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/AGENTS.md CHANGED
@@ -9,7 +9,7 @@ Calculate US household employer (nanny) taxes for all 50 states + DC.
9
9
  - `list_employees(employer_id?)` — returns the household's employer_id and every employee_id. Call it first; never invent IDs
10
10
  - `preview_payroll(employee_id, ..., reimbursements?, employer_id?)` — previews payroll without creating a record. Mileage goes in `reimbursements` as `{type: "mileage", miles, amount: 0}`
11
11
  - `run_payroll(employee_id, ..., reimbursements?, employer_id?)` — run payroll with full tax calc, YTD tracking, and DB persistence (Starter+ required)
12
- - `get_payroll(payroll_id?, employer_id?)` — reads one payroll (every deduction, net pay, status) or lists them
12
+ - `get_payroll(payroll_id?, employer_id?)` — reads one payroll (every deduction, net pay, status) or lists them. From 1.20.0, a paycheck paid outside NannyKeeper carries `paid_outside: { family_method, confirmation }` (`confirmed` / `mismatch` / `waiting` / `not_asked`); a `mismatch` is the employee's word only, so suggest the two talk, never compute a difference
13
13
  - `list_payrolls(employee_id?, pay_date_from?, pay_date_to?, limit?, cursor?, employer_id?)` — the household's payrolls, newest first, with the employee_ids each paid; filter by employee and pay date. Use `limit: 3` for the last three
14
14
  - `get_pay_stub(payroll_id, employer_id?)` — returns each employee's pay stub PDF
15
15
  - `get_w2(employee_id, tax_year, copy?, employer_id?)`: returns `download_url`, a link that works for 15 minutes, for one copy of a W-2 the household has already generated in NannyKeeper. Give the user the link and tell them to open it in their browser. Never the PDF, and never open the link yourself. Never generates a W-2
package/CLAUDE.md CHANGED
@@ -5,7 +5,7 @@ Calculate nanny taxes for all 50 US states.
5
5
 
6
6
  ## Tools
7
7
  - `list_employees` — The household's employer_id and every employee's id, pay setup and missing payroll items. The first call in any payroll flow (added 1.15.0)
8
- - `get_payroll` — One payroll by id (every deduction incl. local tax, net pay, employer taxes, status) or the household's payroll list (added 1.15.0)
8
+ - `get_payroll` — One payroll by id (every deduction incl. local tax, net pay, employer taxes, status) or the household's payroll list (added 1.15.0). From 1.20.0 each paycheck paid outside NannyKeeper carries `paid_outside: { family_method, confirmation }` (`confirmed` · `mismatch` · `waiting` · `not_asked`), and `list_payrolls` rows carry `paid_outside_confirmation`. ⛔ Never the employee's payment handle. A `mismatch` is the employee's word only: NannyKeeper never knows the amount received, so the tool copy tells the agent to suggest the two talk, never to compute a difference
9
9
  - `get_pay_stub` — Each employee's pay stub PDF for a payroll, returned as an embedded PDF resource, the dashboard's own stub (added 1.15.0)
10
10
  - `get_w2`: a 15-minute DOWNLOAD LINK (`download_url`) for one copy of an employee's W-2 for an ended tax year. ⛔ Never the PDF: a W-2 prints the full SSN and a tool result is read by the assistant's model, so the tool always asks the API for `delivery: "link"` and the person opens the link. Do not "align" it with `get_pay_stub`'s attached file. Only a W-2 the household already generated in the dashboard; never generates one (`w2_not_generated`). Hosted and npm identical (added 1.16.0)
11
11
  - `get_schedule_h`: a 15-minute download link for the household's Schedule H for an ended tax year, through the dashboard's own Download procedure; its refusals come back as `schedule_h_unavailable` with a `reason`. A link for the same reason as `get_w2` (added 1.16.0)
package/README.md CHANGED
@@ -57,7 +57,7 @@ List the household's employees and return the household's `employer_id`. Call th
57
57
 
58
58
  ### `get_payroll`
59
59
 
60
- With `payroll_id`, read one payroll: status, dates, and each employee's gross pay, every deduction (federal, Social Security, Medicare, state, local), net pay, and employer taxes. Without it, list the household's payrolls, newest first.
60
+ With `payroll_id`, read one payroll: status, dates, and each employee's gross pay, every deduction (federal, Social Security, Medicare, state, local), net pay, and employer taxes. Without it, list the household's payrolls, newest first. For a paycheck the family pays outside NannyKeeper, `paid_outside` gives how the family says it paid and whether the employee confirmed it arrived: `confirmed`, `mismatch`, `waiting` or `not_asked` (added 1.20.0).
61
61
 
62
62
  **Parameters:**
63
63
  - `payroll_id` (optional) — A payroll ID from `run_payroll`
@@ -65,7 +65,7 @@ With `payroll_id`, read one payroll: status, dates, and each employee's gross pa
65
65
 
66
66
  ### `list_payrolls`
67
67
 
68
- The household's payrolls, newest first, each with status, pay period, pay date, totals and the `employee_ids` it paid. Totals are for the whole payroll; `get_payroll` has each employee's figures. Read-only (added 1.18.0).
68
+ The household's payrolls, newest first, each with status, pay period, pay date, totals, the `employee_ids` it paid and `paid_outside_confirmation` (added 1.20.0). Totals are for the whole payroll; `get_payroll` has each employee's figures. Read-only (added 1.18.0).
69
69
 
70
70
  **Parameters:**
71
71
  - `employee_id` (optional) — Only payrolls that paid this employee. One not in the household answers `not_found`
@@ -6,7 +6,7 @@ export const publicDescriptions = {
6
6
  run_payroll: "Create, approve, and process payroll for an existing household employee. Check and cash record payments the employer handles themselves. Direct deposit initiates or schedules NannyKeeper processing through Stripe. Mileage and other reimbursements go in reimbursements (up to 10 lines; for mileage send the miles and amount 0). First preview the same inputs and obtain explicit confirmation of the employee, period, pay date, amounts, and payment method. Set debit or large-payroll confirmation flags only after the user explicitly authorizes the corresponding action. Use one idempotency_key per approved payroll and reuse it on a retry with identical inputs. Do not retry a rejected payroll with changed dates, payment method, confirmation flags, or off_cycle to bypass a safeguard. Report the exact returned status; scheduled or processing does not mean paid.",
7
7
  get_state_filing_status: "Read masked state agency account status for the connected household. Use employer_id to select an authorized household when needed. Present returned registered, pending, required, and not_required states faithfully. This tool does not register an account or submit a filing. Do not infer that missing or unassessed information means no obligation.",
8
8
  list_employees: "List the connected household's employees with their pay setup and what is still missing for payroll. Returns the employee IDs the payroll tools need. Read-only.",
9
- get_payroll: "Read one payroll by ID, or list the household's payrolls (list_payrolls filters that list by employee and pay date). Returns status, dates, gross pay, each deduction, net pay, and employer taxes. Report the exact status; scheduled or processing does not mean paid.",
9
+ get_payroll: "Read one payroll by ID, or list the household's payrolls (list_payrolls filters that list by employee and pay date). Returns status, dates, gross pay, each deduction, net pay, and employer taxes. Report the exact status; scheduled or processing does not mean paid. For a paycheck paid outside NannyKeeper, paid_outside gives how the family paid and the employee's confirmation (confirmed, mismatch, waiting, not_asked); a mismatch means only that the employee said it does not match, so suggest they talk to each other.",
10
10
  get_pay_stub: "Get the pay stub PDF for each employee on a paid payroll, the same stub the household downloads in NannyKeeper. A payroll that is not paid yet answers payroll_not_completed. Safe to repeat.",
11
11
  get_w2: "Get a download link for one copy of an employee's W-2 for a tax year that has ended. Returns download_url, a link on nannykeeper.com that works for 15 minutes; give it to the user and tell them to open it in their browser. This tool never returns the PDF, and you must not open the link yourself. The household generates the W-2 in NannyKeeper first; until then this answers w2_not_generated, and this tool never generates one. Safe to repeat.",
12
12
  get_schedule_h: "Get a download link for the household's Schedule H for a tax year that has ended. Returns download_url, a link on nannykeeper.com that works for 15 minutes; give it to the user and tell them to open it in their browser. This tool never returns the PDF, and you must not open the link yourself. When NannyKeeper would not produce the form this answers schedule_h_unavailable with a reason; report that reason faithfully. NannyKeeper does not file the form. Safe to repeat.",
package/dist/server.js CHANGED
@@ -317,7 +317,10 @@ export function createNannyKeeperServer(version, context) {
317
317
  server.tool("get_payroll", context?.publicConnection ? publicDescriptions.get_payroll : ("Read payrolls. With payroll_id: that payroll's status, dates, and each employee's gross pay, every deduction " +
318
318
  "(federal, Social Security, Medicare, state, local), net pay, and employer taxes. Without payroll_id: the " +
319
319
  "household's payrolls, newest first, with totals (list_payrolls filters that list by employee and pay date). " +
320
- "Use it to confirm what run_payroll created. Read-only."), {
320
+ "Use it to confirm what run_payroll created. For a paycheck the family pays outside NannyKeeper, paid_outside gives " +
321
+ "family_method (how the family says it paid) and confirmation: confirmed, mismatch (the employee said it does not " +
322
+ "match what arrived; NannyKeeper does not know the difference, so suggest the two of them talk), waiting, or " +
323
+ "not_asked. A missing confirmation is never a problem. Read-only."), {
321
324
  payroll_id: z.string().uuid().optional().describe("A payroll id from run_payroll. Leave it out to list payrolls."),
322
325
  employer_id: EMPLOYER_ID_OPTIONAL,
323
326
  }, {
@@ -3,7 +3,8 @@ import { CLIENT_HEADER, getToolContext } from "../context.js";
3
3
  import { EMPLOYER_ID_OPTIONAL } from "../params.js";
4
4
  import { toolResult } from "../public-profile.js";
5
5
  export const LIST_PAYROLLS_DESCRIPTION = "List the household's payrolls, newest first, each with its status, pay period, pay date, total gross pay, " +
6
- "total net pay, employer taxes and the employee_ids it paid. Filter with employee_id (only payrolls that paid " +
6
+ "total net pay, employer taxes, the employee_ids it paid and paid_outside_confirmation (for paychecks paid outside " +
7
+ "NannyKeeper: confirmed, mismatch, waiting, or null when nobody was asked). Filter with employee_id (only payrolls that paid " +
7
8
  "that employee) and pay_date_from / pay_date_to (inclusive pay-date range, YYYY-MM-DD). Use limit for " +
8
9
  '"the last three payrolls" (limit: 3). When has_more is true, pass next_cursor back as cursor for the next ' +
9
10
  "page; a cursor it did not issue answers invalid_cursor, so start again without one. Totals are for the whole payroll; call get_payroll with a payroll id for each employee's gross pay, " +
package/manifest.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "manifest_version": "0.3",
3
3
  "name": "nannykeeper",
4
- "version": "1.19.0",
4
+ "version": "1.20.0",
5
5
  "description": "Calculate US household employer (nanny) taxes for all 50 states. List employees, preview and run payroll with mileage, read and list payrolls and pay stubs, read a quarter's taxes, get download links for W-2s and Schedule H, list state agency account numbers, and manage existing Autopilot enrollments. 14 tools: calculate_nanny_taxes, check_threshold, list_employees, preview_payroll, run_payroll, get_payroll, list_payrolls, get_pay_stub, get_w2, get_schedule_h, get_quarter_taxes, get_state_filing_status, get_autopilot, manage_autopilot.",
6
6
  "author": {
7
7
  "name": "nannykeeper",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nannykeeper/mcp-server",
3
- "version": "1.19.0",
3
+ "version": "1.20.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": [