Pushpad MCP
OfficialPushpad MCP
Pushpad MCP-сервер для отправки веб-push-уведомлений и управления ресурсами в Pushpad (CRUD-операции над уведомлениями, подписками, проектами и отправителями) с помощью Pushpad API.
Этот проект представляет собой тонкий слой поверх Pushpad API, использующий официальную спецификацию Pushpad OpenAPI и FastMCP для TypeScript.
Безопасность
Использование технологии MCP для взаимодействия с вашим аккаунтом Pushpad может быть связано с рисками.
Этот MCP-сервер предоставляет полный доступ к Pushpad API, который включает необратимые и деструктивные действия (например, обновление, удаление и т.д.). API также может возвращать конфиденциальные данные, такие как ключи push-подписок (Subscriptions API) и VAPID-ключи (Senders API).
Мы рекомендуем использовать соответствующий режим разрешений в вашем агенте и токен Pushpad с ограниченным доступом.
Вы можете изменить режим разрешений на Вручную или установить разрешения allow / deny для различных инструментов, предоставляемых этим MCP-сервером, в настройках вашего агента.
Мы рекомендуем исключить VAPID-ключи, хранящиеся в Senders, из контекста вашего ИИ: вы можете либо использовать токен Pushpad с ограниченным доступом, либо запретить инструменты, дающие доступ к Senders API.
Помните, что токен доступа должен оставаться конфиденциальным и никогда не должен храниться в Git-репозитории.
Related MCP server: mcp-server-digitalocean
Установка
Шаг 1: Настройка токена API в качестве переменной окружения
Сначала необходимо создать новый токен Pushpad: откройте панель управления Pushpad, нажмите на имя вашего аккаунта, затем выберите Access tokens и создайте новый токен.
Затем необходимо сохранить токен Pushpad как переменную окружения. Вы можете задать его глобально на вашем компьютере (~/.bashrc, ~/.zshrc или в другом профиле оболочки), использовать менеджер паролей (например, 1Password CLI), задать его в файле .env для конкретного проекта или добавить непосредственно в файл конфигурации MCP-клиента (например, .mcp.json). Не забудьте добавить .env, .mcp.json или другие файлы, которые могут содержать секрет, в .gitignore.
Шаг 2: Добавление MCP-сервера в вашего ИИ-агента
Локальный MCP-сервер запускается непосредственно вашим MCP-клиентом с использованием настроек, определённых в вашем JSON-файле конфигурации MCP. Точное расположение этого файла и способ его применения зависят от вашего MCP-клиента.
Чтобы включить MCP-сервисы, добавьте запись в блок mcpServers:
{
"mcpServers": {
"pushpad": {
"type": "stdio",
"command": "npx",
"args": ["-y", "pushpad-mcp"],
"env": {
"PUSHPAD_TOKEN": "${PUSHPAD_TOKEN}"
}
}
}
}В приведённом выше примере настроен Pushpad MCP-сервер с ${PUSHPAD_TOKEN}. Замените его на ваш токен Pushpad или используйте специфичный для клиента метод подстановки переменных (если доступен), чтобы не хранить токен в конфигурационном файле.
Шаг 3: Использование Pushpad MCP
Наконец, вы можете взаимодействовать с Pushpad через MCP с помощью вашего ИИ-агента.
Например:
Используй Pushpad, чтобы отправить всем уведомление о XYZ.
Отправь уведомление пользователю 123 с помощью Pushpad.
Сколько кликов получило уведомление 98765?
Какое значение TTL по умолчанию для уведомлений в проекте 456?
MCP-сервер поддерживает полный API Pushpad, включая Notifications API, Subscriptions API, Projects API и Senders API.
Разработка
Если вы хотите внести вклад в этот проект, не стесняйтесь создавать issue или отправлять pull request.
Если вы хотите внести изменения в этот пакет для локальной разработки, вы можете клонировать этот репозиторий и использовать VS Code с dev-контейнером для более простой настройки.
Затем вы можете использовать следующие команды:
npm run buildдля компиляции TypeScript-проектаnpm run startдля запуска MCP-сервераnpm run inspectдля запуска MCP-сервера и его инспекции с помощью@modelcontextprotocol/inspector
Вы можете задать PUSHPAD_TOKEN в файле .env, и он будет прочитан автоматически.
Этот репозиторий также включает Claude Code в dev-контейнере и файл .mcp.json, который можно использовать для тестирования локальной версии этого MCP-сервера. Это полезно только в том случае, если вы планируете вносить изменения в этот пакет и хотите опробовать модифицированную версию перед отправкой pull request.
Лицензия
Этот MCP-сервер выпущен под лицензией с открытым исходным кодом (MIT).
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