@onereason/svenska-dagar-mcp 0.1.0 → 0.1.5

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 CHANGED
@@ -19,6 +19,14 @@ Add to your Claude Desktop config (`~/Library/Application Support/Claude/claude_
19
19
 
20
20
  Restart Claude Desktop. The three tools below are then available in every conversation.
21
21
 
22
+ For Codex, add the server to your Codex config (`~/.codex/config.toml`):
23
+
24
+ ```toml
25
+ [mcp_servers.svenska-dagar]
26
+ command = "npx"
27
+ args = ["-y", "@onereason/svenska-dagar-mcp"]
28
+ ```
29
+
22
30
  ## Tools
23
31
 
24
32
  ### `get_swedish_day`
package/dist/server.js CHANGED
@@ -43,7 +43,7 @@ function applyPolicy(data, sanitize) {
43
43
  // ---------------------------------------------------------------------------
44
44
  // MCP server
45
45
  // ---------------------------------------------------------------------------
46
- const server = new Server({ name: "svenska-dagar", version: "0.1.0" }, { capabilities: { tools: {} } });
46
+ const server = new Server({ name: "svenska-dagar", version: "0.1.5" }, { capabilities: { tools: {} } });
47
47
  // Tool descriptions are static strings — no API data is embedded in them.
48
48
  server.setRequestHandler(ListToolsRequestSchema, () => ({
49
49
  tools: [
package/package.json CHANGED
@@ -1,35 +1,44 @@
1
1
  {
2
2
  "name": "@onereason/svenska-dagar-mcp",
3
- "version": "0.1.0",
3
+ "version": "0.1.5",
4
4
  "description": "MCP server for the Swedish public holiday and calendar API (sholiday.faboul.se)",
5
- "keywords": ["mcp", "swedish", "calendar", "holidays", "namnsdagar"],
5
+ "keywords": [
6
+ "mcp",
7
+ "swedish",
8
+ "calendar",
9
+ "holidays",
10
+ "namnsdagar"
11
+ ],
6
12
  "license": "MIT",
7
13
  "type": "module",
8
- "files": ["dist"],
14
+ "files": [
15
+ "dist"
16
+ ],
9
17
  "bin": {
10
- "svenska-dagar-mcp": "./dist/server.js"
18
+ "svenska-dagar-mcp": "dist/server.js"
11
19
  },
12
20
  "engines": {
13
21
  "node": ">=18"
14
22
  },
15
23
  "repository": {
16
24
  "type": "git",
17
- "url": "https://github.com/suhajdab/svenska-dagar-mcp.git"
25
+ "url": "git+https://github.com/suhajdab/svenska-dagar-mcp.git"
18
26
  },
19
27
  "publishConfig": {
28
+ "registry": "https://registry.npmjs.org/",
20
29
  "access": "public"
21
30
  },
22
31
  "scripts": {
23
- "build": "tsc",
32
+ "build": "tsc && chmod 755 dist/server.js",
24
33
  "prepublishOnly": "npm run build",
25
34
  "start": "node dist/server.js",
26
35
  "test": "node --experimental-strip-types --test test/unit.test.ts test/sanitize.test.ts test/api.test.ts"
27
36
  },
28
37
  "dependencies": {
29
- "@modelcontextprotocol/sdk": "1.29.0"
38
+ "@modelcontextprotocol/sdk": "1.30.0"
30
39
  },
31
40
  "devDependencies": {
32
- "@types/node": "22.15.21",
33
- "typescript": "5.8.3"
41
+ "@types/node": "25.9.1",
42
+ "typescript": "6.0.3"
34
43
  }
35
44
  }