Home / Market / ntfy-mcp-server

ntfy-mcp-server

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

mcp★ 27632 dlnpmMIT configuration; upstream Apache-2.0Install in CosmosUpstream Source

Documentation & Preview

{ "mcpServers": { "mcp-ntfy-mcp-server": { "command": "npx", "args": [ "-y", "--package", "ntfy-mcp-server@2.3.7", "ntfy-mcp-server" ], "env": { "NTFY_SERVERS": "${ENV_NTFY_SERVERS}", "NTFY_BASE_URL": "${ENV_NTFY_BASE_URL}", "NTFY_DEFAULT_TOPIC": "${ENV_NTFY_DEFAULT_TOPIC}", "NTFY_AUTH_TOKEN": "${ENV_NTFY_AUTH_TOKEN}", "NTFY_AUTH_USERNAME": "${ENV_NTFY_AUTH_USERNAME}", "NTFY_AUTH_PASSWORD": "${ENV_NTFY_AUTH_PASSWORD}", "NTFY_REQUEST_TIMEOUT_MS": "${ENV_NTFY_REQUEST_TIMEOUT_MS}", "NTFY_MAX_RETRIES": "${ENV_NTFY_MAX_RETRIES}", "NTFY_BLOCK_PRIVATE_HOSTS": "${ENV_NTFY_BLOCK_PRIVATE_HOSTS}", "NTFY_ENABLE_EMOJI_TAGS": "${ENV_NTFY_ENABLE_EMOJI_TAGS}", "MCP_LOG_LEVEL": "${ENV_MCP_LOG_LEVEL}", "LOGS_DIR": "${ENV_LOGS_DIR}", "OTEL_ENABLED": "${ENV_OTEL_ENABLED}" } } }, "setup": { "fields": [ { "id": "ENV_NTFY_SERVERS", "label": "NTFY_SERVERS", "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.", "required": false, "secret": false, "default": "" }, { "id": "ENV_NTFY_BASE_URL", "label": "NTFY_BASE_URL", "description": "Single-server shorthand — base URL of the ntfy server (no trailing slash). Used when NTFY_SERVERS is unset.", "required": false, "secret": false, "default": "https://ntfy.sh" }, { "id": "ENV_NTFY_DEFAULT_TOPIC", "label": "NTFY_DEFAULT_TOPIC", "description": "Topic used when a tool call omits topic. Treat the topic name as a secret — anyone who knows it can publish or subscribe.", "required": false, "secret": false, "default": "" }, { "id": "ENV_NTFY_AUTH_TOKEN", "label": "NTFY_AUTH_TOKEN", "description": "Bearer access token (tk_…) for the single-server shorthand. Mutually exclusive with NTFY_AUTH_USERNAME / NTFY_AUTH_PASSWORD.", "required": false, "secret": false, "default": "" }, { "id": "ENV_NTFY_AUTH_USERNAME", "label": "NTFY_AUTH_USERNAME", "description": "Basic-auth username for the single-server shorthand — must be set together with NTFY_AUTH_PASSWORD.", "required": false, "secret": false, "default": "" }, { "id": "ENV_NTFY_AUTH_PASSWORD", "label": "NTFY_AUTH_PASSWORD", "description": "Basic-auth password for the single-server shorthand — must be set together with NTFY_AUTH_USERNAME.", "required": false, "secret": false, "default": "" }, { "id": "ENV_NTFY_REQUEST_TIMEOUT_MS", "label": "NTFY_REQUEST_TIMEOUT_MS", "description": "Per-attempt HTTP timeout in milliseconds, covering the response body. Each call is also capped at 50 s across all attempts.", "required": false, "secret": false, "default": "15000" }, { "id": "ENV_NTFY_MAX_RETRIES", "label": "NTFY_MAX_RETRIES", "description": "Max retry attempts for transient upstream failures (5xx, network, 429).", "required": false, "secret": false, "default": "3" }, { "id": "ENV_NTFY_BLOCK_PRIVATE_HOSTS", "label": "NTFY_BLOCK_PRIVATE_HOSTS", "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.", "required": false, "secret": false, "default": "false" }, { "id": "ENV_NTFY_ENABLE_EMOJI_TAGS", "label": "NTFY_ENABLE_EMOJI_TAGS", "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.", "required": false, "secret": false, "default": "true" }, { "id": "ENV_MCP_LOG_LEVEL", "label": "MCP_LOG_LEVEL", "description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').", "required": false, "secret": false, "default": "info" }, { "id": "ENV_LOGS_DIR", "label": "LOGS_DIR", "description": "Directory for file-based logs (Node only; ignored on Workers).", "required": false, "secret": false, "default": "./logs" }, { "id": "ENV_OTEL_ENABLED", "label": "OTEL_ENABLED", "description": "Enable OpenTelemetry instrumentation (spans, metrics, completion logs).", "required": false, "secret": false, "default": "false" } ], "requirements": [ "安装 Node.js / npm" ] }, "provenance": { "registryServer": "io.github.cyanheads/ntfy-mcp-server", "registryVersion": "2.3.7", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.cyanheads%2Fntfy-mcp-server/versions/2.3.7", "repository": "cyanheads/ntfy-mcp-server", "sourceCommit": "d1e6b39b80ee7229b4848a93afad6cf69449d68d", "namespaceRepositoryOwnerMatched": true, "package": { "registry": "npm", "identifier": "ntfy-mcp-server", "version": "2.3.7", "integrity": "sha512-KuYTVKI+3cjW1ZyBf2TAkTqudtTYFXzadPfqlu0VzcTbKexznVslAYytV350LLUYVYRIEZy3tRbQgpxshq0U3w==", "packageRepositoryMatched": true, "checkedAt": "2026-10-21T01:04:55.355Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }