UNPKG

ntfy-me-mcp

Version:

An ntfy MCP server for sending ntfy notifications to your self-hosted ntfy server from AI Agents 📤 (supports secure token auth & more - use with npx or docker!)

15 lines (14 loc) • 609 B
import { z } from "zod"; import { ntfyPrioritySchema } from "./ntfyPriority.schema.js"; import { ntfyTopicSchema } from "./ntfyTopic.schema.js"; export const ntfyFetchOptionsSchema = z.object({ url: z.string(), topic: ntfyTopicSchema, token: z.string().optional(), since: z.union([z.string(), z.number()]).optional(), messageId: z.string().optional(), messageText: z.string().optional(), messageTitle: z.string().optional(), priorities: z.union([ntfyPrioritySchema, z.array(ntfyPrioritySchema)]).optional(), tags: z.union([z.string(), z.array(z.string())]).optional(), });