ntfy MCP server for AI agents

Live

BEARER TOKEN

PUSH NOTIFICATIONS

Communication

ntfy gives your agent push notifications through ntfy: publish messages to a topic with a title, priority, tags, and click URL, poll cached messages, and clear or remove notifications.

  • Per-user credentials: each call uses the actual user's access token, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
ntfy
agent · Acme Q3
Run
Notify me on the deploys topic that the build finished.
S
ntfy_message_publish
210ms
Alerts agent
Published the message to the deploys topic with a title and default priority.
Sources: ntfy topic, deploys
ntfy
1 message
18:29
Message Claude...

Tools your push notifications agent reaches for on ntfy, scoped per user.

CALL ANY TOOL
5 tools for push notifications in ntfy: publish messages to a topic, poll cached messages, clear or remove notifications, and check server health.
ntfy_health_get
Get health
Check that the ntfy server is up. Returns healthy: true when it is. Use this to confirm the server address is right.
Parameters
Name
Type
Required
Description
—
No parameters required
ntfy_message_publish
Publish message
ntfy_messages_poll
Messages poll
ntfy_notification_clear
Clear notification
ntfy_notification_delete
Delete notification
Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// ntfy tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["ntfy"], toolNames: [
    "ntfy_message_publish",
    "ntfy_messages_poll",
    "ntfy_health_get"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Check that the ntfy server is up, then notify me on the deploys topic that the build finished" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["ntfy"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Check that the ntfy server is up, then notify me on the deploys topic that the build finished" }],
  tools,
});

// Execute the tool call with the user's vaulted ntfy access token
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["ntfy"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Check that the ntfy server is up, then notify me on the deploys topic that the build finished" }],
  tools,
});

// Tool call runs with the user's vaulted ntfy access token
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["ntfy"] }, pageSize: 100,
});

const agent = new Agent({
  name: "alerts_agent",
  model: "gemini-2.5-pro",
  instruction: "ntfy tools scoped to this user",
  tools,
});

await agent.run("Check that the ntfy server is up, then notify me on the deploys topic that the build finished");
Try these prompts
Copy any prompt into your agent. Each maps directly to a ntfy tool. Click to copy, paste into your agent, done.
Publish
Copy the prompt
Copied
Notify me on the deploys topic that the build finished.
Copy the prompt
Copied
Publish a high priority message to the alerts topic.
Copy the prompt
Copied
Schedule a reminder message for tomorrow at 9am.
Read messages
Copy the prompt
Copied
Show the messages cached on the deploys topic.
Copy the prompt
Copied
Show messages on alerts since yesterday.
Copy the prompt
Copied
Poll the deploys and alerts topics together.
Clear and check
Copy the prompt
Copied
Mark this notification as read and dismiss it.
Copy the prompt
Copied
Cancel the scheduled message I just created.
Copy the prompt
Copied
Check that the ntfy server is up.
SEE HOW AUTH WORKS
Each user connects their own ntfy access token once, and Scalekit sends it with every call. Tokens stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
ntfy
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
ntfy
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
ntfy
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
ntfy
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other communication connectors.
Engineering Teams
Slack triage
Polls Slack for new messages, classifies bugs and support requests with a LangGraph router, files GitHub issues or Zendesk tickets, and confirms in the thread.
Test other agents
See the same per-user auth pattern across other communication connectors.
ENGINEERING
Slack triage agent
Classify new Slack messages as bugs or support requests, file the GitHub issue or Zendesk ticket, and reply in the thread.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared ntfy access token looks fine in a demo. In production every notification looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared token
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
ntfy today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access ntfy as the user or through a shared token?
As the user. Each user connects their own ntfy access token once, and Scalekit sends it with every call. Audit logs attribute every published message to that user, not a shared service account.
Where is the ntfy access token stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate it, the user reconnects with a new access token. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in ntfy?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example ntfy_messages_poll and ntfy_health_get without ntfy_message_publish, which sends a push notification to a topic, or ntfy_notification_delete, which removes a notification from subscribed clients or cancels a scheduled message. Scalekit also enforces scope checks before every API call.
What happens when a user revokes ntfy access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
Can the agent confirm the ntfy server is up?
Yes. ntfy_health_get returns healthy: true when the ntfy server is up, so an agent can check the server before it publishes with ntfy_message_publish.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""ntfy"": {
""url"": ""https://mcp.scalekit.com/ntfy"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.ntfy]
url = ""https://mcp.scalekit.com/ntfy""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""ntfy"": {
""url"": ""https://mcp.scalekit.com/ntfy"",
""type"": ""http""
}
}
}