notify-mcp
Enables AI to send push notifications to your phone via a configurable gateway. It is a thin wrapper that posts to an Apprise push gateway.
README
page-user — proactive push-notification MCP
English | 简体中文
An MCP server that gives any MCP client (Claude Code, Codex CLI, …) a page_user
tool. The AI calls it to proactively push a short message to your phone via
Telegram — when a long task finishes, a run fails, it needs a decision, or you
asked for periodic progress. Each message carries the machine name, which
CLI sent it, a session label, and optional tables (rendered aligned).
Claude Code / Codex ── page_user(message, title?, host?, session?, agent?, table?, tag?) ──►
(just a URL + token in config) │
▼
Cloudflare Worker (remote MCP) ──► Telegram
There are two flavors. The Cloudflare remote MCP is recommended; the original self-hosted Apprise gateway is kept as a legacy alternative (see the end).
Recommended: remote MCP on Cloudflare
The whole server is one Cloudflare Worker in cloudflare/ —
stateless MCP over Streamable HTTP, bearer auth, pushes straight to Telegram.
Nothing runs on your machines; you update every client at once by redeploying.
-
Deploy the Worker and set its secrets — full step-by-step in
cloudflare/README.md. You end up with an endpoint likehttps://<name>.<subdomain>.workers.dev/mcpand a bearerAUTH_TOKEN. -
Register with your CLIs on each machine:
PAGE_USER_TOKEN=<AUTH_TOKEN> ./scripts/install_page_user.shThis removes any old
notifyserver and addspage-userto Claude Code (user scope) and Codex (~/.codex/config.toml), baking in the machine's hostname (X-Host) and the CLI name (X-Agent). Override the endpoint withPAGE_USER_URLif you deployed under a different name. -
Verify:
claude mcp list(should showpage-user … ✔ Connected) andcodex mcp list.
Egress: clients must be able to reach
*.workers.dev(the default Worker domain is commonly blocked on direct connections — a working HTTP(S) proxy in the environment is enough; the CLIs inheritHTTPS_PROXY). If a machine can't reach*.workers.devat all, bind a custom domain to the Worker instead.
The tool
page_user(message, title?, host?, session?, agent?, table?, tag?) — pushes a
formatted notification. Only message is required; host/agent default to the
X-Host/X-Agent headers set at registration, tag selects a recipient group
(TARGETS secret), and table is rows of strings rendered as an aligned
monospace table. The model learns all of this from the tool's MCP schema — it
does not read this README. To change the tool or its guidance, edit
cloudflare/worker.js and npx wrangler deploy; all clients pick it up.
Manual registration
# Claude Code (user scope):
claude mcp add --transport http page-user https://<name>.<subdomain>.workers.dev/mcp \
-H "Authorization: Bearer <AUTH_TOKEN>" -H "X-Host: $(hostname)" -H "X-Agent: claude-code" -s user
# Codex — add to ~/.codex/config.toml:
# [mcp_servers.page-user]
# url = "https://<name>.<subdomain>.workers.dev/mcp"
# http_headers = { "Authorization" = "Bearer <AUTH_TOKEN>", "X-Host" = "<host>", "X-Agent" = "codex" }
Legacy: self-hosted Apprise gateway
The original design is a thin Python MCP wrapper (notify_mcp.py, tool
send_notification) that POSTs to a self-hosted Apprise gateway (server.py),
which forwards to Telegram/Feishu/etc. Use this if you can't or don't want to use
Cloudflare. It is managed with uv:
uv sync --extra gateway # wrapper + apprise
./scripts/start_gateway.sh # run the gateway (needs ./token and ./targets.json)
./scripts/install_mcp.sh # register the `notify` MCP with Claude Code + Codex
Details:
docs/NOTIFY_GATEWAY.md— example gateway deployment (systemd, proxy, Telegram/Feishu).docs/MCP_INTROSPECTION.md— how a client discovers the server's identity and tool.docs/ABOUT.txt— short, human-friendly intro (中文).
Unit tests (legacy Python code)
uv run pytest -q # no network needed
uv run pre-commit run --all-files # ruff format/lint
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.