原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Ntfy MCP Server

作者:cyanheads版本 2.4.0i★ –i在你的电脑上运行
注册名称io.github.cyanheads/ntfy-mcp-server

安装

概览

作者提供的说明(英文原文)

Send, manage, and replay ntfy push notifications via MCP.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: NTFY_SERVERS, NTFY_BASE_URL, NTFY_DEFAULT_TOPIC, NTFY_AUTH_TOKEN, NTFY_AUTH_USERNAME, NTFY_AUTH_PASSWORD, NTFY_REQUEST_TIMEOUT_MS, NTFY_MAX_RETRIES, NTFY_BLOCK_PRIVATE_HOSTS, NTFY_ENABLE_EMOJI_TAGS, MCP_LOG_LEVEL, LOGS_DIR, OTEL_ENABLED

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "ntfy": {
      "command": "npx",
      "args": [
        "-y",
        "ntfy-mcp-server"
      ],
      "env": {
        "NTFY_SERVERS": "your-value",
        "NTFY_BASE_URL": "your-value",
        "NTFY_DEFAULT_TOPIC": "your-value",
        "NTFY_AUTH_TOKEN": "your-value",
        "NTFY_AUTH_USERNAME": "your-value",
        "NTFY_AUTH_PASSWORD": "your-value",
        "NTFY_REQUEST_TIMEOUT_MS": "your-value",
        "NTFY_MAX_RETRIES": "your-value",
        "NTFY_BLOCK_PRIVATE_HOSTS": "your-value",
        "NTFY_ENABLE_EMOJI_TAGS": "your-value",
        "MCP_LOG_LEVEL": "your-value",
        "LOGS_DIR": "your-value",
        "OTEL_ENABLED": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add ntfy --env NTFY_SERVERS=your-value --env NTFY_BASE_URL=your-value --env NTFY_DEFAULT_TOPIC=your-value --env NTFY_AUTH_TOKEN=your-value --env NTFY_AUTH_USERNAME=your-value --env NTFY_AUTH_PASSWORD=your-value --env NTFY_REQUEST_TIMEOUT_MS=your-value --env NTFY_MAX_RETRIES=your-value --env NTFY_BLOCK_PRIVATE_HOSTS=your-value --env NTFY_ENABLE_EMOJI_TAGS=your-value --env MCP_LOG_LEVEL=your-value --env LOGS_DIR=your-value --env OTEL_ENABLED=your-value -- npx -y ntfy-mcp-server

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "ntfy": {
      "command": "npx",
      "args": [
        "-y",
        "ntfy-mcp-server"
      ],
      "env": {
        "NTFY_SERVERS": "your-value",
        "NTFY_BASE_URL": "your-value",
        "NTFY_DEFAULT_TOPIC": "your-value",
        "NTFY_AUTH_TOKEN": "your-value",
        "NTFY_AUTH_USERNAME": "your-value",
        "NTFY_AUTH_PASSWORD": "your-value",
        "NTFY_REQUEST_TIMEOUT_MS": "your-value",
        "NTFY_MAX_RETRIES": "your-value",
        "NTFY_BLOCK_PRIVATE_HOSTS": "your-value",
        "NTFY_ENABLE_EMOJI_TAGS": "your-value",
        "MCP_LOG_LEVEL": "your-value",
        "LOGS_DIR": "your-value",
        "OTEL_ENABLED": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "ntfy": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "ntfy-mcp-server"
      ],
      "env": {
        "NTFY_SERVERS": "your-value",
        "NTFY_BASE_URL": "your-value",
        "NTFY_DEFAULT_TOPIC": "your-value",
        "NTFY_AUTH_TOKEN": "your-value",
        "NTFY_AUTH_USERNAME": "your-value",
        "NTFY_AUTH_PASSWORD": "your-value",
        "NTFY_REQUEST_TIMEOUT_MS": "your-value",
        "NTFY_MAX_RETRIES": "your-value",
        "NTFY_BLOCK_PRIVATE_HOSTS": "your-value",
        "NTFY_ENABLE_EMOJI_TAGS": "your-value",
        "MCP_LOG_LEVEL": "your-value",
        "LOGS_DIR": "your-value",
        "OTEL_ENABLED": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • NTFY_SERVERS env
    JSON array of `{ baseUrl, authToken? | authUsername?+authPassword? }` entries — one per ntfy server. First entry is the default base. Auth is scoped to the entry's `baseUrl`; per-call `base_url` over…
  • NTFY_BASE_URL env
    Single-server shorthand — base URL of the ntfy server (no trailing slash). Used when NTFY_SERVERS is unset.
  • NTFY_DEFAULT_TOPIC env
    Topic used when a tool call omits `topic`. Treat the topic name as a secret — anyone who knows it can publish or subscribe.
  • NTFY_AUTH_TOKEN env
    Bearer access token (`tk_…`) for the single-server shorthand. Mutually exclusive with NTFY_AUTH_USERNAME / NTFY_AUTH_PASSWORD.
  • NTFY_AUTH_USERNAME env
    Basic-auth username for the single-server shorthand — must be set together with NTFY_AUTH_PASSWORD.
  • NTFY_AUTH_PASSWORD env
    Basic-auth password for the single-server shorthand — must be set together with NTFY_AUTH_USERNAME.
  • NTFY_REQUEST_TIMEOUT_MS env
    Per-attempt HTTP timeout in milliseconds, covering the response body. Each call is also capped at 50 s across all attempts.
  • NTFY_MAX_RETRIES env
    Max retry attempts for transient upstream failures (5xx, network, 429).
  • NTFY_BLOCK_PRIVATE_HOSTS env
    When 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 calle…
  • NTFY_ENABLE_EMOJI_TAGS env
    Set 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_LEVEL env
    Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').
  • LOGS_DIR env
    Directory for file-based logs (Node only; ignored on Workers).
  • OTEL_ENABLED env
    Enable OpenTelemetry instrumentation (spans, metrics, completion logs).

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 cyanheads 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 18648 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 18648 个服务器的 79% 更新
  • 基础检查结果等于或优于此分类中其他 18648 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Ntfy MCP Server 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(2.4.0)于10天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, arr-mcp

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

作者:formulahendry起步阶段↓ 66/周★ 44014个月前更新

在你的电脑上运行

Remote Desktop Commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

作者:desktop-commander正在增长★ 2113天前更新

在云端运行✓ desktopcommander.app

arr-mcp

One server, 40 tools, the whole media stack: *arrs, Jellyfin, Plex, Seerr, Cleanuparr, downloaders

作者:bardesss非常新今天更新

在你的电脑上运行

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

ntfy-mcp-server Send, manage, and replay ntfy push notifications via MCP. STDIO or Streamable HTTP. 4 Tools • 1 Resource • 1 Skill


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
ToolDescription
ntfy_publish_messageSend or update a push notification on an ntfy topic.
ntfy_manage_messageClear or delete a previously-sent notification by sequence_id.
ntfy_fetch_messagesPoll cached messages from one or more topics with optional filters.
ntfy_search_emoji_tagsLook up ntfy emoji tag short codes for use in tags.
Resources
ResourceDescription
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
SkillDescription
ntfy-guideUsing 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, delay, 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
  • Publishes with email, call, or a broadcast/http button ask the user to confirm the target before sending; 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
  • Failures carry typed reasons: payload_too_large (body, attachment, title, or combined tags over ntfy's limits), invalid_delay, invalid_attachment (malformed attach URL), 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 topic, sequence_id, and operation first; declining fails with consent_declined
  • 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, not a live stream; accepts comma-separated topics (e.g. alerts,backups, each 1–64 characters) and filters since (duration / timestamp / message ID / all / latest), priority, tags, id, title, message, plus scheduled to include delayed messages
  • Default window 10m, default limit 20, at most 100 per call; a larger window returns the newest limit messages with totalCount and a nextCursor to pass back as cursor. Bodies truncate at ~500 chars (messageTruncated gives the dropped count); refetch with id for the full text. upstreamTruncated flags a replay ntfy capped
  • Failures carry typed reasons: invalid_since (malformed since value), 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 substring match on tag names; omit query to list the reference in order
  • limit default 25, at most 200 per call; 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
  • 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; 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), upstream_unreachable (network failure, 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; publish and manage don't retry it, since the event may already be out). 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

VariableDescriptionDefault
NTFY_SERVERSJSON array of `{ baseUrl, authToken? \authUsername?+authPassword? }` entries, one per ntfy server; the first is the default. Takes precedence over the single-server vars below.—
NTFY_BASE_URLSingle-server shorthand — base URL of the ntfy server (no trailing slash). Used when NTFY_SERVERS is unset.https://ntfy.sh
NTFY_DEFAULT_TOPICTopic used when a tool call omits topic.—
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 — required together with NTFY_AUTH_PASSWORD.—
NTFY_AUTH_PASSWORDBasic-auth password for the single-server shorthand — required together with NTFY_AUTH_USERNAME.—
NTFY_REQUEST_TIMEOUT_MSPer-attempt HTTP timeout in milliseconds. Each call is also capped at 50 s across all attempts.15000
NTFY_MAX_RETRIESMax retry attempts for transient upstream failures (5xx, network, 429).3
NTFY_BLOCK_PRIVATE_HOSTSWhen true, a per-call base_url override must resolve to a public address and redirects are not followed. Registered servers are exempt. Turn it on where callers you don't control can reach the server.false
NTFY_ENABLE_EMOJI_TAGSSet to false to disable ntfy_search_emoji_tags. An unrecognized value fails startup.true
MCP_TRANSPORT_TYPETransport: stdio or http.stdio
MCP_SESSION_MODEHTTP session model: auto, stateful, or stateless. Over HTTP this server requires stateful (auto resolves to it); stateless is refused at start. Ignored on stdio.stateful
MCP_HTTP_HOSTHTTP host.127.0.0.1
MCP_HTTP_PORTHTTP port.3010
MCP_HTTP_ENDPOINT_PATHHTTP endpoint path./mcp
MCP_AUTH_MODEAuth mode: none, jwt, or oauth.none
MCP_REQUEST_STATE_KEYRecommended for HTTP. Key (≥ 32 bytes, e.g. openssl rand -base64 32, the same on every instance) that seals the consent requestState for 900 s; an invalid or expired state is rejected with -32602 invalid_request_state.—
STORAGE_PROVIDER_TYPEWhere consent records live (600 s TTL). Multi-instance HTTP needs shared storage: filesystem (shared volume), supabase, or cloudflare-d1, not cloudflare-kv.in-memory
MCP_LOG_LEVELLog level (RFC 5424).info

| LOGS_DIR | Directory for file-based logs (

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx