加载中…
Send, manage, and replay ntfy push notifications via MCP.
io.github.cyanheads/ntfy-mcp-server 是 ChatHome Skills 收录的 MCP 条目,来源为 Official MCP Registry,质量分 76/100。 作为 Model Context Protocol 服务器,它向 Claude、Cursor、Copilot 等兼容 MCP 的 LLM 客户端暴露可直接调用的工具,让 agent 的能力超出模型内置范围。 该条目由 ChatHome Skills 的每日抓取从官方 registry 和 GitHub 发现查询中收录,每次运行都会重新核验仓库事实、新鲜度信号和安装元数据。 质量分综合了官方 registry 收录情况、可用安装命令、许可证完整性、仓库活跃度和 GitHub star 趋势,完整算法说明见来源页。安装命令已列于上方,可直接复制使用。 在将 io.github.cyanheads/ntfy-mcp-server 加入生产 agent 工作流前,请核对上方的最近更新日期和仓库状态——下方事实快照是最近一次抓取的时点值。
npx -y ntfy-mcp-server@2.3.7运行此命令前,请先核对上游源码。
{
"_meta": {
"io.modelcontextprotocol.registry/official": {
"status": "active",
"isLatest": true,
"updatedAt": "2026-10-15T03:31:21.467032Z",
"publishedAt": "2026-10-15T03:31:21.467032Z",
"statusChangedAt": "2026-10-15T03:31:21.467032Z"
}
},
"server": {
"name": "io.github.cyanheads/ntfy-mcp-server",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"version": "2.3.7",
"packages": [
{
"version": "2.3.7",
"transport": {
"type": "stdio"
},
"identifier": "ntfy-mcp-server",
"runtimeHint": "npx",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"environmentVariables": [
{
"name": "NTFY_SERVERS",
"format": "string",
"description": "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` overrides that match a registered base forward that server's auth. Takes precedence over the single-server NTFY_BASE_URL / NTFY_AUTH_* shorthand."
},
{
"name": "NTFY_BASE_URL",
"format": "string",
"default": "https://ntfy.sh",
"description": "Single-server shorthand — base URL of the ntfy server (no trailing slash). Used when NTFY_SERVERS is unset."
},
{
"name": "NTFY_DEFAULT_TOPIC",
"format": "string",
"description": "Topic used when a tool call omits `topic`. Treat the topic name as a secret — anyone who knows it can publish or subscribe."
},
{
"name": "NTFY_AUTH_TOKEN",
"format": "string",
"description": "Bearer access token (`tk_…`) for the single-server shorthand. Mutually exclusive with NTFY_AUTH_USERNAME / NTFY_AUTH_PASSWORD."
},
{
"name": "NTFY_AUTH_USERNAME",
"format": "string",
"description": "Basic-auth username for the single-server shorthand — must be set together with NTFY_AUTH_PASSWORD."
},
{
"name": "NTFY_AUTH_PASSWORD",
"format": "string",
"description": "Basic-auth password for the single-server shorthand — must be set together with NTFY_AUTH_USERNAME."
},
{
"name": "NTFY_REQUEST_TIMEOUT_MS",
"format": "string",
"default": "15000",
"description": "Per-attempt HTTP timeout in milliseconds, covering the response body. Each call is also capped at 50 s across all attempts."
},
{
"name": "NTFY_MAX_RETRIES",
"format": "string",
"default": "3",
"description": "Max retry attempts for transient upstream failures (5xx, network, 429)."
},
{
"name": "NTFY_BLOCK_PRIVATE_HOSTS",
"format": "string",
"default": "false",
"description": "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 callers you do not control can reach the server."
},
{
"name": "NTFY_ENABLE_EMOJI_TAGS",
"format": "string",
"default": "true",
"description": "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."
},
{
"name": "MCP_LOG_LEVEL",
"format": "string",
"default": "info",
"description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn')."
},
{
"name": "LOGS_DIR",
"format": "string",
"default": "./logs",
"description": "Directory for file-based logs (Node only; ignored on Workers)."
},
{
"name": "OTEL_ENABLED",
"format": "string",
"default": "false",
"description": "Enable OpenTelemetry instrumentation (spans, metrics, completion logs)."
}
]
},
{
"version": "2.3.7",
"transport": {
"url": "http://127.0.0.1:3010/mcp",
"type": "streamable-http"
},
"identifier": "ntfy-mcp-server",
"runtimeHint": "npx",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"environmentVariables": [
{
"name": "MCP_TRANSPORT_TYPE",
"value": "http",
"format": "string",
"description": "Selects the HTTP transport."
},
{
"name": "NTFY_SERVERS",
"format": "string",
"description": "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` overrides that match a registered base forward that server's auth. Takes precedence over the single-server NTFY_BASE_URL / NTFY_AUTH_* shorthand."
},
{
"name": "NTFY_BASE_URL",
"format": "string",
"default": "https://ntfy.sh",
"description": "Single-server shorthand — base URL of the ntfy server (no trailing slash). Used when NTFY_SERVERS is unset."
},
{
"name": "NTFY_DEFAULT_TOPIC",
"format": "string",
"description": "Topic used when a tool call omits `topic`. Treat the topic name as a secret — anyone who knows it can publish or subscribe."
},
{
"name": "NTFY_AUTH_TOKEN",
"format": "string",
"description": "Bearer access token (`tk_…`) for the single-server shorthand. Mutually exclusive with NTFY_AUTH_USERNAME / NTFY_AUTH_PASSWORD."
},
{
"name": "NTFY_AUTH_USERNAME",
"format": "string",
"description": "Basic-auth username for the single-server shorthand — must be set together with NTFY_AUTH_PASSWORD."
},
{
"name": "NTFY_AUTH_PASSWORD",
"format": "string",
"description": "Basic-auth password for the single-server shorthand — must be set together with NTFY_AUTH_USERNAME."
},
{
"name": "NTFY_REQUEST_TIMEOUT_MS",
"format": "string",
"default": "15000",
"description": "Per-attempt HTTP timeout in milliseconds, covering the response body. Each call is also capped at 50 s across all attempts."
},
{
"name": "NTFY_MAX_RETRIES",
"format": "string",
"default": "3",
"description": "Max retry attempts for transient upstream failures (5xx, network, 429)."
},
{
"name": "NTFY_BLOCK_PRIVATE_HOSTS",
"format": "string",
"default": "false",
"description": "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 callers you do not control can reach the server."
},
{
"name": "NTFY_ENABLE_EMOJI_TAGS",
"format": "string",
"default": "true",
"description": "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."
},
{
"name": "MCP_SESSION_MODE",
"format": "string",
"default": "stateful",
"description": "HTTP 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 'stateless' is refused. 'auto' resolves to 'stateful'; stdio ignores the setting."
},
{
"name": "MCP_HTTP_HOST",
"format": "string",
"default": "127.0.0.1",
"description": "The hostname for the HTTP server."
},
{
"name": "MCP_HTTP_PORT",
"format": "string",
"default": "3010",
"description": "The port to run the HTTP server on."
},
{
"name": "MCP_HTTP_ENDPOINT_PATH",
"format": "string",
"default": "/mcp",
"description": "The endpoint path for the MCP server."
},
{
"name": "MCP_AUTH_MODE",
"format": "string",
"default": "none",
"description": "Authentication mode to use: 'none', 'jwt', or 'oauth'."
},
{
"name": "MCP_REQUEST_STATE_KEY",
"format": "string",
"isSecret": true,
"description": "Recommended 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."
},
{
"name": "MCP_LOG_LEVEL",
"format": "string",
"default": "info",
"description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn')."
},
{
"name": "LOGS_DIR",
"format": "string",
"default": "./logs",
"description": "Directory for file-based logs (Node only; ignored on Workers)."
},
{
"name": "OTEL_ENABLED",
"format": "string",
"default": "false",
"description": "Enable OpenTelemetry instrumentation (spans, metrics, completion logs)."
}
]
}
],
"repository": {
"url": "https://github.com/cyanheads/ntfy-mcp-server",
"source": "github"
},
"description": "Send, manage, and replay ntfy push notifications via MCP."
}
}