mcp-ntfy
mcp-ntfy
MCP server for ntfy push notifications. Send and poll notifications from any MCP-compatible client.
Installation
npx mcp-ntfyConfiguration
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"ntfy": {
"command": "npx",
"args": ["-y", "mcp-ntfy"],
"env": {
"NTFY_URL": "https://ntfy.sh",
"NTFY_TOKEN": "tk_...",
"NTFY_TOPIC": "my-notifications"
}
}
}
}Claude Code
Add to your Claude Code MCP settings:
{
"mcpServers": {
"ntfy": {
"command": "npx",
"args": ["-y", "mcp-ntfy"],
"env": {
"NTFY_URL": "https://ntfy.sh",
"NTFY_TOKEN": "tk_...",
"NTFY_TOPIC": "my-notifications"
}
}
}
}Environment Variables
Variable | Required | Default | Description |
| No |
| ntfy server base URL |
| No | — | Bearer token for authentication |
| No | — | Default topic (used when tool calls omit topic) |
Tools
publish
Send a push notification to an ntfy topic.
Parameter | Type | Required | Description |
| string | No* | Topic name (*required if |
| string | Yes | Notification body |
| string | No | Notification title |
| number | No | 1=min, 2=low, 3=default, 4=high, 5=urgent |
| string[] | No | Emoji shortcodes, e.g. |
| string | No | URL to open on tap |
| string | No | File URL to attach |
| string | No | Attachment filename |
| string | No | Notification icon URL |
| string | No | Delay: |
| boolean | No | Enable Markdown formatting |
| Action[] | No | Up to 3 action buttons |
poll
Poll for cached messages from an ntfy topic.
Parameter | Type | Required | Description |
| string | No* | Topic to poll (*required if |
| string | No | Duration ( |
| boolean | No | Include scheduled messages |
| string | No | Filter by message ID |
| string | No | Filter by message text |
| string | No | Filter by title |
| string | No | Filter by priority (comma-separated) |
| string | No | Filter by tags (comma-separated, AND logic) |
server_health
Check ntfy server health status and message statistics. No parameters.
License
MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mambucodev/mcp-ntfy'
If you have feedback or need assistance with the MCP directory API, please join our Discord server