ntfy MCP server
59 operations0 webhooks
Push notifications with ntfy on ntfy.sh or a self-hosted server - publish messages and file attachments to topics, poll cached messages, update, clear and delete message sequences, manage the account (tokens, synced subscriptions, topic reservations, phone numbers, emails, settings, billing, web push), and administer users, topic access and tiers.
Try ntfy with your agent
Connect ntfy, then paste this into Claude, ChatGPT or Cursor. For ideas from other apps, see the use cases.
Using Corsair, show me what you can do in ntfy on my account, then run one read-only example and show me the result.
ntfy tools and triggers
Tools are what your agent can do in ntfy through Corsair's MCP server. Triggers are the ntfy events a routine can start from.
Users
- CreateWrite
Admin: create a user with a password or bcrypt hash and an optional tier
users.create
- Create TokenWrite
Admin: create an access token for a user (returned once)
users.createToken
- DeleteDestructive
Admin: delete a user and their tokens and grants
users.delete
- Delete TokenDestructive
Admin: revoke one of a user's access tokens
users.deleteToken
- Grant AccessWrite
Admin: grant a user (or "*" everyone) read/write/deny access to a topic or pattern
users.grantAccess
- ListRead-only
Admin: list users (or one by username) with role, tier and topic grants
users.list
- List TokensRead-only
Admin: list a user's access tokens
users.listTokens
- Reset AccessDestructive
Admin: remove a user's topic grants (one topic or all)
users.resetAccess
- Reset PasswordDestructive
Admin: make a password reset link for a user, optionally emailing it
users.resetPassword
- UpdateWrite
Admin: change a user's password or tier
users.update
Account
- Change PasswordDestructive
Change the signed-in account password; the old one stops working
account.changePassword
- CreateWrite
Sign up a new user on a server with signup enabled (anonymous call)
account.create
- DeleteDestructive
Delete the signed-in account, its tokens and reservations, confirmed with the current password
account.delete
- LoginWrite
Sign in with username:password and get a new session token
account.login
- Request Password ResetDestructive
Email a password reset link to the account (server needs email sending)
account.requestPasswordReset
- Reset PasswordWrite
Set a new password with the token from a reset link
account.resetPassword
- Update SettingsWrite
Change account preferences: language, date/time format and notification sound, minimum priority, auto-delete
account.updateSettings
- UsageRead-only
Read the account view: tier limits, messages/emails/calls used and remaining, and the daily reset time
account.usage
Messages
- ClearWrite
Mark a message as read and dismissed on subscribers (sends a message_clear event)
messages.clear
- DeleteDestructive
Delete a message by sequence id, sending a delete event to subscribers; the cache entry is removed
messages.delete
- PollRead-only
Read cached messages from one or more topics, optionally including scheduled ones, with since/filters
messages.poll
- SendDestructive
Publish a notification to a topic; every subscriber gets a push, so the send cannot be undone
messages.send
- Send FileDestructive
Upload a file as a message attachment (PUT /{topic}); every subscriber gets a push, so the send cannot be undone
messages.sendFile
- UpdateDestructive
Publish a new version of a message under an existing sequence id; the server keeps both versions and notifies again
messages.update
Server
- ConfigRead-only
Read the server feature flags: login, signup, payments, calls, emails, reservations, web push
server.config
- HealthRead-only
Read server health (healthy flag and role)
server.health
- MetricsRead-only
Read Prometheus metrics as text (servers with metrics enabled)
server.metrics
- ReadyRead-only
Read whether the server is ready for traffic (load balancer check)
server.ready
- StatsRead-only
Read server-wide totals: message count and rate per second
server.stats
- VersionRead-only
Read the server version, commit and build date
server.version
Billing
- Cancel SubscriptionDestructive
Cancel the paid subscription at the end of the period
billing.cancelSubscription
- Create Portal SessionWrite
Get a Stripe billing portal URL for the account
billing.createPortalSession
- Create SubscriptionDestructive
Start a paid subscription; returns a Stripe checkout URL
billing.createSubscription
- TiersRead-only
List the paid tiers with their prices and limits, plus the free tier (servers with payments only)
billing.tiers
- Update SubscriptionDestructive
Switch the paid subscription to another tier or interval (charges or prorates)
billing.updateSubscription
Emails
- AddDestructive
Add an email address to the account and send it a verification link
emails.add
- DeleteDestructive
Remove an email address from the account
emails.delete
- Resend VerificationDestructive
Send the verification link for a pending email address again
emails.resendVerification
- Set PrimaryWrite
Make a verified email address the primary one
emails.setPrimary
- VerifyWrite
Confirm an email address with the token from its verification link
emails.verify
Tiers
- CreateWrite
Admin: create a tier with message, email, call, reservation and attachment limits
tiers.create
- DeleteDestructive
Admin: delete a tier that no user is on
tiers.delete
- ListRead-only
Admin: list tiers with their limits and user counts
tiers.list
- UpdateWrite
Admin: change a tier's limits
tiers.update
Phone Numbers
- AddWrite
Add a phone number to the account with the code it received
phoneNumbers.add
- DeleteDestructive
Remove a verified phone number from the account
phoneNumbers.delete
- Send VerificationDestructive
Send a verification code to a phone number by SMS or call (needs a tier with calls)
phoneNumbers.sendVerification
Subscriptions
- AddWrite
Add a topic subscription to the account (synced to the web app and phone apps)
subscriptions.add
- DeleteWrite
Remove a synced topic subscription from the account
subscriptions.delete
- UpdateWrite
Change a synced subscription's display name
subscriptions.update
Tokens
- CreateWrite
Create an access token for the signed-in account (returned once, tk_...)
tokens.create
- DeleteDestructive
Revoke an access token (the given one, or the one making the call)
tokens.delete
- UpdateWrite
Change an access token's label or expiry
tokens.update
Reservations
- AddWrite
Reserve a topic for the account and set what everyone else may do on it
reservations.add
- DeleteDestructive
Release a reserved topic, optionally deleting its cached messages
reservations.delete
Web Push
- SubscribeWrite
Register or update a browser push subscription for topics
webPush.subscribe
- UnsubscribeWrite
Remove a browser push subscription
webPush.unsubscribe
Files
- DownloadRead-only
Download a message attachment stored on the server (/file/{id}) and return the file
files.download
Topics
- Check AuthRead-only
Check that the credential may read the topic(s); 200 with success true, 401/403 otherwise
topics.checkAuth
Connect ntfy to Claude, ChatGPT or Cursor
- 1
Connect ntfy in Corsair
Add your ntfy API key once in Corsair. Corsair stores the credential encrypted and makes the ntfy API calls for your agent, so it never goes into a prompt or a config file. Connect ntfy
If your link lets the agent add apps, you can skip this: it gives you a sign-in link the first time it needs ntfy. On a ChatGPT personal plan, connect ntfy here first.
- 2
Add Corsair's MCP server to your agent
Every client uses the same address:
https://mcp.corsair.dev/mcpOpen Plugins → Add → Add custom connector, name it Corsair, paste the address, select Continue, then Add.Add a custom MCP server with the address and choose OAuth. Personal plans get read tools only.Add to CursorOr add this to~/.cursor/mcp.json. Cursor opens Corsair to sign in the first time it connects.{ "mcpServers": { "corsair": { "url": "https://mcp.corsair.dev/mcp" } } }Run this, then run/mcpin Claude Code to sign in.claude mcp add --transport http corsair https://mcp.corsair.dev/mcpCodex, Gemini CLI, VS Code, Zed and other clients with OAuth sign-in work the same way. Clients without it, such as GitHub Copilot's coding agent, use a link's own address and an API key. Setup for every client
- 3
Sign in and choose what needs your approval
Your client opens Corsair to sign in. Pick a link: the apps your agent can use and a mode that decides what it may do without asking. In the default Cautious mode, ntfy's read and write operations run right away and its 22 destructive operations wait for your approval. Strict mode asks before every write and refuses destructive operations, and Read mode allows reads only.
FAQ
Install corsair and @corsair-dev/ntfy, add the ntfy plugin, and connect with an API key. Then call methods like corsair.ntfy.api.account.changePassword() from your app. Corsair keeps each tenant isolated.
Yes. ntfy requires an API key from your ntfy account or developer dashboard. Create credentials with access that matches what you automate, then paste them into Corsair or connect through managed auth in Hub.
Yes. One Corsair client can hit ntfy, GitHub, Notion, Stripe, and the rest. Trigger ntfy from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.
Teams use Corsair for push notifications with ntfy on ntfy.sh or a self-hosted server - publish messages and file attachments to topics, poll cached messages, update, clear and delete message sequences, manage the account (tokens, synced subscriptions, topic reservations, phone numbers, emails, settings, billing, web push), and administer users, topic access and tiers. Common builds include sync jobs, admin tooling, and agents that call ntfy APIs from your backend.
The SDK is open source. Self-host and you pay Corsair nothing for the integration layer. Hub bills for hosted auth and execution, not per ntfy API call. Hub has a generous free tier. For hobby projects you can probably run the whole thing on free. Paid plans start to matter with more tenants or heavier traffic.
We maintain @corsair-dev/ntfy in the open repo. When ntfy ships API changes, upgrade the package. Your call sites stay typed. You should not need to rewrite the integration layer each time.
No. Corsair does not read your ntfy data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store ntfy data on your behalf.
Yes. Add https://mcp.corsair.dev/mcp as a custom connector or MCP server in Claude, ChatGPT, Cursor, VS Code, Claude Code, Codex or any client that supports remote MCP servers with OAuth sign-in, then sign in to Corsair. On ChatGPT personal plans, custom servers currently get read tools only.
Yes. Put ntfy on a link in Strict mode and every write waits for your approval, while destructive actions are refused. The default Cautious mode asks only before the 22 destructive ntfy operations. You can change a link's mode at hub.corsair.dev/me.