Pushover Mcp

建立者ashiknesinashiknesin

一個用於通過 Pushover 發送通知的 MCP 實現

概覽

什麼是 Pushover-MCP?

Pushover-MCP 是一個強大的實現,旨在通過 Pushover 服務發送通知。它允許開發者輕鬆地將通知功能集成到他們的應用程序中,實現實時警報和更新。這個工具對於需要即時用戶反饋或監控的應用程序特別有用,例如伺服器警報、應用程序狀態更新或任何其他關鍵通知。

Pushover-MCP 的特點

  • 簡單集成:Pushover-MCP 可以無縫集成到各種應用程序中,使所有技能水平的開發者都能輕鬆使用。
  • 實時通知:用戶會收到即時通知,確保他們始終獲得最新信息。
  • 可自定義警報:開發者可以根據應用程序的需求自定義通知,包括設置優先級和聲音選項。
  • 跨平台支持:Pushover-MCP 可以在不同平台上運行,允許將通知發送到移動設備、桌面等。
  • 開源:作為一個開源項目,它允許開發者根據需要貢獻、修改和增強功能。

如何使用 Pushover-MCP

  1. 安裝:首先通過 npm 安裝 Pushover-MCP 套件:

    npm install pushover-mcp
    
  2. 設置:安裝後,您需要設置您的 Pushover 應用程序憑證。這通常涉及在 Pushover 網站上創建一個應用程序以獲取您的 API 令牌。

  3. 發送通知:使用以下代碼片段發送通知:

    const Pushover = require('pushover-mcp');
    
    const pushover = new Pushover({
        user: 'YOUR_USER_KEY',
        token: 'YOUR_API_TOKEN'
    });
    
    pushover.send({
        message: '你好,這是一條測試通知!',
        title: '測試通知'
    });
    
  4. 自定義:您可以通過添加額外的參數,如 prioritysoundtitle,來自定義您的通知,以滿足您的需求。

常見問題解答

Pushover 是什麼?

Pushover 是一項服務,允許用戶向他們的設備發送實時通知。它廣泛用於提醒用戶有關重要事件或更新的信息。

Pushover-MCP 是免費使用的嗎?

是的,Pushover-MCP 是一個開源項目,您可以免費使用它。然而,Pushover 本身可能需要在移動設備上進行一次性購買。

我可以在生產環境中使用 Pushover-MCP 嗎?

當然可以!Pushover-MCP 設計用於生產環境,提供可靠的通知發送方式。

Pushover-MCP 支持哪些編程語言?

Pushover-MCP 主要設計用於 Node.js,但可以與任何可以發送 HTTP 請求的應用程序集成。

我如何能為 Pushover-MCP 做貢獻?

您可以通過在 GitHub 上分叉該存儲庫、進行更改並提交拉取請求來為 Pushover-MCP 項目做貢獻。歡迎您的貢獻!

詳細

Pushover MCP

smithery badge

A Model Context Protocol implementation for sending notifications via Pushover.net.

Overview

This MCP enables AI agents to send notifications through Pushover.net. It implements the MCP specification, allowing seamless integration with MCP-compatible AI systems.

Configuration

You'll need:

  1. An application token from Pushover.net
  2. Your user key from Pushover.net

Get these from your Pushover.net dashboard.

Tool Schema

The MCP provides a single tool:

send

Sends a notification via Pushover.

{
  message: string;          // Required: The message to send
  title?: string;          // Optional: Message title
  priority?: number;       // Optional: -2 to 2 (-2: lowest, 2: emergency)
  sound?: string;         // Optional: Notification sound
  url?: string;          // Optional: URL to include
  url_title?: string;   // Optional: Title for the URL
  device?: string;     // Optional: Target specific device
}

Example MCP Tool Call

{
  "name": "send",
  "params": {
    "message": "Hello from AI",
    "title": "AI Notification",
    "priority": 1
  }
}

Installing

Using with Cursor

Method 1: Install Globally

Run the MCP server using npx:

npx -y pushover-mcp@latest start --token YOUR_TOKEN --user YOUR_USER

In your Cursor IDE

  1. Go to Cursor Settings > MCP
  2. Click + Add New MCP Server
  3. Fill in the form:
    • Name: Pushover Notification (or any name you prefer)
    • Type: command
    • Command: npx -y pushover-mcp@latest start --token YOUR_TOKEN --user YOUR_USER

Method 2: Project-specific Configuration

Add an .cursor/mcp.json file to your project:

{
  "mcpServers": {
    "pushover": {
      "command": "npx",
      "args": [
        "-y",
        "pushover-mcp@latest",
        "start",
        "--token",
        "YOUR_TOKEN",
        "--user", 
        "YOUR_USER"
      ]
    }
  }
}

Using the Tool

Once configured, the Pushover notification tool will be automatically available to the Cursor AI Agent. You can:

  1. The tool will be listed under Available Tools in MCP settings
  2. Agent will automatically use it when relevant
  3. You can explicitly ask Agent to send notifications

By default, Agent will ask for approval before sending notifications. Enable "Yolo mode" in settings to allow automatic sending.

Cursor Agent

Using with Roo Code

Access the MCP settings by clicking “Edit MCP Settings” in Roo Code settings or using the “Roo Code: Open MCP Config” command in VS Code's command palette.

{
  "mcpServers": {
    "pushover": {
      "command": "npx",
      "args": [
        "-y",
        "pushover-mcp@latest",
        "start",
        "--token",
        "YOUR_TOKEN",
        "--user", 
        "YOUR_USER"
      ]
    }
  }
}
  1. The Pushover notification tool will be available to Roo Code's AI agents

Note: Replace YOUR_TOKEN & YOUR_USER with your Pushover credentials.

Installing via Smithery

To install Pushover Notification for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @AshikNesin/pushover-mcp --client claude

Development

### Install dependencies
pnpm install

### Build
pnpm build

### Run tests
pnpm test

License

MIT

伺服器配置

{
  "mcpServers": {
    "pushover-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/metorial/mcp-container--ashiknesin--pushover-mcp--pushover-mcp",
        "pnpm run start --token token --user user"
      ],
      "env": {}
    }
  }
}

專案資訊

作者
ashiknesin
建立於
Jul 23, 2025
星標
24
語言
TypeScript

Pushover Mcp 替代方案

若您需要Pushover Mcp 的一些替代方案,我們依分類為您提供相關網站。

一個 TypeScript 實現的模型上下文協議 (MCP) 伺服器,與 PiAPI 的 API 整合。PiAPI 使得用戶能夠直接從 Claude 或任何其他兼容 MCP 的應用程序生成 Midjourney/Flux/Kling/LumaLabs/Udio/Chrip/Trellis 的媒體內容。

APISIX 模型上下文协议 (MCP) 服务器用于将大型语言模型 (LLMs) 与 APISIX 管理 API 连接起来。

MCP伺服器使Claude能夠使用OpenAI的GPT助手

一個為您安裝其他MCP伺服器的MCP伺服器

查看更多 >>