MCP Server Studio

ntfy MCP server

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

Registry name: io.github.ni-c/ntfy-mcp

Publisher
ni-c
Runs
Runs locally
Package
npm, Docker
Version
0.3.0
Category
Communication
Updated
2026-09-07

Source code on GitHub

Set up ntfy (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "ntfy-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ni-c/[email protected]"
      ],
      "env": {
        "NTFY_URL": "<NTFY_URL>",
        "NTFY_TOKEN": "<NTFY_TOKEN>",
        "NTFY_USERNAME": "<NTFY_USERNAME>",
        "NTFY_PASSWORD": "<NTFY_PASSWORD>",
        "NTFY_TOPICS": "<NTFY_TOPICS>",
        "NTFY_READ_ONLY": "<NTFY_READ_ONLY>",
        "NTFY_INSECURE_TLS": "<NTFY_INSECURE_TLS>",
        "NTFY_ALLOW_TOOLS": "<NTFY_ALLOW_TOOLS>",
        "NTFY_DENY_TOOLS": "<NTFY_DENY_TOOLS>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add ntfy-mcp -e NTFY_URL='<NTFY_URL>' -e NTFY_TOKEN='<NTFY_TOKEN>' -e NTFY_USERNAME='<NTFY_USERNAME>' -e NTFY_PASSWORD='<NTFY_PASSWORD>' -e NTFY_TOPICS='<NTFY_TOPICS>' -e NTFY_READ_ONLY='<NTFY_READ_ONLY>' -e NTFY_INSECURE_TLS='<NTFY_INSECURE_TLS>' -e NTFY_ALLOW_TOOLS='<NTFY_ALLOW_TOOLS>' -e NTFY_DENY_TOOLS='<NTFY_DENY_TOOLS>' -- npx -y @ni-c/[email protected]

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "ntfy-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ni-c/[email protected]"
      ],
      "env": {
        "NTFY_URL": "<NTFY_URL>",
        "NTFY_TOKEN": "<NTFY_TOKEN>",
        "NTFY_USERNAME": "<NTFY_USERNAME>",
        "NTFY_PASSWORD": "<NTFY_PASSWORD>",
        "NTFY_TOPICS": "<NTFY_TOPICS>",
        "NTFY_READ_ONLY": "<NTFY_READ_ONLY>",
        "NTFY_INSECURE_TLS": "<NTFY_INSECURE_TLS>",
        "NTFY_ALLOW_TOOLS": "<NTFY_ALLOW_TOOLS>",
        "NTFY_DENY_TOOLS": "<NTFY_DENY_TOOLS>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "ntfy-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ni-c/[email protected]"
      ],
      "env": {
        "NTFY_URL": "<NTFY_URL>",
        "NTFY_TOKEN": "<NTFY_TOKEN>",
        "NTFY_USERNAME": "<NTFY_USERNAME>",
        "NTFY_PASSWORD": "<NTFY_PASSWORD>",
        "NTFY_TOPICS": "<NTFY_TOPICS>",
        "NTFY_READ_ONLY": "<NTFY_READ_ONLY>",
        "NTFY_INSECURE_TLS": "<NTFY_INSECURE_TLS>",
        "NTFY_ALLOW_TOOLS": "<NTFY_ALLOW_TOOLS>",
        "NTFY_DENY_TOOLS": "<NTFY_DENY_TOOLS>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "ntfy-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ni-c/[email protected]"
      ],
      "env": {
        "NTFY_URL": "<NTFY_URL>",
        "NTFY_TOKEN": "<NTFY_TOKEN>",
        "NTFY_USERNAME": "<NTFY_USERNAME>",
        "NTFY_PASSWORD": "<NTFY_PASSWORD>",
        "NTFY_TOPICS": "<NTFY_TOPICS>",
        "NTFY_READ_ONLY": "<NTFY_READ_ONLY>",
        "NTFY_INSECURE_TLS": "<NTFY_INSECURE_TLS>",
        "NTFY_ALLOW_TOOLS": "<NTFY_ALLOW_TOOLS>",
        "NTFY_DENY_TOOLS": "<NTFY_DENY_TOOLS>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
NTFY_URLYesBase URL of the ntfy server, e.g. https://ntfy.example.net. There is deliberately no default.
NTFY_TOKENNontfy access token (tk_...). Optional: an open instance needs no credentials. Mutually exclusive with NTFY_USERNAME/NTFY_PASSWORD.
NTFY_USERNAMENoUsername for basic authentication. Must be set together with NTFY_PASSWORD.
NTFY_PASSWORDNoPassword for basic authentication. Must be set together with NTFY_USERNAME.
NTFY_TOPICSNoComma-separated topics the server may use. The first is the default when a tool omits one, and the list restricts every read and write tool.
NTFY_READ_ONLYNoSet to exactly true to register only the six read tools (default: false — ntfy exists to publish)
NTFY_INSECURE_TLSNoSet to true to accept a self-signed certificate from the ntfy server (default: false)
NTFY_ALLOW_TOOLSNoComma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools)
NTFY_DENY_TOOLSNoComma-separated tool names or list_* prefixes to remove from whatever the allow list left
NTFY_URLYesBase URL of the ntfy server, e.g. https://ntfy.example.net. There is deliberately no default.
NTFY_TOKENNontfy access token (tk_...). Optional: an open instance needs no credentials. Mutually exclusive with NTFY_USERNAME/NTFY_PASSWORD.
NTFY_USERNAMENoUsername for basic authentication. Must be set together with NTFY_PASSWORD.
NTFY_PASSWORDNoPassword for basic authentication. Must be set together with NTFY_USERNAME.
NTFY_TOPICSNoComma-separated topics the server may use. The first is the default when a tool omits one, and the list restricts every read and write tool.
NTFY_READ_ONLYNoSet to exactly true to register only the six read tools (default: false — ntfy exists to publish)
NTFY_INSECURE_TLSNoSet to true to accept a self-signed certificate from the ntfy server (default: false)
NTFY_ALLOW_TOOLSNoComma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools)
NTFY_DENY_TOOLSNoComma-separated tool names or list_* prefixes to remove from whatever the allow list left

More communication MCP servers