Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

io.github.cyanheads/ntfy-mcp-server

Latest version: v2.4.3

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
MCP server Transport: stdio Publisher: cyanheads
26 Stars
10 Forks
18 Versions
TypeScript Repo language

Scan summary

io.github.cyanheads/ntfy-mcp-server was last scanned on 28 Nov 2026 at version 2.4.3. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 18 versions; the latest was published on 28 Nov 2026.
  • Findings: 2 rules fired in version 2.4.3 (5 instances: 5 low). The score describes this version only.
  • MCP server: Runs over stdio.

Versions

18 versions published
Versions and the rules that fired in each
VersionPublishedStatus
2.4.3 LATEST 28 Nov 2026 2 rules fired
2.4.2 18 Nov 2026 2 rules fired
2.4.1 14 Nov 2026 No rules fired
2.4.0 29 Oct 2026 Not shown
2.3.7 15 Oct 2026 Not shown

Rules fired in 2.4.3: 2

Findings

5 Low

Findings for v2.4.3. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

Phrase match: insecure-practice wording (not reviewed)

An automated phrase check found wording such as "skip validation", "chmod 777" or disabling certificate checks. It does not tell advice apart from examples, warnings or lists of things to avoid. Not reviewed by a person.

LOW

Phrase match: instruction-override wording (not reviewed)

LOW
Checking access…

🔒 Create a free account to see all 5 findings with descriptions and instance counts

The score describes 2.4.3; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Version License Docker MCP SDK npm TypeScript Bun

Install in Claude Desktop Install in VS Code

Framework


Overview

Push notifications to your phone or desktop through ntfy. Publish, update, and manage notifications, poll a topic's recent history, and look up emoji short codes for tags.

Tools
Tool Description
ntfy_publish_message Send or update a push notification on an ntfy topic.
ntfy_manage_message Clear or delete a previously-sent notification by sequence_id.
ntfy_fetch_messages Poll cached messages from one or more topics with optional filters.
ntfy_search_emoji_tags Look up ntfy emoji tag short codes for use in tags.
Resources
Resource Description
ntfy://{topic} Snapshot of a topic — latest 20 messages from the past hour, plus the topic's browser URL.

ntfy_fetch_messages covers the same topic data with custom windows and filters when the resource's fixed defaults aren't enough.

Skills
Skill Description
ntfy-guide Using the ntfy_* tools: choosing the topic, carrying one sequence id through a notification's updates, clear, and delete, scheduling and cancelling reminders, and reading fetched history without miscounting

Plugin, npm, Docker, and MCPB installs ship it from skills/; MCP clients that support the Skills extension read it as skill://ntfy-guide/SKILL.md.

Capability reference

ntfy_publish_message tool
  • Topics are created on first publish — treat the topic name as a secret; anyone who knows it can publish or subscribe
  • Takes title, priority (1–5), tags, click, attach, icon, filename, markdown (rendered by the web app and the Android app), delay, timezone, email, call, cache, firebase, and up to three action buttons (view, broadcast, http, copy); body capped at 4096 bytes, empty body defaults to triggered; pass the original sequence_id to update a sent message
  • delay takes a duration, a Unix timestamp, an RFC 3339 time with its Z or ±hh:mm offset, or a natural-language time; ntfy reads a natural-language time in timezone (an IANA zone name) when set, otherwise in its own server's timezone. email: "yes" uses the account's primary verified address
  • Publishes with email, call, or a broadcast/http button ask the user to confirm the target before sending, naming the ntfy server and, when delay is set, the delay and timezone; declining fails with consent_declined
  • A per-call base_url gets credentials only if it matches a registered server (NTFY_BASE_URL or an NTFY_SERVERS entry); otherwise the request is unauthenticated. A base URL is an absolute http:// or https:// URL with no user:password@ and no ? or #; credentials are set through the auth fields
  • Every successful call reports quota: the daily messages allowance and the requests burst, each with its limit and remaining, when ntfy reports them (ntfy v2.37.0 and later)
  • Failures carry typed reasons: payload_too_large (body, attachment, title, combined tags, or the request as a whole over ntfy's limits), invalid_delay, invalid_timezone (a timezone ntfy doesn't know, checked only when delay is set), invalid_attachment (malformed attach URL, or filename without attach), and unverified_contact (email/call without a verified address or number, or without auth), alongside the shared reasons under Features

ntfy_manage_message tool
  • operation: clear marks the notification read and dismisses it (subscribers see message_clear); delete removes it from the drawer (subscribers see message_delete)
  • Every call asks the user to confirm the ntfy server, topic, sequence_id, and operation first; declining fails with consent_declined
  • Reports quota on every successful call, as ntfy_publish_message does
  • The original message stays in cache, and repeating an operation is safe; ntfy.sh accepts an unknown sequence_id, stricter deployments return not_found

