Skip to main content
Glama
Pushpad MCP

Pushpad MCP

Official
by pushpad

Pushpad MCP

Servidor MCP de Pushpad para enviar notificaciones web push y gestionar recursos en Pushpad (acciones CRUD sobre notificaciones, suscripciones, proyectos y remitentes) utilizando la API de Pushpad.

Este proyecto es una capa delgada construida sobre la API de Pushpad, utilizando la especificación OpenAPI oficial de Pushpad y FastMCP para TypeScript.

Seguridad

El uso de la tecnología MCP para interactuar con tu cuenta de Pushpad puede conllevar riesgos.

Este servidor MCP otorga acceso completo a la API de Pushpad, lo que incluye acciones irreversibles y destructivas (como actualizar, eliminar, etc.). La API también puede devolver datos sensibles como claves de suscripción push (API de Suscripciones) y claves VAPID (API de Remitentes).

Recomendamos usar un modo de permisos adecuado en tu agente y utilizar un token de Pushpad con acceso restringido.

Puedes cambiar el modo de permisos a Manual o establecer permisos de permitir / denegar para las diferentes herramientas proporcionadas por este servidor MCP en la configuración de tu agente.

Recomendamos excluir las claves VAPID almacenadas en Remitentes de tu contexto de IA: puedes usar un token de Pushpad con acceso restringido o denegar las herramientas que dan acceso a la API de Remitentes.

Recuerda mantener el token de acceso privado y nunca almacenarlo en el repositorio de Git.

Related MCP server: mcp-server-digitalocean

Instalación

Paso 1: Configurar tu Token de API como Variable de Entorno

Primero, necesitas crear un nuevo token de Pushpad: abre el panel de Pushpad, haz clic en tu nombre de cuenta, luego haz clic en Tokens de acceso y crea un nuevo token.

Luego necesitas almacenar el token de Pushpad como una variable de entorno. Puedes configurarlo globalmente en tu máquina (~/.bashrc, ~/.zshrc u otro perfil de shell), usar un gestor de contraseñas (como 1Password CLI), configurarlo en un archivo .env específico del proyecto, o añadirlo directamente al archivo de configuración del cliente MCP (como .mcp.json). Recuerda añadir .env, .mcp.json u otros archivos que puedan incluir el secreto a .gitignore.

Paso 2: Añadir el Servidor MCP a tu Agente de IA

El servidor MCP local se inicia directamente por tu cliente MCP utilizando la configuración definida en tu archivo de configuración JSON de MCP. La ubicación exacta de este archivo y cómo se aplica depende de tu cliente MCP.

Para habilitar los servicios MCP, añade una entrada al bloque mcpServers:

{
  "mcpServers": {
    "pushpad": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "pushpad-mcp"],
      "env": {
        "PUSHPAD_TOKEN": "${PUSHPAD_TOKEN}"
      }
    }
  }
}

El ejemplo anterior configura el servidor MCP de Pushpad con ${PUSHPAD_TOKEN}. Reemplázalo con tu token de Pushpad o utiliza el método específico del cliente de sustitución de variables (si está disponible) para mantener tu token fuera del archivo de configuración.

Paso 3: Usar Pushpad MCP

Finalmente, puedes interactuar con Pushpad usando MCP y tu agente de IA.

Por ejemplo:

Usa Pushpad para enviar a todos una notificación sobre XYZ.

Envía una notificación al usuario 123 usando Pushpad.

¿Cuántos clics recibió la notificación 98765?

¿Cuál es el TTL predeterminado para las notificaciones en el proyecto 456?

El servidor MCP soporta la API completa de Pushpad, incluyendo la API de Notificaciones, API de Suscripciones, API de Proyectos y API de Remitentes.

Desarrollo

Si quieres contribuir a este proyecto, no dudes en abrir un issue o enviar un pull request.

Si quieres hacer cambios en este paquete, para desarrollo local, puedes clonar este repositorio y usar VS Code con un contenedor de desarrollo para una configuración más fácil.

Luego puedes usar los siguientes comandos:

  • npm run build para compilar el proyecto TypeScript

  • npm run start para iniciar el servidor MCP

  • npm run inspect para iniciar el servidor MCP e inspeccionarlo con @modelcontextprotocol/inspector

Puedes configurar PUSHPAD_TOKEN en un archivo .env y se leerá automáticamente.

Este repositorio también incluye Claude Code en el contenedor de desarrollo y un .mcp.json que puedes usar para probar la versión local de este servidor MCP. Esto solo es útil si planeas hacer cambios en este paquete y quieres probar la versión modificada antes de enviar un pull request.

Licencia

Este servidor MCP se publica bajo una licencia de código abierto (MIT).

Available Tools

19 tools
notifications_cancelB

To cancel a scheduled notification, send a DELETE request to /notifications/NOTIFICATION_ID/cancel.

Inputs: notification_id (required).

notifications_createC

To send a web push notification, send a POST request to /projects/PROJECT_ID/notifications.

Inputs: body (required), project_id__path (required), ttl, tags, +14 more. Returns: id, uids, send_at, scheduled

notifications_getA

To get a notification and its stats, send a GET request to /notifications/NOTIFICATION_ID.

Only the notifications created in the last 35 days are available.

Inputs: notification_id (required). Returns: id, ttl, body, tags, +21 more

notifications_listA

To list the latest notifications for your project, send a GET request to /projects/PROJECT_ID/notifications.

Only the notifications created in the last 35 days are available.

The response body will be an array containing objects each representing a notification.

