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!)
22 lines (21 loc) • 483 B
JavaScript
import { z } from "zod";
export const toolHandlerConfigSchema = z.object({
getDefaultTopic: z
.function({
input: [],
output: z.union([z.string(), z.undefined()]),
})
.optional(),
getDefaultUrl: z
.function({
input: [],
output: z.string(),
})
.optional(),
getDefaultToken: z
.function({
input: [],
output: z.union([z.string(), z.undefined()]),
})
.optional(),
});