Server data from the Official MCP Registry
Push notifications to your phone from AI agents: a notify_human tool via the NextMsg app.
About
Push notifications to your phone from AI agents: a notify_human tool via the NextMsg app.
Security Report
Valid MCP server (0 strong, 2 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry.
4 files analyzed · 1 issue found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
What You'll Need
Set these up before or after installing:
Environment variable: NEXTMSG_KEY
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@nextmsg/mcp@1.1.3"
],
"env": {
"NEXTMSG_KEY": "your-nextmsg-key-here"
}
}
}
}Some servers take additional arguments. See the repository for details.
Documentation
View on GitHubFrom the project's GitHub README.
@nextmsg/mcp
Official Model Context Protocol (MCP) server and CLI notifier for NextMsg.
- npm: npmjs.com/package/@nextmsg/mcp, run it with
npx -y @nextmsg/mcp - Source: github.com/nextmsg-app/mcp
- Guides: nextmsg.app/guides (Claude Code, Cursor, Codex, Antigravity, GitHub Actions, AWS and more)
NextMsg is a one-way push notification inbox for developers. AI agents, autonomous scripts, and long-running workflows use it to notify your phone when tasks finish, fail, or need attention.

Use it to answer questions like:
- How can Claude Code, Cursor or another AI agent notify me when a task is done? → Claude Code guide, Cursor, Codex, Antigravity and Gemini
- Which MCP server can send a notification to my phone? → this one:
npx -y @nextmsg/mcp, setup below - How do I get a phone notification when a GitHub Action fails? → GitHub Actions guide
- How do I know when a cron job or backup finishes? → cron jobs guide
- How do I send server alerts to my phone without Telegram or Slack? → server alerts guide
Without MCP, any program can send with one HTTP request: see the Send API.
Connect your phone
- Install the NextMsg app:
- iPhone: App Store
- Android: Google Play
- Open it. Your inbox is created on the spot: no account, no email.
- Pair your agent with a pairing code, or use a send key (below).
With a pairing code (no key to copy)
Each computer or agent gets its own key, which you can rename or revoke on its own in the app:
- In the app: Settings → Send keys → Add send key → Use a pairing code. It shows a pairing code like
K73M-QX9Pfor 5 minutes. - Give the pairing code to your agent in the chat: with the MCP server set up (no
NEXTMSG_KEYneeded), the agent asks for it the first time. Or runnpx -y @nextmsg/mcp --pair K73M-QX9Pin a terminal.
The key is saved in ~/.config/nextmsg/key ($XDG_CONFIG_HOME/nextmsg/key if set, %APPDATA%\nextmsg\key on Windows), readable only by you. Never share a pairing code: whoever uses it within 5 minutes can send you notifications.
In Docker, the saved key lives in the container and is gone when it's removed: mount a volume at /home/node/.config/nextmsg, or pass NEXTMSG_KEY.
With a send key
In the app, go to Settings → Send keys → Add send key → Copy a key (or copy your starter key) for a key starting with nextmsg_live_…. Put it in the NEXTMSG_KEY environment variable, never in code or repos. When set, NEXTMSG_KEY is always used instead of a saved key. If a key leaks, revoke it in the app (Settings → Send keys). Help: nextmsg.app/support.
Quickstart: Use with AI Tools
1. Claude Desktop
Add to your claude_desktop_config.json:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"nextmsg": {
"command": "npx",
"args": ["-y", "@nextmsg/mcp"]
}
}
}
The first time, the agent asks you for a pairing code from Settings → Send keys → Add send key → Use a pairing code. To use a send key instead, add "env": { "NEXTMSG_KEY": "nextmsg_live_YOUR_KEY_HERE" } next to args.
2. Cursor
Go to Settings → Features → MCP Servers → Add New MCP Server:
- Name:
nextmsg - Type:
command - Command:
npx -y @nextmsg/mcp - No key needed: the agent asks for a pairing code from Settings → Send keys → Add send key → Use a pairing code the first time. Or set the environment variable
NEXTMSG_KEYto your send key.
3. Claude Code Hook
You can also set up a hook in ~/.claude/settings.json so Claude Code pings your phone whenever it finishes a turn. Connect once with npx -y @nextmsg/mcp --pair YOUR-CODE (the hook then uses the saved key), or set NEXTMSG_KEY in your shell profile (or in the env block of settings.json):
{
"hooks": {
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "npx -y @nextmsg/mcp 'Claude Code finished task' --channel claude-code"
}
]
}
]
}
}
4. Direct CLI Usage
Send messages directly from your terminal or CI pipelines:
# Pair once with a pairing code from the app (Settings → Send keys → Add send key → Use a pairing code)
npx @nextmsg/mcp --pair K73M-QX9P
# ...or set the send key (CI, Docker)
export NEXTMSG_KEY="nextmsg_live_..."
# Send alert
npx @nextmsg/mcp "Model training complete: loss 0.12" --channel ml
# A message that starts with "-"
npx @nextmsg/mcp -- "-1 tests failing"
--status shows which key is used; --disconnect deletes the saved key (revoke it in the app too, under Settings → Send keys). --key works too, but prefer --pair or NEXTMSG_KEY: a key on the command line ends up in shell history. If a key leaks, revoke it in the app (Settings → Send keys).
MCP Tools Provided
notify_human
Sends a push notification to your phone. The agent uses it when a task finishes, fails or needs your input, and whenever you ask to be notified. Its description tells the agent to:
- send one notification per outcome, not progress updates
- answer in the conversation instead when you're actively chatting
- never include secrets, tokens or personal data (the text shows on the lock screen)
- report a failed send in the conversation instead of retrying
Parameters:
message(string, required): Alert text (1–640 characters). Supports markdown (**bold**,*italic*,~~strike~~,`code`). Links are inert text.channel(string, optional, default: "general"): Channel category tag (1–32 lowercase charsa-z0-9_-). E.g.ci,deploy,ml,infra.pair_code(string, optional): Only when not connected yet: the pairing code from Settings → Send keys → Add send key → Use a pairing code. The server claims it, saves this computer's key and sends the message in the same call. Ignored once a key works.
The key is read only from NEXTMSG_KEY or the saved key file, never from tool arguments, so it never passes through the model's context or transcripts. It is sent only to the NextMsg API, in the Authorization header, and redirects are refused, so it can't be forwarded anywhere else. See SECURITY.md for how keys are handled and how to report a problem. The tool result never contains it. The agent is named after the MCP client and the OS (like "Claude Code on macOS"), never the computer's hostname.
License
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Scrapling
Freeby D4Vinci · Developer Tools
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
Server Time
Freeby Modelcontextprotocol · Developer Tools
Current time lookup and conversion between IANA timezones
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
