Pushpad MCP
OfficialPushpad MCP
Pushpad MCP-Server zum Senden von Web-Push-Benachrichtigungen und Verwalten von Ressourcen auf Pushpad (CRUD-Aktionen für Benachrichtigungen, Abonnements, Projekte und Absender) unter Verwendung der Pushpad API.
Dieses Projekt ist eine dünne Schicht, die auf der Pushpad-API aufbaut und die offizielle Pushpad OpenAPI-Spezifikation sowie FastMCP für TypeScript verwendet.
Sicherheit
Die Verwendung der MCP-Technologie zur Interaktion mit Ihrem Pushpad-Konto kann mit Risiken verbunden sein.
Dieser MCP-Server gewährt vollständigen Zugriff auf die Pushpad-API, einschließlich irreversibler und destruktiver Aktionen (wie Aktualisieren, Löschen usw.). Die API kann auch sensible Daten wie Push-Abonnementschlüssel (Abonnements-API) und VAPID-Schlüssel (Absender-API) zurückgeben.
Wir empfehlen die Verwendung eines geeigneten Berechtigungsmodus in Ihrem Agenten und die Verwendung eines Pushpad-Tokens mit eingeschränktem Zugriff.
Sie können den Berechtigungsmodus in Ihren Agenteneinstellungen auf Manuell ändern oder Erlauben / Verweigern-Berechtigungen für die verschiedenen von diesem MCP-Server bereitgestellten Tools festlegen.
Wir empfehlen, die in den Absendern gespeicherten VAPID-Schlüssel aus Ihrem KI-Kontext auszuschließen: Sie können entweder ein Pushpad-Token mit eingeschränktem Zugriff verwenden oder die Tools verweigern, die Zugriff auf die Absender-API gewähren.
Denken Sie daran, den Zugriffstoken privat zu halten und niemals im Git-Repository zu speichern.
Related MCP server: mcp-server-digitalocean
Installation
Schritt 1: Richten Sie Ihr API-Token als Umgebungsvariable ein
Zuerst müssen Sie einen neuen Pushpad-Token erstellen: Öffnen Sie das Pushpad-Dashboard, klicken Sie auf Ihren Kontonamen, dann auf Zugriffstoken und erstellen Sie einen neuen Token.
Dann müssen Sie den Pushpad-Token als Umgebungsvariable speichern. Sie können ihn global auf Ihrem Rechner setzen (~/.bashrc, ~/.zshrc oder ein anderes Shell-Profil), einen Passwortmanager (wie 1Password CLI) verwenden, ihn in einer projektspezifischen .env-Datei setzen oder direkt zur MCP-Client-Konfigurationsdatei (wie .mcp.json) hinzufügen. Denken Sie daran, .env, .mcp.json oder andere Dateien, die das Geheimnis enthalten könnten, zu .gitignore hinzuzufügen.
Schritt 2: Fügen Sie den MCP-Server zu Ihrem KI-Agenten hinzu
Der lokale MCP-Server wird direkt von Ihrem MCP-Client gestartet, der die in Ihrer MCP-JSON-Konfigurationsdatei definierten Einstellungen verwendet. Der genaue Speicherort dieser Datei und wie sie angewendet wird, hängt von Ihrem MCP-Client ab.
Um die MCP-Dienste zu aktivieren, fügen Sie einen Eintrag zum Block mcpServers hinzu:
{
"mcpServers": {
"pushpad": {
"type": "stdio",
"command": "npx",
"args": ["-y", "pushpad-mcp"],
"env": {
"PUSHPAD_TOKEN": "${PUSHPAD_TOKEN}"
}
}
}
}Das obige Beispiel konfiguriert den Pushpad MCP-Server mit ${PUSHPAD_TOKEN}. Ersetzen Sie ihn durch Ihren Pushpad-Token oder verwenden Sie die clientspezifische Methode der Variablenersetzung (falls verfügbar), um Ihren Token aus der Konfigurationsdatei herauszuhalten.
Schritt 3: Verwenden Sie den Pushpad MCP
Schließlich können Sie über MCP und Ihren KI-Agenten mit Pushpad interagieren.
Zum Beispiel:
Verwenden Sie Pushpad, um allen eine Benachrichtigung über XYZ zu senden.
Senden Sie eine Benachrichtigung an Benutzer 123 mit Pushpad.
Wie viele Klicks hat die Benachrichtigung 98765 erhalten?
Was ist das standardmäßige TTL für Benachrichtigungen in Projekt 456?
Der MCP-Server unterstützt die vollständige Pushpad-API, einschließlich der Benachrichtigungs-API, Abonnements-API, Projekte-API und Absender-API.
Entwicklung
Wenn Sie zu diesem Projekt beitragen möchten, können Sie gerne ein Issue eröffnen oder einen Pull-Request einreichen.
Wenn Sie Änderungen an diesem Paket vornehmen möchten, können Sie für die lokale Entwicklung dieses Repository klonen und VS Code mit einem Dev-Container für eine einfachere Einrichtung verwenden.
Dann können Sie die folgenden Befehle verwenden:
npm run build, um das TypeScript-Projekt zu kompilierennpm run start, um den MCP-Server zu startennpm run inspect, um den MCP-Server zu starten und mit@modelcontextprotocol/inspectorzu inspizieren
Sie können PUSHPAD_TOKEN in einer .env-Datei setzen, und es wird automatisch ausgelesen.
Dieses Repository enthält auch Claude Code im Dev-Container und eine .mcp.json, die Sie verwenden können, um die lokale Version dieses MCP-Servers zu testen. Dies ist nur nützlich, wenn Sie planen, Änderungen an diesem Paket vorzunehmen, und Sie die modifizierte Version testen möchten, bevor Sie einen Pull-Request einreichen.
Lizenz
Dieser MCP-Server wird unter einer Open-Source-Lizenz (MIT) veröffentlicht.
Available Tools
19 toolsnotifications_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
Scored across 19 tools
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.
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.
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.
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
Related MCP Connectors
Send push notifications to iPhone, iPad, Android, Android Auto, and web browsers.
Send yourself a push notification from an AI assistant. No account, one environment variable.
Send, search, and manage notifications, accounts, and push preferences
WhatsApp, Telegram, MAX & SMS for AI agents: send messages, files and bulk mailings via ChatPush
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables 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-
- AlicenseAqualityDmaintenanceEnables managing DigitalOcean cloud resources, including Droplets, databases, domains, and more, via natural language.121MIT
- AlicenseAqualityCmaintenanceSend 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.3298 npm8MIT
- AlicenseNot gradedqualityCmaintenanceEnables 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 npmMIT