MCP Server Studio
Publish ntfy notifications, read the message cache, and manage users and topic access
Registry name: io.github.ni-c/ntfy-mcp
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>"
}
}
}
}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]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>"
}
}
}
}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>"
}
}
}
}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>"
}
}
}
}| Name | Required | What it is |
|---|---|---|
NTFY_URL | Yes | Base URL of the ntfy server, e.g. https://ntfy.example.net. There is deliberately no default. |
NTFY_TOKEN | No | ntfy access token (tk_...). Optional: an open instance needs no credentials. Mutually exclusive with NTFY_USERNAME/NTFY_PASSWORD. |
NTFY_USERNAME | No | Username for basic authentication. Must be set together with NTFY_PASSWORD. |
NTFY_PASSWORD | No | Password for basic authentication. Must be set together with NTFY_USERNAME. |
NTFY_TOPICS | No | Comma-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_ONLY | No | Set to exactly true to register only the six read tools (default: false — ntfy exists to publish) |
NTFY_INSECURE_TLS | No | Set to true to accept a self-signed certificate from the ntfy server (default: false) |
NTFY_ALLOW_TOOLS | No | Comma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools) |
NTFY_DENY_TOOLS | No | Comma-separated tool names or list_* prefixes to remove from whatever the allow list left |
NTFY_URL | Yes | Base URL of the ntfy server, e.g. https://ntfy.example.net. There is deliberately no default. |
NTFY_TOKEN | No | ntfy access token (tk_...). Optional: an open instance needs no credentials. Mutually exclusive with NTFY_USERNAME/NTFY_PASSWORD. |
NTFY_USERNAME | No | Username for basic authentication. Must be set together with NTFY_PASSWORD. |
NTFY_PASSWORD | No | Password for basic authentication. Must be set together with NTFY_USERNAME. |
NTFY_TOPICS | No | Comma-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_ONLY | No | Set to exactly true to register only the six read tools (default: false — ntfy exists to publish) |
NTFY_INSECURE_TLS | No | Set to true to accept a self-signed certificate from the ntfy server (default: false) |
NTFY_ALLOW_TOOLS | No | Comma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools) |
NTFY_DENY_TOOLS | No | Comma-separated tool names or list_* prefixes to remove from whatever the allow list left |