@nannykeeper/mcp-server 1.10.0 → 1.10.1
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/dist/index.js +19 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
*/
|
|
18
18
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
19
19
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
20
|
+
import { createRequire } from "node:module";
|
|
20
21
|
import { z } from "zod";
|
|
21
22
|
import { executeCalculate } from "./tools/calculate.js";
|
|
22
23
|
import { executeThreshold } from "./tools/threshold.js";
|
|
@@ -24,9 +25,26 @@ import { executePreviewPayroll } from "./tools/preview-payroll.js";
|
|
|
24
25
|
import { executeRunPayroll } from "./tools/run-payroll.js";
|
|
25
26
|
import { executeStateFilingStatus, stateFilingStatusTool, } from "./tools/state-filing-status.js";
|
|
26
27
|
import { executeGetAutopilot, executeManageAutopilot } from "./tools/autopilot.js";
|
|
28
|
+
/**
|
|
29
|
+
* ⛔ DERIVED, never hardcoded. This is the version the client sees in the
|
|
30
|
+
* `initialize` handshake — the one an MCP host displays and the first thing
|
|
31
|
+
* anyone reads when asking "which version am I running?".
|
|
32
|
+
*
|
|
33
|
+
* It was a literal, and it drifted: it sat at "1.9.0" from the Autopilot commit
|
|
34
|
+
* while package.json, manifest.json and server.json all moved to 1.10.0. The
|
|
35
|
+
* release runbook's "version has to bump in all three files" checklist did not
|
|
36
|
+
* list it, so nothing bumped it and nothing noticed — the published 1.10.0
|
|
37
|
+
* introduced itself as 1.9.0 (NK-696).
|
|
38
|
+
*
|
|
39
|
+
* `createRequire` rather than an import attribute: this package targets Node
|
|
40
|
+
* >=18, where `with { type: "json" }` is still behind a flag on the older
|
|
41
|
+
* runtimes in that range. npm always ships package.json, and `dist/index.js`
|
|
42
|
+
* sits one level down, so `../package.json` resolves in the published layout.
|
|
43
|
+
*/
|
|
44
|
+
const { version: SERVER_VERSION } = createRequire(import.meta.url)("../package.json");
|
|
27
45
|
const server = new McpServer({
|
|
28
46
|
name: "nannykeeper",
|
|
29
|
-
version:
|
|
47
|
+
version: SERVER_VERSION,
|
|
30
48
|
});
|
|
31
49
|
/**
|
|
32
50
|
* Authority: SSA Contribution and Benefit Base; IRS Pubs. 15 and 926 (2026).
|
package/manifest.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"manifest_version": "0.3",
|
|
3
3
|
"name": "nannykeeper",
|
|
4
|
-
"version": "1.10.
|
|
4
|
+
"version": "1.10.1",
|
|
5
5
|
"description": "Calculate US household employer (nanny) taxes for all 50 states. Preview and run payroll, list state agency account numbers, and manage existing Autopilot enrollments. 7 tools: calculate_nanny_taxes, check_threshold, preview_payroll, run_payroll, 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.10.
|
|
3
|
+
"version": "1.10.1",
|
|
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": [
|