apprise-mcp
by dark0823
README.md
<div align="center">
# š Apprise-MCP
### Give Your AI Agent Hands to Ping Your Phone, Discord & Slack
[](https://opensource.org/licenses/MIT)
[](https://modelcontextprotocol.io/)
[](https://www.python.org/)
[-orange.svg)](https://github.com/caronc/apprise)
**Never stare at your terminal waiting for Claude or Cursor again.**
Let your AI text your phone the second it finishes a long task, encounters an error, or spots a market opportunity.
[Features](#-why-do-you-need-this) ⢠[Quick Start](#-quick-start-30-seconds) ⢠[Client Setup](#-connect-to-your-ai-client) ⢠[Supported Channels](#-popular-supported-channels) ⢠[License](#-license)
---
### š± Live Demo (Claude Desktop & Cursor Push Alert)
<div align="center">
<img src="assets/demo_banner.svg" alt="Apprise-MCP Live Demo" width="840" style="border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.3);" />
</div>
> **What you prompt your AI:**
> *"Analyze this 50-page financial report, summarize the top 3 risks, and ping my Telegram when you're done."*
>
> **What happens:**
> You close your laptop, grab a coffee, and **your phone buzzes instantly** with the full summary!
---
</div>
## š” Why Do You Need This?
| Without Apprise-MCP š“ | With Apprise-MCP ā” |
| :--- | :--- |
| **Babysitting the screen:** You sit watching Claude/Cursor generate code for 10 minutes. | **Walk away freely:** Prompt your agent, close the tab, and get a ping on your phone when it's done. |
| **Missed critical alerts:** Your trading bot or scraper crashes at 3:00 AM, and you only find out the next morning. | **Instant multi-channel sirens:** AI immediately sends emergency alerts to your Telegram, Discord, and SMS. |
| **Building 50 different APIs:** Spending days registering developer accounts for Telegram, Discord, Slack, Twilio. | **One unified standard:** Powered by `caronc/apprise`, supporting **80+ platforms with zero extra code**. |
---
## ā” Quick Start (30 Seconds)
### 1. Install Dependencies
```bash
pip install apprise fastmcp pydantic
```
### 2. Verify Your First Alert
Run a quick test using your Telegram, Discord, or Slack webhook:
```bash
python -c "import apprise; ap = apprise.Apprise(); ap.add('tgram://YOUR_BOT_TOKEN/YOUR_CHAT_ID'); ap.notify(title='š Hello!', body='Apprise-MCP is live!')"
```
---
## š Connect to Your AI Client
### 1. Claude Desktop / Cowork
Open your `claude_desktop_config.json`:
* **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
* **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
Add this block under `mcpServers`:
```json
{
"mcpServers": {
"apprise-mcp": {
"command": "python",
"args": [
"path/to/apprise-mcp/server.py"
]
}
}
}
```
### 2. Cursor IDE
1. Open **Cursor Settings** (`Ctrl + Shift + J` or `Cmd + Shift + J`) -> **Features** -> **MCP**.
2. Click **+ Add New MCP Server**:
* **Name**: `apprise-mcp`
* **Type**: `command`
* **Command**: `python path/to/apprise-mcp/server.py`
3. Hit Save. When the status turns green, Cursor's Composer can ping your phone anytime!
### 3. VS Code (Cline / Roo Code / Continue)
Add the same JSON snippet to your `cline_mcp_settings.json`.
### 4. OpenClaw & Agent Skill Framework
`apprise-mcp` includes a native skill definition package under [`skills/openclaw/SKILL.md`](skills/openclaw/SKILL.md).
Autonomous agents can install it to trigger notifications automatically on task completion or error escalation.
---
## š» Universal CLI for Terminal & Shell Scripts
`apprise-mcp` includes a standalone, zero-dependency CLI tool (`cli.py`) for developers, bash scripts, and headless agents:
```bash
# 1. Send single-channel alert
python cli.py notify -u "tgram://BOT_TOKEN/CHAT_ID" -t "Build Finished" -b "Deployment succeeded."
# 2. Multi-channel parallel broadcast (Telegram + Discord simultaneously)
python cli.py notify \
-u "tgram://BOT_TOKEN/CHAT_ID" \
-u "discord://WEBHOOK_ID/WEBHOOK_TOKEN" \
-t "šØ Critical Production Alert" \
-b "Database memory above 95%."
# 3. JSON Output (optimized for AI agents and automated pipelines)
python cli.py notify -u "tgram://..." -t "Alert" -b "Message" --json
# 4. View popular channel syntax cheatsheet
python cli.py channels
```
---
## š ļø Popular Supported Channels
`apprise-mcp` inherits the full power of [caronc/apprise](https://github.com/caronc/apprise), supporting over **80+ notification services and 160+ URL schemas**.
š **[View Complete List of All 161 Supported Services & URL Schemas](docs/SUPPORTED_CHANNELS.md)**
Pass any combination of URLs, and your agent will broadcast to all of them simultaneously:
| Service | Target URL Format | Example Use Case |
| :--- | :--- | :--- |
| **Telegram** | `tgram://BOT_TOKEN/CHAT_ID` | Personal phone alerts, trading execution bots |
| **Discord** | `discord://WEBHOOK_ID/WEBHOOK_TOKEN` | Developer community channels, build alerts |
| **Slack** | `slack://TokenA/TokenB/TokenC` | Corporate team notifications, incident response |
| **Email (SMTP)** | `mailto://user:pass@smtp.gmail.com?to=boss@work.com` | Official client deliverables, executive briefings |
| **Pushover** | `pover://USER_KEY@TOKEN` | High-priority mobile push notifications |
| **DingTalk (éé)** | `dingtalk://ACCESS_TOKEN` | Enterprise automation in Asia |
| **WeCom (ä¼äøå¾®äæ”)** | `wxwork://CORP_ID/CORP_SECRET/AGENT_ID` | Chinese enterprise workflows |
| **Twilio (SMS)** | `twilio://ACCOUNT_SID:AUTH_TOKEN@FROM_PHONE/TO_PHONE` | Critical server down / phone SMS waking you up |
---
## š§ How the AI Uses It
Once connected, your AI Agent gains access to the `send_notification` tool.
```
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā AI Agent ā
ā (Claude, Cursor, DeepSeek, VS Code, Auto) ā
āāāāāāāāāāāāāāāāāāāāāāāā¬āāāāāāāāāāāāāāāāāāāāāāāā
ā Calls: send_notification(payload)
ā¼
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā Apprise-MCP Server ā
ā (FastMCP + Apprise Engine)ā
āāāāāāāāāāāāāāāā¬āāāāāāāāāāāāāāāā
ā Dispatches simultaneously to:
āāāāāāāāāāāāāāāāā¼āāāāāāāāāāāāāāāā¬āāāāāāāāāāāāāāāā
ā¼ ā¼ ā¼ ā¼
[ Telegram ] [ Discord ] [ Slack ] [ Email ]
(Your Phone) (Dev Channel) (Team Channel) (Client Inbox)
```
**Example Multi-Channel Agent Call:**
```json
{
"service_urls": [
"tgram://BOT_TOKEN/CHAT_ID",
"discord://WEBHOOK_ID/WEBHOOK_TOKEN"
],
"title": "šØ Deploy Successful!",
"body": "Version v1.2.0 has been deployed to production. All 42 tests passed."
}
```
---
## š¤ Acknowledgements & Ecosystem
* Built on top of the battle-tested [caronc/apprise](https://github.com/caronc/apprise) library created by Chris Caron.
* Protocol powered by [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) and [FastMCP](https://github.com/jlowin/fastmcp).
---
## š License
This project is licensed under the [MIT License](LICENSE).
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessOutdated data