Pushover Mcp
Un'implementazione MCP per inviare notifiche tramite Pushover
Panoramica
Cos'è Pushover-MCP?
Pushover-MCP è un'implementazione potente progettata per inviare notifiche tramite il servizio Pushover. Consente agli sviluppatori di integrare facilmente le capacità di notifica nelle loro applicazioni, abilitando avvisi e aggiornamenti in tempo reale. Questo strumento è particolarmente utile per applicazioni che richiedono un feedback immediato degli utenti o monitoraggio, come avvisi del server, aggiornamenti sullo stato dell'applicazione o qualsiasi altra notifica critica.
Caratteristiche di Pushover-MCP
- Integrazione Facile: Pushover-MCP può essere integrato senza problemi in varie applicazioni, rendendolo accessibile per sviluppatori di tutti i livelli di abilità.
- Notifiche in Tempo Reale: Gli utenti ricevono notifiche istantanee, assicurando che siano sempre aggiornati con le ultime informazioni.
- Avvisi Personalizzabili: Gli sviluppatori possono personalizzare le notifiche per soddisfare le esigenze della loro applicazione, inclusa la possibilità di impostare priorità e opzioni sonore.
- Supporto Multi-Piattaforma: Pushover-MCP funziona su diverse piattaforme, consentendo l'invio di notifiche a dispositivi mobili, desktop e altro.
- Open Source: Essendo un progetto open-source, consente agli sviluppatori di contribuire, modificare e migliorare la funzionalità secondo necessità.
Come Usare Pushover-MCP
-
Installazione: Inizia installando il pacchetto Pushover-MCP tramite npm:
npm install pushover-mcp
-
Configurazione: Dopo l'installazione, è necessario configurare le credenziali della tua applicazione Pushover. Questo di solito comporta la creazione di un'applicazione sul sito web di Pushover per ottenere il tuo token API.
-
Invio di Notifiche: Usa il seguente frammento di codice per inviare una notifica:
const Pushover = require('pushover-mcp'); const pushover = new Pushover({ user: 'YOUR_USER_KEY', token: 'YOUR_API_TOKEN' }); pushover.send({ message: 'Ciao, questa è una notifica di prova!', title: 'Notifica di Prova' });
-
Personalizzazione: Puoi personalizzare le tue notifiche aggiungendo parametri aggiuntivi come
priority
,sound
etitle
per adattare gli avvisi alle tue esigenze.
Domande Frequenti
Cos'è Pushover?
Pushover è un servizio che consente agli utenti di inviare notifiche in tempo reale ai loro dispositivi. È ampiamente utilizzato per avvisare gli utenti su eventi o aggiornamenti importanti.
Pushover-MCP è gratuito da usare?
Sì, Pushover-MCP è un progetto open-source e puoi usarlo gratuitamente. Tuttavia, Pushover stesso potrebbe richiedere un acquisto una tantum per l'app sui dispositivi mobili.
Posso usare Pushover-MCP in produzione?
Assolutamente! Pushover-MCP è progettato per l'uso in produzione, fornendo un modo affidabile per inviare notifiche.
Quali linguaggi di programmazione supporta Pushover-MCP?
Pushover-MCP è principalmente progettato per essere utilizzato con Node.js, ma può essere integrato con qualsiasi applicazione che può effettuare richieste HTTP.
Come posso contribuire a Pushover-MCP?
Puoi contribuire al progetto Pushover-MCP facendo un fork del repository su GitHub, apportando le tue modifiche e inviando una richiesta di pull. Le tue contribuzioni sono benvenute!
Dettaglio
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
Configurazione Server
{
"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": {}
}
}
}