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 +1 -1
- package/dist/mcp-server/server.js +2 -1
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://www.typescriptlang.org/)
|
|
4
4
|
[](https://modelcontextprotocol.io/)
|
|
5
|
-
[](https://github.com/cyanheads/ntfy-mcp-server/releases)
|
|
6
6
|
[](https://opensource.org/licenses/Apache-2.0)
|
|
7
7
|
[](https://github.com/cyanheads/ntfy-mcp-server)
|
|
8
8
|
[](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
|
-
|
|
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.
|
|
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"
|