Inputs: project_id (required), page. Returns: result

projects_createA

To create a new project, send a POST request to /projects setting the required attributes.

A project will be created using the provided information.

The response body will contain a JSON object with the attributes of your new project.

Inputs: name (required), website (required), sender_id (required), icon_url, +4 more. Returns: id, name, website, icon_url, +6 more

projects_deleteA

To delete a project, send a DELETE request to /projects/PROJECT_ID.

The project will be deleted asynchronously. The actual processing of the request is performed later.

A successful request will receive a 202 status code with no body in response.

Inputs: project_id (required).

projects_getA

To show information about an individual project, send a GET request to /projects/PROJECT_ID.

Inputs: project_id (required). Returns: id, name, website, icon_url, +6 more

projects_listA

To list all projects in your account, send a GET request to /projects.

The response body will be an array containing objects each representing a project.

Inputs: no named parameters. Returns: result

projects_updateC

To update a project, send a PATCH request to /projects/PROJECT_ID.

The project will be updated using the provided information.

The response body will contain a JSON object with the attributes of your project.

Inputs: project_id (required), name, website, icon_url, +4 more. Returns: id, name, website, icon_url, +6 more

senders_createC

To create a new sender, send a POST request to /senders setting the required attributes.

A sender will be created using the provided information.

The response body will contain a JSON object with the attributes of your new sender.

Inputs: name (required), vapid_public_key, vapid_private_key. Returns: id, name, created_at, vapid_public_key, +1 more

senders_deleteA

To delete a sender, send a DELETE request to /senders/SENDER_ID.

The sender will be permanently deleted.

You cannot delete a sender if it has associated projects.

A successful request will receive a 204 status code with no body in response.

Inputs: sender_id (required).

senders_getC

To show information about an individual sender, send a GET request to /senders/SENDER_ID.

Inputs: sender_id (required). Returns: id, name, created_at, vapid_public_key, +1 more

senders_listB

To list all senders in your account, send a GET request to /senders.

The response body will be an array containing objects each representing a sender.

Inputs: no named parameters. Returns: result

senders_updateC

To update a sender, send a PATCH request to /senders/SENDER_ID.

The sender will be updated using the provided information.

The response body will contain a JSON object with the attributes of your sender.

Inputs: sender_id (required), name. Returns: id, name, created_at, vapid_public_key, +1 more

subscriptions_createA

To create a new subscription, send a POST request to /projects/PROJECT_ID/subscriptions setting the required attributes.

A subscription will be created using the provided information.

The response body will contain a JSON object with the attributes of your new subscription.

This operation is mainly intended to import subscriptions from another service into Pushpad.

This is not the standard way to collect subscriptions: usually you collect them using the JavaScript SDK.

Inputs: endpoint (required), project_id__path (required), uid, auth, +2 more. Returns: id, uid, auth, tags, +5 more

subscriptions_deleteA

To delete a subscription, send a DELETE request to /projects/PROJECT_ID/subscriptions/SUBSCRIPTION_ID.

The subscription will be permanently deleted.

A successful request will receive a 204 status code with no body in response.

Inputs: project_id (required), subscription_id (required).

subscriptions_getA

To show information about an individual subscription, send a GET request to /projects/PROJECT_ID/subscriptions/SUBSCRIPTION_ID.

Inputs: project_id (required), subscription_id (required). Returns: id, uid, auth, tags, +5 more

subscriptions_listA

To list all subscriptions in your project, send a GET request to /projects/PROJECT_ID/subscriptions.

The response body will be an array containing objects each representing a subscription.

Inputs: project_id (required), page, tags[], uids[], +1 more. Returns: result

subscriptions_updateB

To update a subscription, send a PATCH request to /projects/PROJECT_ID/subscriptions/SUBSCRIPTION_ID.

The subscription will be updated using the provided information.

The response body will contain a JSON object with the attributes of your subscription.

Inputs: subscription_id (required), project_id__path (required), uid, tags. Returns: id, uid, auth, tags, +5 more

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 19 tools

    Disambiguation5/5

    Each tool targets a distinct resource-action pair (notifications, subscriptions, projects, senders) with clear CRUD operations. There is no overlap or ambiguity between the tools.

    Naming Consistency5/5

    All tool names follow a consistent plural_noun_verb pattern (e.g., notifications_get, subscriptions_create, projects_delete), making the API surface predictable and easily navigable.

    Tool Count5/5

    With 19 tools covering four distinct resources (notifications, subscriptions, projects, senders), the count is appropriate for a comprehensive push notification service. Each tool has a clear purpose, and the set is neither bloated nor thin.

    Completeness5/5

    All four resources have full CRUD operations (create, get, update, delete, list) with the exception of notifications which also includes cancel. No obvious gaps exist for managing a push notification service.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to manage OneSignal push notifications, email, SMS, and user management through natural language. Supports multi-channel messaging, segmentation, templates, analytics, and iOS Live Activities with 50+ tools for complete OneSignal API coverage.
      1
      -
    • A
      license
      A
      quality
      C
      maintenance
      Send and schedule push notifications across web and mobile app subscribers, build segments and audience groups, and read campaign analytics from your PushEngage account in plain language. Browser-based login, so no API keys go into your client config.
      32
      98 npm
      8
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables an AI assistant to send push notifications to a user's phone through Webhooky endpoints, including choosing sounds and distinguishing accepted-but-undelivered notifications from successful delivery. It also exposes the available notification sounds grouped by meaning.
      150 npm
      MIT