/ntfy-mcp-server:ntfy-guidefrom ntfy-mcp-server
Guides usage of ntfy push notification tools: topic selection, sequence id management for updates/clear/delete, scheduling reminders, and fetching topic history without miscounting.
Ships in ntfy-mcp-server. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
ntfy pushes notifications to the phones and desktops subscribed to a topic. Use it to reach the user outside the chat: a long task finished or failed, a checkpoint, a reminder at a set time. Use ntfy_fetch_messages (or the ntfy://{topic} snapshot) to look back at what a topic received.
wait_seconds (at most 40 per call).base_url out to use the configured server. Credentials go only to a URL that matches a configured server (a trailing / aside), so another spelling of the same host (localhost for 127.0.0.1, an uppercase scheme) is sent without them. A base_url must be an absolute http:// or https:// URL with no user:password@ and no ? or #; one that is not is refused before any prompt or request.| Identifier | Comes from | Goes to |
|---|---|---|
| Topic | The user, who must be subscribed to it, or the server's configured default | Every tool; fetch also takes a comma-separated list |
Message id | The publish result; each fetch row | Fetch's id filter (full body) or since (the messages after it, plus any published earlier in the same second) |
| Sequence id | The id of the notification's first message, or a name you chose on that first publish | sequence_id on every update, and on clear or delete |
event_id | The clear or delete result | Nothing. It names the event, not the notification |
A notification keeps one sequence id for its whole life:
id of its own. To update again, or to clear or delete, pass the original sequence id, never the latest result's id. A new id passed as sequence_id starts a separate notification, and the phone shows two.sequence_id when present, else its id. Rows whose event is message_clear or message_delete point at a sequence through their sequence_id; their own id targets nothing.build-1234, deploy-api; letters, digits, - and _, up to 64 characters) and reuse it. Nothing needs capturing from the result.topic so the configured default applies. If that fails because no default is configured, ask the user which topic their app subscribes to. ntfy accepts any topic name and reports the publish as sent whether or not anyone is subscribed, so a guessed or mistyped topic fails silently. docs, static, and file are never topics: ntfy serves its own pages there, so fetching one fails with not_ntfy_endpoint and publishing to one is refused (topic name is not allowed). Pick another name. The topic works as a password: keep it out of commits, issues, logs, and anything else you write that others can read.sequence_id, including one never published, and reports success. A wrong id dismisses nothing and raises no error. Take the id from a publish result in this conversation or from a fetch row, per Identifiers.upstream_malformed: the connection reset or timed out with no answer, or the reply was unreadable), and wait a few seconds first. A publish sent with cache: false is never stored, so no fetch shows it.http button asks the user to confirm through the client. A failure saying the client did not declare the elicitation capability (client_capability_missing, or JSON-RPC error -32021 with requiredCapabilities) means this client cannot show that prompt. Tell the user the action is unavailable here and don't retry it. A plain notification, a view or copy button, and a click URL never prompt.quota.messages.remaining when ntfy says; plan a run of updates against it.Task finished, then mark it done. When the work ends, publish with a sequence id you chose. When the user says it's handled, clear that sequence id.
Progress notification. Publish the first state with a chosen sequence id. At each milestone, publish again with the same sequence id and the full field set (Gate 3). Finish with a final update or a clear.
Reminders. Publish with delay and a chosen sequence id. For a duration (30m) or an RFC 3339 time with its offset (2026-11-15T10:00:00-08:00), delay alone is enough. For a natural-language time (tomorrow, 10am), also pass the user's timezone as an IANA name (America/Los_Angeles); without it ntfy reads the time in its own server's zone, which is UTC on ntfy.sh. If you don't know the user's zone, ask for it rather than guessing; a duration needs none. An RFC 3339 time always carries its offset: a date-time without one is not read as RFC 3339.
delay while the first is still pending. The pending one is replaced rather than joined by a second reminder. Give a reschedule a few seconds after the publish it replaces; two sent back to back can both stay queued.scheduled: true. Each one still queued then carries scheduled: true on its row (shown as Delivers: <time> (scheduled)), and its time is when it will deliver. A reminder that came due seconds ago can still be queued without the flag.Waiting for a reply. Fetch with wait_seconds (up to 40). When nothing matches yet, the call holds the connection open and returns the first matching message to arrive, or the empty result when the time is up; call again to keep waiting. To wait for the next message after one you already have, pass that message's id as since, since the poll runs first and would return the message already there. A row whose time equals that message's may have been published just before it, so check its id against the ones you have already read. wait_seconds is ignored when id is set.
What arrived on a topic. Fetch with a since that covers the period. For "since this morning", use that moment as a Unix timestamp in seconds, never milliseconds; a bare 10 means 1970, not ten minutes. Durations stop at hours (24h, not 1d). One call returns at most limit rows (20 by default, 100 at most); while a result has a nextCursor, call again with cursor set to it, keeping topic, since, and filters the same. The last page has no nextCursor even when it still says truncated: true, so stop there. The first call returns the newest rows and the cursor walk then covers the whole window from the oldest, so those rows come back at the end of the walk: count messages with totalCount, not by adding up pages. Then reduce all the rows:
message_clear and message_delete rows. Each one means the notification named by its sequence_id was dismissed or removed. A clear or delete with no message row in the window points at a notification sent before the window, or a reminder cancelled before it fired.If the period reaches past the cache window, say so rather than reporting the topic as quiet.
Clearing one you didn't just send. Fetch with since: all, paging with cursor as above until a response has no nextCursor, to read the whole cache; find the notification by title or body, take its sequence id per Identifiers, then clear or delete it. If it has left the cache and its sequence id isn't already in this conversation, it cannot be targeted. Tell the user.
What SKILL.md sets; muted values are Claude Code's defaults
ntfy-mcp-server@cyanheads is listed by cyanheads/cyanheads — review the source before installing
npx claudepluginhub cyanheads/cyanheads --plugin ntfy-mcp-serverOther plugins' skills for the same job