ntfy-mcp AGENTS.md

ntfy-mcp AGENTS.md is an instructions file for Codex, OpenCode from TadMSTR/ntfy-mcp. It costs 307 tokens per session, scanned A, original, MIT.

Project instructions for ntfy-mcp, a server that sends push notifications through ntfy, a notification service that can be self-hosted or used at ntfy.sh.

In plain words
What is it for?
Use it to send notifications with titles, priorities, tags, Markdown, links, icons, and optional private-topic authentication.
Why use it?
They explain the available notification command and configuration, so an agent can send messages without guessing the server settings.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/tadmstr/ntfy-mcp/agents-md
Clone the repo
git clone --depth 1 https://github.com/TadMSTR/ntfy-mcp

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ntfy-mcp AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/tadmstr/ntfy-mcp/agents-md.svg)](https://agentmods.dev/instructions/tadmstr/ntfy-mcp/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/tadmstr/ntfy-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/tadmstr/ntfy-mcp/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 307 This file is loaded in full into every session.
When invoked 307 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00307 $0.00307
Opus 5 $0.00153 $0.00153
Sonnet 5 $0.00061 $0.00061
Haiku 4.5 $0.00031 $0.00031

Measured 5d ago against content hash 0f54093ac6fe, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

ntfy-mcp AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 45 lines

What it actually says

ntfy-mcp

FastMCP server for ntfy push notifications. Single write-only tool.

What it does

Publishes notifications to an ntfy server (self-hosted or ntfy.sh) with support for title, priority, tags, Markdown, click URL, and icon.

Tools

  • send_notification(message, topic?, title?, priority?, tags?, markdown?, click?, icon?) — Publishes to the configured ntfy server. Uses NTFY_DEFAULT_TOPIC if no topic is provided.

Structure

src/
  __init__.py
  server.py              FastMCP server — exposes send_notification tool
  tools/
    notifications.py     send_notification_handler() — httpx POST to ntfy
tests/                   pytest tests
requirements.txt
requirements-dev.txt

Configuration

Env var Default Purpose
NTFY_URL (required) ntfy server base URL (e.g. https://ntfy.sh)
NTFY_DEFAULT_TOPIC Default publish topic
NTFY_TOKEN Auth token for private topics
MCP_PORT 8484 MCP server port

Testing

pip install -r requirements-dev.txt
pytest

Git workflow

Branch before editing — do not commit directly to main.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 45 lines · 307 tokens per session scan A 0f54093ac6fe

Subscribe to this mod's changes

ntfy-mcp AGENTS.md is an instructions file published in the GitHub repository TadMSTR/ntfy-mcp (0 stars, last pushed 1mo ago), licensed MIT. It adds 307 tokens to every session, about $0.0015 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories