プッシュオーバーMcp
Pushoverを介して通知を送信するためのMCP実装
概要
Pushover-MCPとは?
Pushover-MCPは、Pushoverサービスを通じて通知を送信するために設計された強力な実装です。これにより、開発者はアプリケーションに通知機能を簡単に統合でき、リアルタイムのアラートや更新を可能にします。このツールは、サーバーアラート、アプリケーションのステータス更新、またはその他の重要な通知など、即時のユーザーフィードバックや監視を必要とするアプリケーションに特に便利です。
Pushover-MCPの特徴
- 簡単な統合:Pushover-MCPはさまざまなアプリケーションにシームレスに統合でき、すべてのスキルレベルの開発者にアクセス可能です。
- リアルタイム通知:ユーザーは即時に通知を受け取り、常に最新の情報を把握できます。
- カスタマイズ可能なアラート:開発者は、優先度や音のオプションを設定するなど、アプリケーションのニーズに合わせて通知をカスタマイズできます。
- クロスプラットフォームサポート:Pushover-MCPは異なるプラットフォームで動作し、モバイルデバイス、デスクトップなどに通知を送信できます。
- オープンソース:オープンソースプロジェクトであるため、開発者は必要に応じて機能を貢献、変更、強化できます。
Pushover-MCPの使い方
-
インストール:まず、npmを使用してPushover-MCPパッケージをインストールします:
npm install pushover-mcp
-
セットアップ:インストール後、Pushoverアプリケーションの認証情報を設定する必要があります。これは通常、Pushoverウェブサイトでアプリケーションを作成してAPIトークンを取得することを含みます。
-
通知の送信:以下のコードスニペットを使用して通知を送信します:
const Pushover = require('pushover-mcp'); const pushover = new Pushover({ user: 'YOUR_USER_KEY', token: 'YOUR_API_TOKEN' }); pushover.send({ message: 'こんにちは、これはテスト通知です!', title: 'テスト通知' });
-
カスタマイズ:
priority
、sound
、title
などの追加パラメータを追加することで、通知をカスタマイズしてアラートをニーズに合わせることができます。
よくある質問
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
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:
- An application token from Pushover.net
- 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
- Go to
Cursor Settings
>MCP
- Click
+ Add New MCP Server
- 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
- Name:
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:
- The tool will be listed under
Available Tools
in MCP settings - Agent will automatically use it when relevant
- 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.
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"
]
}
}
}
- 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": {}
}
}
}