Other / ntfy-mcp-server

ntfy-mcp-server

io.github.cyanheads/ntfy-mcp-server · v2.4.0

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

Description supplied by the publisher in the MCP Registry. We have not tested this server.

Ranks #468 of 1,679 Other servers on Socketlist by score, with 25 GitHub stars and a last code push 1mo ago.

Install

npx -y ntfy-mcp-server
npx -y ntfy-mcp-server

Assembled from the package metadata in the official MCP Registry (including any subcommand or flag the publisher lists). Some publishers do not list the subcommand that starts MCP mode, so confirm the command in the README, along with any required configuration and credentials, before connecting it to real data.

Connect ntfy-mcp-server to Claude Code, Cursor or VS Code

Built from what the publisher declared in the official MCP Registry (the launch command above). We have not run this server. Replace anything in <angle brackets>, and keep keys and tokens in your environment, not in a shared file.

Claude Code

Run in a terminal. Adds the server at local scope; add --scope project or --scope user to share it. Claude Code setup guide.

claude mcp add --transport stdio ntfy-mcp-server -- npx -y ntfy-mcp-server

.mcp.json (Claude Code project scope, VS Code with Copilot)

Put this in a .mcp.json file at the project root. VS Code and .mcp.json guide.

{
  "mcpServers": {
    "ntfy-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "ntfy-mcp-server"
      ]
    }
  }
}

Cursor

Put this in .cursor/mcp.json in the project, or ~/.cursor/mcp.json for every project. Cursor mcp.json guide.

{
  "mcpServers": {
    "ntfy-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "ntfy-mcp-server"
      ]
    }
  }
}

Configuration the publisher declares

Environment variableRequiredSecretPublisher's note
NTFY_SERVERSNoNoJSON array of `{ baseUrl, authToken? | authUsername?+authPassword? }` entries — one per ntfy server. First entry is the default base. A `baseUrl` may not carry `user:password@`; set credentials with t
NTFY_BASE_URLNoNoSingle-server shorthand — base URL of the ntfy server (no trailing slash, no `user:password@`; set credentials with the NTFY_AUTH_* variables). Used when NTFY_SERVERS is unset.
NTFY_DEFAULT_TOPICNoNoTopic used when a tool call omits `topic`. Treat the topic name as a secret — anyone who knows it can publish or subscribe.
NTFY_AUTH_TOKENNoNoBearer access token (`tk_…`) for the single-server shorthand. Mutually exclusive with NTFY_AUTH_USERNAME / NTFY_AUTH_PASSWORD.
NTFY_AUTH_USERNAMENoNoBasic-auth username for the single-server shorthand — must be set together with NTFY_AUTH_PASSWORD.
NTFY_AUTH_PASSWORDNoNoBasic-auth password for the single-server shorthand — must be set together with NTFY_AUTH_USERNAME.
NTFY_REQUEST_TIMEOUT_MSNoNoPer-attempt HTTP timeout in milliseconds, covering the response body. Each call is also capped at 50 s across all attempts.
NTFY_MAX_RETRIESNoNoMax retry attempts for transient upstream failures (5xx, network, 429).
NTFY_BLOCK_PRIVATE_HOSTSNoNoWhen 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 caller
NTFY_CLAMP_LIMITSNoNoWhen 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,
NTFY_ENABLE_EMOJI_TAGSNoNoSet 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_LEVELNoNoSets the minimum log level for output (e.g., 'debug', 'info', 'warn').

2 more are listed in the registry entry; see the README for the full set.

"Required" and "secret" are the publisher's own flags in the registry, and many publishers leave them unset, so check the README too.

Allowlist entry

If your organisation restricts MCP servers, this is the entry an admin adds to allowedMcpServers in Claude Code managed settings or a GitHub Copilot enterprise managed-settings.json. A serverCommand entry must match the configured command and arguments exactly, so change both together.

{
  "allowedMcpServers": [
    {
      "serverCommand": [
        "npx",
        "-y",
        "ntfy-mcp-server"
      ]
    }
  ]
}

How allowlists work in each client: MCP server allowlists for Claude Code, GitHub Copilot and Cursor. Before you connect it to real data: 10 security checks for MCP servers.

Signals

GitHub stars25
npm weekly downloads1,121
Last push1mo ago
LicenceApache-2.0
Open issues1
SECURITY.mdNo
LanguageTypeScript
Latest version published2026-10-29

Signals captured from GitHub, npm and the official MCP Registry on November 11, 2026. See the scoring method.

Similar servers

ntfy

Score 75

Publish ntfy notifications, read the message cache, and manage users and topic access

★ 1MITpushed 24d ago
Other

NotifyHub — Unified Notification MCP Server

Score 73

Send notifications across 23 channels with 36 AI-ready tools. One API, zero boilerplate.

★ 9MITpushed 24d ago
Other

redmine-mcp-server

Score 85

MCP server that lets AI assistants manage Redmine issues, projects, wikis, and time tracking

★ 91MITpushed 19d ago
Other

Five MCP servers worth your time, every week

The Plug Weekly is a free email picked from these scores. About a 3-minute read. Unsubscribe any time.

Subscribe free