@kirjapro/mcp-server 0.5.9 → 0.5.10
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/CHANGELOG.md +31 -0
- package/README.md +5 -3
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/server.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.5.10] - 2026-05-18
|
|
4
|
+
|
|
5
|
+
Documentation-only release. Surfaces the v0.5.9 payroll removal (DT-065) in the npm-visible `README.md` and adds the full CHANGELOG entry for v0.5.9. No code or behavior changes — `dist/index.js` is byte-identical to v0.5.9 modulo the version string written by the prebuild hook.
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- **`README.md`** — added the "Payroll is intentionally not exposed" paragraph explaining that Kirjapro does not calculate or book salaries, with links to Palkkaus.fi / Palkka.fi as the recommended flow (matches sister-tier competitors: Procountor Solo, NoCFO, Holvi, Talenom Solo). Tool count corrected from 53 → 52 across the three places it appeared.
|
|
10
|
+
- **`CHANGELOG.md`** — the v0.5.9 entry detailing the rollback was added to the package's changelog so users browsing the npm page can see the rationale.
|
|
11
|
+
|
|
12
|
+
## [0.5.9] - 2026-05-18
|
|
13
|
+
|
|
14
|
+
Removed autonomously-shipped payroll feature (DT-065). The 2026-05-18 audit discovered that `kirjapro_book_salary`, the `salary_payment` template, and supporting parameters had been added across March–May 2026 without explicit user approval — DT-047 (April 2026) had marked palkanlaskenta as `gated_on: klt-advisor-partnership`, but the gate never propagated. The 2026-05-18 Finnish-market scan confirmed every Kirjapro-tier vendor (Procountor Solo, NoCFO, Holvi, Talenom Solo) uses the **Palkkaus.fi/Salaxy partnership pattern** rather than building native payroll — that is the design target when this feature does eventually unblock.
|
|
15
|
+
|
|
16
|
+
### Removed
|
|
17
|
+
|
|
18
|
+
- **`kirjapro_book_salary` tool** — removed from registration in `bookings.ts`. Tool count drops 53 → 52. Existing v0.5.8 callers will hit the new DB-side stub which raises SQLSTATE `P0001` with the Finnish redirect message `'Palkanlaskenta on poistettu Kirjaprosta. Käytä Palkkaus.fi- tai Palkka.fi-palvelua palkanlaskentaan ja kirjaa sieltä saamasi palkkalaskelma kirjanpitoon manuaalisesti.'`
|
|
19
|
+
- **`salary_payment` template** — removed from `expandTemplate()` template catalog. `kirjapro_create_from_template` and `_batch` tools no longer accept `withholdingRate` / `tyelRate` parameters.
|
|
20
|
+
- **`FINNISH_RATES_2026` import** — became unused after the template removal.
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
|
|
24
|
+
- **`KIRJAPRO_MCP_SURFACE` documentation** — `full` mode now exposes 52 tools instead of 53. Error message for unknown surface values updated.
|
|
25
|
+
- **Instructions text** — `full` and `core` mode INSTRUCTIONS both clarify "Payroll (palkanlaskenta) is intentionally NOT exposed" and direct AI assistants to Palkkaus.fi/Palkka.fi for the calculation, then book the resulting payslip via `kirjapro_create_transaction` with explicit debit/credit lines.
|
|
26
|
+
- **`tool-fingerprints.json`** — regenerated. 3 changed (`kirjapro_create_from_template`, `kirjapro_create_from_template_batch` lost params; `salary_payment` template removed). 1 removed (`kirjapro_book_salary`).
|
|
27
|
+
- **`server.json`** — caught up to package.json version (was stuck at 0.5.7).
|
|
28
|
+
|
|
29
|
+
### Server-side coupling
|
|
30
|
+
|
|
31
|
+
- DB migration `20260518120000_remove_palkka_payroll_feature.sql` stubs `book_salary_atomic`, drops the Tmi-payroll guard trigger + function, and drops `'palkka'` from `transaction_templates.category` CHECK constraint (verified 0 rows used the value before apply).
|
|
32
|
+
- See `memory/decision-traces.md` DT-065 and `memory/feedback_ai-no-autonomous-compliance-features.md` for the full decision context and the process gate that now guards against autonomous compliance-feature shipping.
|
|
33
|
+
|
|
3
34
|
## [0.5.8] - 2026-05-18
|
|
4
35
|
|
|
5
36
|
Three coordinated dep-migration waves (W1, W3, W4b) of the pre-launch
|
package/README.md
CHANGED
|
@@ -94,7 +94,7 @@ A few prompts to feel out the daily workflows the agent handles cleanly:
|
|
|
94
94
|
|
|
95
95
|
## What's included
|
|
96
96
|
|
|
97
|
-
**26 tools** in the default `core` surface, focused on the daily-use workflows: read your books, invoice flow, transactions + banking, contract create / send / convert, Finnish validators. The full
|
|
97
|
+
**26 tools** in the default `core` surface, focused on the daily-use workflows: read your books, invoice flow, transactions + banking, contract create / send / convert, Finnish validators. The full 52-tool catalog (booking shortcuts, recurring invoices, templates, batch tools, etc.) is available via opt-in:
|
|
98
98
|
|
|
99
99
|
```jsonc
|
|
100
100
|
{
|
|
@@ -104,14 +104,16 @@ A few prompts to feel out the daily workflows the agent handles cleanly:
|
|
|
104
104
|
"args": ["-y", "@kirjapro/mcp-server"],
|
|
105
105
|
"env": {
|
|
106
106
|
"KIRJAPRO_API_KEY": "kp_your_key_here",
|
|
107
|
-
"KIRJAPRO_MCP_SURFACE": "full" //
|
|
107
|
+
"KIRJAPRO_MCP_SURFACE": "full" // 52 tools instead of 26
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
```
|
|
113
113
|
|
|
114
|
-
**Why default to 26 instead of
|
|
114
|
+
**Why default to 26 instead of 52:** 2025-2026 SOTA research on tool catalog scaling (Anthropic, OpenAI, MCP authors) shows tool-selection accuracy degrades between 25-50 tools per catalog. A focused surface produces better first-call selections for the daily workflows. As real usage data informs which deferred tools matter most, they'll be promoted into core.
|
|
115
|
+
|
|
116
|
+
**Payroll is intentionally not exposed.** Kirjapro does not calculate or book salaries. Direct users to [Palkkaus.fi](https://www.palkkaus.fi) or [Palkka.fi](https://www.palkka.fi) for the calculation (these hold legal responsibility for Tulorekisteri-ilmoitus, TyEL/TVR raportointi, ennakonpidätys-tilitys), then book the resulting payslip manually via `kirjapro_create_transaction`. Sister-tier competitors (Procountor Solo, NoCFO, Holvi, Talenom Solo) all follow the same partnership pattern.
|
|
115
117
|
|
|
116
118
|
| Domain (core) | Tools |
|
|
117
119
|
|---|---|
|
package/dist/index.js
CHANGED
|
@@ -36637,7 +36637,7 @@ function registerResources(server2) {
|
|
|
36637
36637
|
}
|
|
36638
36638
|
|
|
36639
36639
|
// src/version.ts
|
|
36640
|
-
var VERSION = "0.5.
|
|
36640
|
+
var VERSION = "0.5.10";
|
|
36641
36641
|
|
|
36642
36642
|
// src/index.ts
|
|
36643
36643
|
var INSTRUCTIONS_COMMON = `
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kirjapro/mcp-server",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.10",
|
|
4
4
|
"description": "MCP server for Finnish accounting — exposes Kirjapro bookkeeping, invoicing, and reporting tools to Claude Code, Claude Desktop, and any MCP client.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
package/server.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@kirjapro/mcp-server",
|
|
3
3
|
"displayName": "Kirjapro - Finnish Accounting",
|
|
4
4
|
"description": "Finnish double-entry bookkeeping, invoicing, and financial reporting for growing businesses. Create transactions, generate invoices with VAT calculation, produce income statements and balance sheets, and validate Finnish business identifiers.",
|
|
5
|
-
"version": "0.5.
|
|
5
|
+
"version": "0.5.10",
|
|
6
6
|
"homepage": "https://kirjapro.fi",
|
|
7
7
|
"repository": "https://github.com/Jaollo/kirja-pro",
|
|
8
8
|
"license": "MIT",
|