ntfy_fetch_messages tool
  • Returns a snapshot of cached messages; wait_seconds (default 0, at most 40 per call) holds ntfy's stream open when the poll matches nothing and returns the first matching message to arrive, or the empty result when the time is up (pass the last message's id as since to wait for the next one; a row with the same time may have been published just before it). Accepts comma-separated topics (e.g. alerts,backups, each 1–64 characters) and filters since (duration / Unix timestamp in seconds / message ID / all / latest), priority, tags, id, title, message, plus scheduled to include delayed messages; a still-queued row comes back scheduled: true, and its time is the delivery time
  • Default window 10m, default limit 20, at most 100 per call (a larger limit is served as 100 with a notice, and a larger wait_seconds as 40; NTFY_CLAMP_LIMITS=false rejects it instead); a larger window returns the newest limit messages with totalCount and a nextCursor to pass back as cursor. Bodies truncate at ~500 UTF-16 code units, on a code-point boundary (messageTruncated gives the dropped count in that unit); refetch with id for the full text. Rows carry icon, encoding, and an action id when ntfy sent them. upstreamTruncated flags a replay ntfy capped
  • A numeric since is Unix seconds: a value of 10¹² or more (a millisecond timestamp) is rejected, and a value under 10⁹ or a 12-digit number gets a notice, since ntfy would read it as a time before 2001 (a bare 10 is 1970) or as a message ID
  • Failures carry typed reasons: invalid_since (malformed since value, or a numeric one of 10¹² or more), cursor_not_found (the cursor's message expired, or came from a call with different topics, since, or filters), and upstream_malformed (the response wasn't an ntfy message stream), alongside the shared reasons under Features

ntfy_search_emoji_tags tool
  • Case-insensitive match on part of a tag name, with surrounding colons dropped and spaces or hyphens read as _ (:warning:, heavy check), or on one emoji, with or without a skin tone or variation selector; effectiveQuery returns the normalized query. A tag named exactly by the query comes first, the rest in reference order. Omit query to list the reference in order
  • limit default 25, at most 200 per call (a larger value is served as 200 with a notice; NTFY_CLAMP_LIMITS=false rejects it instead); page with offset using totalCount
  • Returned tag strings go straight into ntfy_publish_message's tags
  • On by default; set NTFY_ENABLE_EMOJI_TAGS=false to remove it from tools/list

ntfy://{topic} resource
  • Fixed snapshot: latest 20 messages from the past hour plus the topic's browser URL, in the same shape as ntfy_fetch_messages (including upstreamTruncated)
  • For custom windows or filters, use ntfy_fetch_messages

Features

Built on @cyanheads/mcp-ts-core: stdio and Streamable HTTP transports, pluggable auth (none / jwt / oauth), swappable storage (in-memory, filesystem, Supabase, Cloudflare KV/R2/D1), structured logging with optional OpenTelemetry tracing.

ntfy-specific:

  • Retrying ntfy client with a per-attempt timeout, and each call capped at 50 s so it settles before an MCP client's 60 s default; a publish that got no answer is resent only after a refused connection, an unresolved host, or a rejected TLS certificate, since ntfy may already have delivered it
  • Per-server auth: credentials bind to each registered base URL (NTFY_BASE_URL or an NTFY_SERVERS entry), with bearer-token and basic-auth modes mutually exclusive
  • User confirmation before a clear/delete, or a publish with email, call, or a broadcast/http button, on both stdio and Streamable HTTP
  • Optional SSRF guard on base_url overrides (NTFY_BLOCK_PRIVATE_HOSTS); registered servers are exempt
  • Bundled emoji-tag reference, regenerated from upstream docs/ntfy/emojis.md via scripts/build-emoji-tags.ts

Agent-friendly output:

  • Publish and manage echo the resolved topic, ID, and timestamp, and report the remaining quota; fetch also echoes the resolved since and applied filters
  • Typed reason codes let callers branch on failure mode. Shared across the tools and the resource: forbidden_topic (ntfy refused the topic with 401/403: missing or insufficient credentials), rate_limited (429 after retries; data.limit names which limit ntfy hit, when its error says), upstream_unreachable (network failure, for a publish only a refused connection, an unresolved host, or a rejected TLS certificate; a 5xx that outlasted retries or whose Retry-After the call can't wait out, or no complete answer within the 50 s call deadline; carries retryAfter when ntfy sent one), upstream_malformed (a reply that isn't ntfy's message format or couldn't be read in full, or for a publish no answer at all, such as a reset connection or a timeout; publish and manage don't retry it, since the event may already be out, and a publish sent with cache: false is never stored, so no fetch can show it), not_ntfy_endpoint (the answer didn't come from an ntfy topic route: a non-2xx answer without ntfy's JSON error envelope on a status no other reason claims, such as a 404, 405, or 501, or a proxy's 401 or 403, or ntfy's own 40401 page not found; the code stays the one the HTTP status maps to, an answer without the envelope names the host the request was sent to, and ntfy_manage_message keeps every 404 as not_found). consent_declined, not_found, and the rest are listed per entry
  • Fetch and emoji search report truncated, totalCount, and a notice naming the next step (pass nextCursor as cursor, advance offset)

Getting started

Add it to Claude Code:

claude mcp add ntfy-mcp-server -- npx -y ntfy-mcp-server

For other clients, add this to the MCP config file:

{
  "mcpServers": {
    "ntfy-mcp-server": {
      "command": "npx",
      "args": ["-y", "ntfy-mcp-server"]
    }
  }
}

Public ntfy.sh works without an account. Set NTFY_DEFAULT_TOPIC so calls can omit topic; for protected topics, add NTFY_AUTH_TOKEN (generate one at https://ntfy.sh/account). With claude mcp add, pass each as -e NAME=value after the server name; in JSON, put them under env. For Docker, a source build, or Streamable HTTP, see Running the server.

Configuration

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • MCP Registry io.github.cyanheads/ntfy-mcp-server

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Frame 2085668439 (1)
Group 1261154229