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.
28 lines (27 loc) • 691 B
TypeScript
import { z } from 'zod';
/**
* Schema for validating ntfy resource query parameters
*/
export declare const NtfyResourceQuerySchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
export type NtfyResourceQuery = z.infer<typeof NtfyResourceQuerySchema>;
/**
* Response type for the ntfy resource, matching MCP SDK expectations
*/
export interface NtfyResourceResponse {
[key: string]: unknown;
contents: [
{
uri: string;
text: string;
mimeType: "application/json";
}
];
}
/**
* Data structure for the ntfy response
*/
export interface NtfyData {
defaultTopic: string;
timestamp: string;
requestUri: string;
}