Pushpad MCP
OfficialPushpad MCP
Pushpad MCPサーバーは、ウェブプッシュ通知の送信とPushpad上のリソース管理(通知、購読、プロジェクト、送信者のCRUD操作)をPushpad APIを使用して行います。
このプロジェクトは、公式のPushpad OpenAPI仕様とFastMCP for TypeScriptを使用して、Pushpad API上に構築された薄いレイヤーです。
セキュリティ
MCP技術を使用してPushpadアカウントとやり取りすることにはリスクが伴う可能性があります。
このMCPサーバーはPushpad APIへのフルアクセスを提供し、元に戻せない破壊的なアクション(更新、削除など)を含みます。また、APIはプッシュ購読キー(Subscriptions API)やVAPIDキー(Senders API)などの機密データを返す可能性があります。
エージェントで適切な権限モードを使用し、アクセス制限されたPushpadトークンを使用することをお勧めします。
エージェント設定で権限モードを手動に変更するか、このMCPサーバーが提供するさまざまなツールに対して許可/拒否の権限を設定できます。
送信者に保存されているVAPIDキーをAIコンテキストから除外することをお勧めします。アクセス制限された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サーバーをAIエージェントに追加する
ローカルの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を使用する
最後に、MCPとAIエージェントを使用してPushpadとやり取りできます。
例:
Pushpadを使用して、全員にXYZに関する通知を送信する。
Pushpadを使用してユーザー123に通知を送信する。
通知98765は何回クリックされましたか?
プロジェクト456の通知のデフォルトTTLは何ですか?
MCPサーバーは、Notifications API、Subscriptions API、Projects API、Senders APIを含むPushpad API全体をサポートしています。
開発
このプロジェクトに貢献したい場合は、遠慮なくIssueを開くかプルリクエストを送信してください。
このパッケージに変更を加えたい場合、ローカル開発のためにこのリポジトリをクローンし、VS Codeをdev containerとともに使用するとセットアップが簡単になります。
その後、以下のコマンドを使用できます:
npm run buildTypeScriptプロジェクトをコンパイルするnpm run startMCPサーバーを起動するnpm run inspectMCPサーバーを起動し、@modelcontextprotocol/inspectorで検査する
.envファイルにPUSHPAD_TOKENを設定すると、自動的に読み取られます。
このリポジトリには、devコンテナ内のClaude Codeと、このMCPサーバーのローカルバージョンを試すために使用できる.mcp.jsonも含まれています。これは、このパッケージに変更を加える予定があり、プルリクエストを送信する前に修正版を試したい場合にのみ役立ちます。
ライセンス
この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