Pushover Mcp
Una implementación de MCP para enviar notificaciones a través de Pushover
Resumen
¿Qué es Pushover-MCP?
Pushover-MCP es una poderosa implementación diseñada para enviar notificaciones a través del servicio Pushover. Permite a los desarrolladores integrar fácilmente capacidades de notificación en sus aplicaciones, habilitando alertas y actualizaciones en tiempo real. Esta herramienta es particularmente útil para aplicaciones que requieren retroalimentación inmediata del usuario o monitoreo, como alertas de servidor, actualizaciones de estado de la aplicación o cualquier otra notificación crítica.
Características de Pushover-MCP
- Integración Fácil: Pushover-MCP se puede integrar sin problemas en varias aplicaciones, lo que lo hace accesible para desarrolladores de todos los niveles de habilidad.
- Notificaciones en Tiempo Real: Los usuarios reciben notificaciones instantáneas, asegurando que siempre estén actualizados con la información más reciente.
- Alertas Personalizables: Los desarrolladores pueden personalizar las notificaciones para adaptarse a las necesidades de su aplicación, incluyendo la configuración de prioridades y opciones de sonido.
- Soporte Multiplataforma: Pushover-MCP funciona en diferentes plataformas, permitiendo que las notificaciones se envíen a dispositivos móviles, escritorios y más.
- Código Abierto: Al ser un proyecto de código abierto, permite a los desarrolladores contribuir, modificar y mejorar la funcionalidad según sea necesario.
Cómo Usar Pushover-MCP
-
Instalación: Comienza instalando el paquete Pushover-MCP a través de npm:
npm install pushover-mcp
-
Configuración: Después de la instalación, necesitas configurar las credenciales de tu aplicación Pushover. Esto generalmente implica crear una aplicación en el sitio web de Pushover para obtener tu token de API.
-
Envío de Notificaciones: Usa el siguiente fragmento de código para enviar una notificación:
const Pushover = require('pushover-mcp'); const pushover = new Pushover({ user: 'TU_CLAVE_DE_USUARIO', token: 'TU_TOKEN_DE_API' }); pushover.send({ message: '¡Hola, esta es una notificación de prueba!', title: 'Notificación de Prueba' });
-
Personalización: Puedes personalizar tus notificaciones añadiendo parámetros adicionales como
priority
,sound
ytitle
para adaptar las alertas a tus necesidades.
Preguntas Frecuentes
¿Qué es Pushover?
Pushover es un servicio que permite a los usuarios enviar notificaciones en tiempo real a sus dispositivos. Se utiliza ampliamente para alertar a los usuarios sobre eventos o actualizaciones importantes.
¿Es Pushover-MCP gratuito para usar?
Sí, Pushover-MCP es un proyecto de código abierto y puedes usarlo de forma gratuita. Sin embargo, Pushover en sí puede requerir una compra única para la aplicación en dispositivos móviles.
¿Puedo usar Pushover-MCP en producción?
¡Absolutamente! Pushover-MCP está diseñado para uso en producción, proporcionando una forma confiable de enviar notificaciones.
¿Qué lenguajes de programación soporta Pushover-MCP?
Pushover-MCP está diseñado principalmente para su uso con Node.js, pero puede integrarse con cualquier aplicación que pueda realizar solicitudes HTTP.
¿Cómo puedo contribuir a Pushover-MCP?
Puedes contribuir al proyecto Pushover-MCP bifurcando el repositorio en GitHub, realizando tus cambios y enviando una solicitud de extracción. ¡Tus contribuciones son bienvenidas!
Detalle
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
Configuración del Servidor
{
"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": {}
}
}
}