Ntfy Mcp Server
Send, manage, and replay ntfy push notifications, including publish, clear, delete, and history polling.
- CCM score
- 79 of 100
- GitHub stars
- 27
- tools
- 4
- auth
- Secret needed
- transport
- STDIO, HTTP
- env vars
- 21
- last updated
- Nov 28, 2026
Own this MCP server? Claim it
What it does
- Publishes and updates messages with
ntfy_publish_message, and clears or deletes them withntfy_manage_messagebysequence_id - Reads topic history with
ntfy_fetch_messages, filtered bysince,priority,tags,title, ormessage, and includes scheduled messages on request - Requires a topic name treated as a secret, and asks the user to confirm email, call, or broadcast targets before sending
- Designed for alerting, reminders, and reading recent topic history from an AI client
Tools
4 toolsPublic tool metadata for what this MCP can expose to an agent.
ntfy_publish_messageSend or update a push notification on an ntfy topic.
Send or update a push notification on an ntfy topic.
No parameter schema in public metadata yet.
ntfy_manage_messageClear or delete a previously-sent notification by `sequence_id`.
Clear or delete a previously-sent notification by `sequence_id`.
No parameter schema in public metadata yet.
ntfy_fetch_messagesPoll cached messages from one or more topics with optional filters.
Poll cached messages from one or more topics with optional filters.
No parameter schema in public metadata yet.
ntfy_search_emoji_tagsLook up ntfy emoji tag short codes for use in `tags`.
Look up ntfy emoji tag short codes for use in `tags`.
No parameter schema in public metadata yet.
Configuration
NTFY_SERVERSJSON array of `{ baseUrl, authToken? | authUsername?+authPassword? }` entries — one per ntfy server. First entry is the default base. A `baseUrl` is an absolute `http://` or `https://` URL with no `user:password@` and no `?` or `#`; set credentials with the entry's auth fields. A
NTFY_BASE_URLdefault: https://ntfy.shSingle-server shorthand — base URL of the ntfy server (an absolute `http://` or `https://` URL, no trailing slash, no `user:password@`, no `?` or `#`; set credentials with the NTFY_AUTH_* variables). Used when NTFY_SERVERS is unset.
NTFY_DEFAULT_TOPICTopic used when a tool call omits `topic`. Treat the topic name as a secret — anyone who knows it can publish or subscribe.
NTFY_AUTH_TOKENBearer access token (`tk_…`) for the single-server shorthand. Mutually exclusive with NTFY_AUTH_USERNAME / NTFY_AUTH_PASSWORD.
NTFY_AUTH_USERNAMEBasic-auth username for the single-server shorthand — must be set together with NTFY_AUTH_PASSWORD.
NTFY_AUTH_PASSWORDBasic-auth password for the single-server shorthand — must be set together with NTFY_AUTH_USERNAME.
NTFY_REQUEST_TIMEOUT_MSdefault: 15000Per-attempt HTTP timeout in milliseconds, covering the response body. Each call is also capped at 50 s across all attempts.
NTFY_MAX_RETRIESdefault: 3Max retry attempts for transient upstream failures (5xx, network, 429). A publish retries only a refused connection, an unresolved host, or a rejected TLS certificate among network failures.
NTFY_BLOCK_PRIVATE_HOSTSdefault: falseWhen true, a per-call `base_url` override must resolve to a public address and its redirects are not followed. Servers registered under NTFY_SERVERS / NTFY_BASE_URL are exempt. Turn it on where callers you do not control can reach the server.
NTFY_CLAMP_LIMITSdefault: trueWhen true, a `limit` above a tool's per-call cap (100 for ntfy_fetch_messages, 200 for ntfy_search_emoji_tags), or a `wait_seconds` above 40 on ntfy_fetch_messages, is served as the cap with a notice, and the input schema advertises no maximum. Set to false to advertise and enfor
NTFY_ENABLE_EMOJI_TAGSdefault: trueSet to false to disable the ntfy_search_emoji_tags tool: it leaves tools/list, and the server instructions and ntfy_publish_message stop pointing at it.
MCP_LOG_LEVELdefault: infoSets the minimum log level for output (e.g., 'debug', 'info', 'warn').
LOGS_DIRdefault: ./logsDirectory for file-based logs (Node only; ignored on Workers).
OTEL_ENABLEDdefault: falseEnable OpenTelemetry instrumentation (spans, metrics, completion logs).
MCP_TRANSPORT_TYPEdefault: httpSelects the HTTP transport.
MCP_SESSION_MODEdefault: statefulHTTP session model: 'auto', 'stateful', or 'stateless'. This server requires 'stateful' over HTTP — the consent prompt on destructive and outbound calls is a multi-round-trip request that a 2025-era HTTP client can only complete over a live session — so an HTTP start with 'statel
MCP_HTTP_HOSTdefault: 127.0.0.1The hostname for the HTTP server.
MCP_HTTP_PORTdefault: 3010The port to run the HTTP server on.
MCP_HTTP_ENDPOINT_PATHdefault: /mcpThe endpoint path for the MCP server.
MCP_AUTH_MODEdefault: noneAuthentication mode to use: 'none', 'jwt', or 'oauth'.
MCP_REQUEST_STATE_KEYsecretRecommended for HTTP. Key (>= 32 bytes, the same on every instance) that seals the requestState carrying the consent-record id of a confirmation prompt, bound to the caller for 900 s; a forged, tampered, or expired state is rejected before the handler runs.
Readme
ntfy-mcp-server
Send, manage, and replay ntfy push notifications via MCP. STDIO or Streamable HTTP.
Details
- Repository
- github.com/cyanheads/ntfy-mcp-server
- Categories
- Email & Messaging, Workflow Automation, Monitoring & Observability
- Package
ntfy-mcp-server- Transport
- STDIO, HTTP
- Auth
- Required
- Registry
- MCP registry, active
Questions
Which Email & Messaging MCP server lets an agent send push notifications through ntfy?
The ntfy-mcp-server sits in the Email & Messaging category on Claude Marketplaces and ranks in the top 50 there. Other servers in that category include Agent-Native Dispatch, WhatsApp, MoeMail, Slack and Commonly, while this one focuses on sending, updating, clearing and replaying ntfy push notifications.
What tools does the ntfy MCP server give an agent?
It exposes four tools: ntfy_publish_message sends or updates a notification on a topic, ntfy_manage_message clears or deletes a sent notification by sequence_id, ntfy_fetch_messages polls cached messages from one or more topics, and ntfy_search_emoji_tags looks up emoji short codes for tags. Publishes with email, call or broadcast actions ask the user to confirm before sending.
What environment variables does the ntfy MCP server need?
No variable is strictly required, since NTFY_BASE_URL defaults to the public ntfy service. For a private server you set NTFY_BASE_URL, or NTFY_SERVERS for several servers, plus an NTFY_AUTH_TOKEN or NTFY_AUTH_USERNAME with NTFY_AUTH_PASSWORD, and NTFY_DEFAULT_TOPIC if you want a topic used when a call omits one.
Can I install the ntfy-mcp-server from npm?
Yes, the server is published on npm as ntfy-mcp-server and supports the stdio and streamable-http transports. Its repository is at https://github.com/cyanheads/ntfy-mcp-server, where the README describes setup and the tool reference.
More from cyanheads
All 18- Mailchimp Mcp Server2
- Mcp Ts Template155
- Pubmed Mcp Server171
- Clinicaltrialsgov Mcp Server103
- Openalex Mcp Server18
- Congressgov Mcp Server2
- Obsidian Mcp Server721
- Open Meteo Mcp Server14
- Pubchem Mcp Server13
- Cdc Health Mcp Server5
- Usaspending Mcp Server5
- Eia Energy Mcp Server3
- Mcp Ts Core155
- Openfec Mcp Server2
- Smithsonian Mcp Server2
- Git Mcp Server246
- Workflows Mcp Server32
Similar to Ntfy Mcp Server
More Email & MessagingNotify MCP ServerMCP serveraahl29 starsSends push notifications to WeCom, Telegram, Bark, Lark, Feishu, DingTalk, and Home Assistant.
telegram-botSkillclaude-office-skills/skills6.7K installsTelegram bot blueprints covering AI assistants, alerts, polls, and group moderation via n8n-style workflows.
hooks-notificationsPlugindavepoon/buildwithclaude3.8K starsNotification Hooks - Event-driven automation hooks
telegramSkillglebis/claude-skills288 installsCommand-line access to Telegram chats for listing, searching, fetching, sending, editing, and downloading messages.
Fast MCP TelegramMCP serverleshchenko197950 starsGateway to Telegram accounts and chats for AI agents: search, read, send, and edit messages.