@onereason/svenska-dagar-mcp 0.2.1 → 0.2.2
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/README.md +8 -3
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# @onereason/svenska-dagar-mcp
|
|
2
2
|
|
|
3
|
-
[](https://mcptrustchecker.com/registry/onereason-svenska-dagar-mcp)
|
|
4
|
-
|
|
5
3
|
MCP server exposing the Swedish public holiday and calendar API ([sholiday.faboul.se](https://sholiday.faboul.se)) to Claude and other MCP clients.
|
|
6
4
|
|
|
7
5
|
## Installation
|
|
@@ -95,9 +93,16 @@ disabled through tool arguments:
|
|
|
95
93
|
```bash
|
|
96
94
|
npm install # install dependencies
|
|
97
95
|
npm run build # compile TypeScript → dist/
|
|
98
|
-
npm test # run unit
|
|
96
|
+
npm test # run network-independent unit and security-boundary tests
|
|
97
|
+
npm run test:api # run live integration tests (requires access to the upstream API)
|
|
99
98
|
```
|
|
100
99
|
|
|
100
|
+
Required CI runs the network-independent tests, build, dependency audit, and
|
|
101
|
+
signature verification on Node.js 22 and 24. Live integration tests run separately
|
|
102
|
+
through the manually triggered **Live API tests** workflow in GitHub Actions.
|
|
103
|
+
Upstream outages or access restrictions still fail live tests, but do not block
|
|
104
|
+
pull requests.
|
|
105
|
+
|
|
101
106
|
- **Running the server** requires a supported Node.js release ≥ 22.
|
|
102
107
|
- **Running the tests** requires Node.js ≥ 22.6 (`--experimental-strip-types`).
|
|
103
108
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereason/svenska-dagar-mcp",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "MCP server for the Swedish public holiday and calendar API (sholiday.faboul.se)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mcp",
|
|
@@ -32,13 +32,14 @@
|
|
|
32
32
|
"build": "tsc && chmod 755 dist/server.js",
|
|
33
33
|
"prepublishOnly": "npm run build",
|
|
34
34
|
"start": "node dist/server.js",
|
|
35
|
-
"test": "node --experimental-strip-types --test test/unit.test.ts test/sanitize.test.ts test/security-boundary.test.ts
|
|
35
|
+
"test": "node --experimental-strip-types --test test/unit.test.ts test/sanitize.test.ts test/security-boundary.test.ts",
|
|
36
|
+
"test:api": "node --experimental-strip-types --test test/api.test.ts"
|
|
36
37
|
},
|
|
37
38
|
"dependencies": {
|
|
38
|
-
"@modelcontextprotocol/sdk": "1.
|
|
39
|
+
"@modelcontextprotocol/sdk": "1.32.2"
|
|
39
40
|
},
|
|
40
41
|
"devDependencies": {
|
|
41
|
-
"@types/node": "22.20.
|
|
42
|
+
"@types/node": "22.20.4",
|
|
42
43
|
"typescript": "7.0.2"
|
|
43
44
|
}
|
|
44
45
|
}
|