ntfy-mcp-server 1.0.2 → 1.0.3

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
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![TypeScript](https://img.shields.io/badge/TypeScript-5.8.2-blue.svg)](https://www.typescriptlang.org/)
4
4
  [![Model Context Protocol](https://img.shields.io/badge/MCP-1.8.0-green.svg)](https://modelcontextprotocol.io/)
5
- [![Version](https://img.shields.io/badge/Version-1.0.2-blue.svg)](https://github.com/cyanheads/ntfy-mcp-server/releases)
5
+ [![Version](https://img.shields.io/badge/Version-1.0.3-blue.svg)](https://github.com/cyanheads/ntfy-mcp-server/releases)
6
6
  [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
7
7
  [![Status](https://img.shields.io/badge/Status-Stable-green.svg)](https://github.com/cyanheads/ntfy-mcp-server)
8
8
  [![GitHub](https://img.shields.io/github/stars/cyanheads/ntfy-mcp-server?style=social)](https://github.com/cyanheads/ntfy-mcp-server)
@@ -30,7 +30,8 @@ const loadPackageInfo = async (loggerInstance) => {
30
30
  const pkgLogger = loggerInstance || logger.createChildLogger({ module: 'PackageInfo' });
31
31
  return await ErrorHandler.tryCatch(async () => {
32
32
  // Use the globally defined __dirname from the top of the file
33
- const pkgPath = path.resolve(__dirname, '../../package.json');
33
+ // Go up three levels from the compiled file location (e.g., dist/mcp-server/server.js)
34
+ const pkgPath = path.resolve(__dirname, '../../../package.json');
34
35
  const safePath = sanitizeInput.path(pkgPath);
35
36
  pkgLogger.debug(`Looking for package.json at: ${safePath}`);
36
37
  // Get file stats to check size before reading
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ntfy-mcp-server",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "An MCP (Model Context Protocol) server designed to interact with the ntfy push notification service. It enables LLMs and AI agents to send notifications to your devices with extensive customization options.",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -36,14 +36,15 @@
36
36
  "ntfy",
37
37
  "notifications",
38
38
  "push-notifications",
39
+ "pub-sub",
39
40
  "MCP",
40
41
  "model-context-protocol",
42
+ "mcp-server",
41
43
  "LLM",
42
44
  "AI-integration",
43
45
  "server",
44
46
  "typescript",
45
- "claude",
46
- "messaging"
47
+ "claude"
47
48
  ],
48
49
  "author": "Casey Hand @cyanheads",
49
50
  "license": "Apache-2.0"