ntfy-mcp-server
Version:
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.
13 lines (12 loc) • 553 B
TypeScript
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
/**
* Register the ntfy resource with the MCP server
*
* This function creates and registers the ntfy resource which returns the default
* ntfy topic configured in the environment variables. It provides access to this
* configuration through a resource URI.
*
* @param server - The MCP server instance to register the resource with
* @returns Promise resolving when registration is complete
*/
export declare const registerNtfyResource: (server: McpServer) => Promise<void>;