Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Publish ntfy notifications, read the message cache, and manage users and topic access
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
NTFY_URL, NTFY_TOKEN, NTFY_USERNAME, NTFY_PASSWORD, NTFY_TOPICS, NTFY_READ_ONLY, NTFY_INSECURE_TLS, NTFY_ALLOW_TOOLS, NTFY_DENY_TOOLS标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"ntfy": {
"command": "npx",
"args": [
"-y",
"@ni-c/ntfy-mcp"
],
"env": {
"NTFY_URL": "your-value",
"NTFY_TOKEN": "your-value",
"NTFY_USERNAME": "your-value",
"NTFY_PASSWORD": "your-value",
"NTFY_TOPICS": "your-value",
"NTFY_READ_ONLY": "your-value",
"NTFY_INSECURE_TLS": "your-value",
"NTFY_ALLOW_TOOLS": "your-value",
"NTFY_DENY_TOOLS": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add ntfy --env NTFY_URL=your-value --env NTFY_TOKEN=your-value --env NTFY_USERNAME=your-value --env NTFY_PASSWORD=your-value --env NTFY_TOPICS=your-value --env NTFY_READ_ONLY=your-value --env NTFY_INSECURE_TLS=your-value --env NTFY_ALLOW_TOOLS=your-value --env NTFY_DENY_TOOLS=your-value -- npx -y @ni-c/ntfy-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"ntfy": {
"command": "npx",
"args": [
"-y",
"@ni-c/ntfy-mcp"
],
"env": {
"NTFY_URL": "your-value",
"NTFY_TOKEN": "your-value",
"NTFY_USERNAME": "your-value",
"NTFY_PASSWORD": "your-value",
"NTFY_TOPICS": "your-value",
"NTFY_READ_ONLY": "your-value",
"NTFY_INSECURE_TLS": "your-value",
"NTFY_ALLOW_TOOLS": "your-value",
"NTFY_DENY_TOOLS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"ntfy": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@ni-c/ntfy-mcp"
],
"env": {
"NTFY_URL": "your-value",
"NTFY_TOKEN": "your-value",
"NTFY_USERNAME": "your-value",
"NTFY_PASSWORD": "your-value",
"NTFY_TOPICS": "your-value",
"NTFY_READ_ONLY": "your-value",
"NTFY_INSECURE_TLS": "your-value",
"NTFY_ALLOW_TOOLS": "your-value",
"NTFY_DENY_TOOLS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
NTFY_USERNAME envNTFY_TOPICS envNTFY_READ_ONLY envNTFY_INSECURE_TLS envNTFY_ALLOW_TOOLS envNTFY_DENY_TOOLS env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月10日
注册名称已通过 GitHub 账户 ni-c 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:NTFY_URL, NTFY_TOKEN, NTFY_PASSWORD
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.3.0)于2个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js, Docker。
同一分类中有:Spec Driven Development, Remote Desktop Commander, paidfor
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Check an x402 seller before paying: verdict, failure rate and evidence from paid calls on Base.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
A Model Context Protocol (MCP) server for ntfy, the pub-sub notification service that sends push messages to your phone with an HTTP request and nothing else.
Lets MCP clients like Claude Code, Claude Desktop or Codex send you notifications, read back what was sent, revise a notification in place while a job runs, and — with an admin account — create accounts and grant or revoke their access to topics, which otherwise means the ntfy command line on the server.
Thirteen tools is the ceiling, not the floor: NTFY_ALLOW_TOOLS=essential registers a curated six instead, and a model picks the right tool far more reliably from six than from thirteen — see choosing which tools load.
A progress report stays one notification. The id publish_message returns is also the notification's sequence id, and update_message replaces its content in place — subscribers watch one notification change from "building" to "deployed" instead of collecting five.
`NTFY_TOPICS` is the fence. On ntfy a topic name is a bearer credential: knowing it is often the whole of the access control. One variable names the topics this server may touch and supplies the default when a tool omits one, so the name stays out of the tool arguments and out of the model's context.
| Variable | Required | Description |
|---|---|---|
NTFY_URL | yes | Base URL, e.g. https://ntfy.example.net. There is deliberately no default — https://ntfy.sh would make a misconfiguration publish to the public internet. |
NTFY_TOKEN | no | Access token (tk_…). Mutually exclusive with the two below. |
NTFY_USERNAME | no | Basic-auth user. Must be set together with NTFY_PASSWORD. |
NTFY_PASSWORD | no | Basic-auth password. |
NTFY_TOPICS | no | Comma-separated topics this server may use. The first is the default when a tool omits one, and the list restricts every tool, read and write — access grants included. |
NTFY_READ_ONLY | no | true, 1 or yes (any case) registers only the six read tools. Default false. |
NTFY_ALLOW_TOOLS | no | Comma-separated tool names, list_* prefixes, or essential for a curated preset |
NTFY_DENY_TOOLS | no | Same syntax; removed from whatever NTFY_ALLOW_TOOLS left |
NTFY_INSECURE_TLS | no | true accepts self-signed certificates (scoped to this connection) |
Setting NTFY_TOKEN together with NTFY_USERNAME/NTFY_PASSWORD is refused at startup rather than resolved by a precedence rule: which credential is in force must never be ambiguous.
Use `https://`. Over plain http the credentials travel unencrypted — basic
auth is base64, not encryption — and the server prints a warning unless the host is
local. For self-signed certificates prefer a proper internal CA over
NTFY_INSECURE_TLS.
Without configuration the server still starts and lists its tools (so registries and inspectors can introspect it), but every call fails with setup instructions instead of reaching the API.
NTFY_READ_ONLY defaults to false. ntfy exists to publish, and a read-only default would ship a notification server that cannot notify — this is the opposite of imap-mcp, where the same variable defaults to true because a mailbox is an irreplaceable archive.
Two consequences worth knowing:
true, 1 and yes are all read as read-only, in any case — a protection switch is parsed generously on purpose. But NTFY_READ_ONLY=ture is not any of them, and because the default is permissive it leaves the write tools enabled, where in imap-mcp it would fail closed.NTFY_TOPICS is the control that does.The recommended shape for anything unattended:
NTFY_TOPICS=deploys # the server can only touch this topic
NTFY_ALLOW_TOOLS=essential # or: NTFY_DENY_TOOLS=delete_messages,create_user,delete_user,manage_user_access
On a self-hosted instance, also give the server its own ntfy account with write-only access to exactly the topics it needs.
NTFY_ALLOW_TOOLS and NTFY_DENY_TOOLS take comma-separated tool names; a trailing * matches a whole family. essential is a curated preset — get_server_info, check_topic_access, publish_message, list_messages, get_message and update_message — marked as such in the tool reference. Four of the six are read tools, so the preset stays useful under NTFY_READ_ONLY=true.
NTFY_ALLOW_TOOLS=essential
NTFY_ALLOW_TOOLS=publish_message,list_messages NTFY_DENY_TOOLS=delete_*,create_user,manage_user_access
An entry that matches no tool aborts startup and names it, so a typo cannot silently hide a tool — an absent tool is not something anyone traces back to an environment variable. A filtered tool is never registered, so it is absent from tools/list and unknown to tools/call alike, exactly like a write tool under NTFY_READ_ONLY.
If you run several of these servers at once, mcp-hub is the other answer — its /hub endpoint replaces every server's tools with six meta-tools.
claude mcp add ntfy-mcp -- npx -y @ni-c/ntfy-mcp
{
"mcpServers": { "ntfy-mcp": { "command": "npx", "args": ["-y", "@ni-c/ntfy-mcp"], "env": { "NTFY_URL": "https://ntfy.example.net", "NTFY_TOKEN": "…", "NTFY_TOPICS": "deploys" } } } }
[mcp_servers.ntfy-mcp]
command = "npx" args = ["-y", "@ni-c/ntfy-mcp"] env = { NTFY_URL = "https://ntfy.example.net", NTFY_TOKEN = "…", NTFY_TOPICS = "deploys" }
docker run -i --rm \
-e NTFY_URL=https://ntfy.example.net -e NTFY_TOPICS=deploys \ ghcr.io/ni-c/ntfy-mcp
A client that cannot spawn a local process — ChatGPT connectors, Claude on the web, Cursor, LibreChat — reaches ntfy-mcp through mcp-hub: one container serves many stdio MCP servers over Streamable HTTP, with an OAuth 2.1 login behind a single password and long-lived tokens for the clients that cannot do OAuth. Its /hub endpoint puts every server behind six meta-tools, so one connector reaches all of them without N×tool schemas in the model's context, and it speaks both protocol revisions — a question this server asks travels through it to the person at the far end.
Its /config/mcp.json uses Claude Code's format, so the entry is the one you already have:
{
"mcpServers": { "ntfy-mcp": { "command": "npx", "args": ["-y", "@ni-c/ntfy-mcp"], "env": { "NTFY_URL": "https://ntfy.example.net", "NTFY_TOKEN": "…", "NTFY_TOPICS": "alerts", "NTFY_ALLOW_TOOLS": "essential" }, "denyTools": ["delete_messages"] } } }
allowTools and denyTools there are the hub's own per-server filter, which is not the same thing as *_ALLOW_TOOLS in env — the difference, and the mistake it invites, are in the client guide.
* marks the essential preset.
| Tool | Description |
|---|---|
list_messages * | Poll the cached messages of one or more topics, with filters, and get a cursor for the next call |
get_message * | One message in full, including its action buttons and attachment |
| check_topic_access * | Whether the credentials may subscribe to a topic — se
只显示了开头部分;其余内容请在仓库中阅读