ntfy-mcp-server MCP Server
Send, manage, and replay ntfy push notifications via MCP.
ntfy-mcp-server scores 47 (Fair), licensed Apache-2.0 and written in TypeScript. It installs as a local process. It declares 5 tools. Filed under Uncategorized. GitHub shows 26 stars. Package registries report about 1,424 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
47 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: apache-2.0.
License, quality and maintenance
Quality: Grade D
54/100 for listing completeness. Lost points: no README, 4 of 5 tools barely described, short summary.
How quality is graded
Where the 47 comes from
0 + 20 + 10 + 10 + 4 + 3 = 47. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 10 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 3 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "cyanheads-ntfy-mcp-server": { "command": "npx", "args": [ "-y", "ntfy-mcp-server@2.4.3" ], "env": { "NTFY_SERVERS": "", "NTFY_BASE_URL": "https://ntfy.sh", "NTFY_DEFAULT_TOPIC": "", "NTFY_AUTH_TOKEN": "", "NTFY_AUTH_USERNAME": "", "NTFY_AUTH_PASSWORD": "", "NTFY_REQUEST_TIMEOUT_MS": "15000", "NTFY_MAX_RETRIES": "3", "NTFY_BLOCK_PRIVATE_HOSTS": "false", "NTFY_CLAMP_LIMITS": "true", "NTFY_ENABLE_EMOJI_TAGS": "true", "MCP_LOG_LEVEL": "info", "LOGS_DIR": "./logs", "OTEL_ENABLED": "false" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
NTFY_SERVERS | Optional | JSON array of `{ baseUrl, authToken? | authUsername?+authPassword? }` entries — one per ntfy server. First entry is the default base. A `baseUrl` is an absolute `http://` or `https://` URL with no `user:password@` and no `?` or `#`; set credentials with the entry's auth fields. 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. |
NTFY_BASE_URL | Optional | Single-server shorthand — base URL of the ntfy server (an absolute `http://` or `https://` URL, no trailing slash, no `user:password@`, no `?` or `#`; set credentials with the NTFY_AUTH_* variables). Used when NTFY_SERVERS is unset. |
NTFY_DEFAULT_TOPIC | Optional | 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 | Optional | Bearer access token (`tk_…`) for the single-server shorthand. Mutually exclusive with NTFY_AUTH_USERNAME / NTFY_AUTH_PASSWORD. |
NTFY_AUTH_USERNAME | Optional | Basic-auth username for the single-server shorthand — must be set together with NTFY_AUTH_PASSWORD. |
NTFY_AUTH_PASSWORD | Optional | Basic-auth password for the single-server shorthand — must be set together with NTFY_AUTH_USERNAME. |
NTFY_REQUEST_TIMEOUT_MS | Optional | Per-attempt HTTP timeout in milliseconds, covering the response body. Each call is also capped at 50 s across all attempts. |
NTFY_MAX_RETRIES | Optional | Max retry attempts for transient upstream failures (5xx, network, 429). A publish retries only a refused connection, an unresolved host, or a rejected TLS certificate among network failures. |
NTFY_BLOCK_PRIVATE_HOSTS | Optional | 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. |
NTFY_CLAMP_LIMITS | Optional | When true, a `limit` above a tool's per-call cap (100 for ntfy_fetch_messages, 200 for ntfy_search_emoji_tags), or a `wait_seconds` above 40 on ntfy_fetch_messages, is served as the cap with a notice, and the input schema advertises no maximum. Set to false to advertise and enforce a schema maximum at the cap instead, so a larger value is rejected. |
NTFY_ENABLE_EMOJI_TAGS | Optional | 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 | Optional | Sets the minimum log level for output (e.g., 'debug', 'info', 'warn'). |
LOGS_DIR | Optional | Directory for file-based logs (Node only; ignored on Workers). |
OTEL_ENABLED | Optional | Enable OpenTelemetry instrumentation (spans, metrics, completion logs). |
MCP_TRANSPORT_TYPE | Optional | Selects the HTTP transport. |
NTFY_SERVERS | Optional | JSON array of `{ baseUrl, authToken? | authUsername?+authPassword? }` entries — one per ntfy server. First entry is the default base. A `baseUrl` is an absolute `http://` or `https://` URL with no `user:password@` and no `?` or `#`; set credentials with the entry's auth fields. 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. |
NTFY_BASE_URL | Optional | Single-server shorthand — base URL of the ntfy server (an absolute `http://` or `https://` URL, no trailing slash, no `user:password@`, no `?` or `#`; set credentials with the NTFY_AUTH_* variables). Used when NTFY_SERVERS is unset. |
NTFY_DEFAULT_TOPIC | Optional | 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 | Optional | Bearer access token (`tk_…`) for the single-server shorthand. Mutually exclusive with NTFY_AUTH_USERNAME / NTFY_AUTH_PASSWORD. |
NTFY_AUTH_USERNAME | Optional | Basic-auth username for the single-server shorthand — must be set together with NTFY_AUTH_PASSWORD. |
NTFY_AUTH_PASSWORD | Optional | Basic-auth password for the single-server shorthand — must be set together with NTFY_AUTH_USERNAME. |
NTFY_REQUEST_TIMEOUT_MS | Optional | Per-attempt HTTP timeout in milliseconds, covering the response body. Each call is also capped at 50 s across all attempts. |
NTFY_MAX_RETRIES | Optional | Max retry attempts for transient upstream failures (5xx, network, 429). A publish retries only a refused connection, an unresolved host, or a rejected TLS certificate among network failures. |
NTFY_BLOCK_PRIVATE_HOSTS | Optional | 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. |
NTFY_CLAMP_LIMITS | Optional | When true, a `limit` above a tool's per-call cap (100 for ntfy_fetch_messages, 200 for ntfy_search_emoji_tags), or a `wait_seconds` above 40 on ntfy_fetch_messages, is served as the cap with a notice, and the input schema advertises no maximum. Set to false to advertise and enforce a schema maximum at the cap instead, so a larger value is rejected. |
NTFY_ENABLE_EMOJI_TAGS | Optional | 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_SESSION_MODE | Optional | 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. |
MCP_HTTP_HOST | Optional | The hostname for the HTTP server. |
MCP_HTTP_PORT | Optional | The port to run the HTTP server on. |
MCP_HTTP_ENDPOINT_PATH | Optional | The endpoint path for the MCP server. |
MCP_AUTH_MODE | Optional | Authentication mode to use: 'none', 'jwt', or 'oauth'. |
MCP_REQUEST_STATE_KEYSecret | Optional | 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. |
MCP_LOG_LEVEL | Optional | Sets the minimum log level for output (e.g., 'debug', 'info', 'warn'). |
LOGS_DIR | Optional | Directory for file-based logs (Node only; ignored on Workers). |
OTEL_ENABLED | Optional | Enable OpenTelemetry instrumentation (spans, metrics, completion logs). |
Tools5Tool docs quality grade F
All capabilitiesctx.logtoolrequest-scoped logging, ctx.state for tenant-scoped storage
<sub>tool</sub>
<sub>tool</sub>
<sub>tool</sub>
<sub>tool</sub>
About
Send, manage, and replay ntfy push notifications via MCP. STDIO or Streamable HTTP.
Frequently asked questions
What is ntfy-mcp-server MCP Server?
Send, manage, and replay ntfy push notifications via MCP.
How do I install ntfy-mcp-server MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. ntfy-mcp-server MCP Server runs locally from the npm package ntfy-mcp-server with the command npx -y ntfy-mcp-server@2.4.3.
Is ntfy-mcp-server MCP Server free and open source?
Yes. ntfy-mcp-server MCP Server is released under the Apache-2.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
What tools does ntfy-mcp-server MCP Server provide?
ntfy-mcp-server MCP Server provides 5 tools, including ctx.log, ntfy_fetch_messages, ntfy_manage_message, and ntfy_publish_message. See the full tool list for descriptions and parameters.
How is ntfy-mcp-server MCP Server's trust score calculated?
ntfy-mcp-server MCP Server scores 47 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.