Back to Browse

Mcp MCP Server

Developer ToolsLow Risk10.0MCP RegistryLocal
Free

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

10.0
Low Risk10.0Low Risk

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.

file_system

Check that this permission is expected for this type of plugin.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

Shell Command Execution

Runs commands on your machine. Be cautious — only use if you trust this plugin.

What You'll Need

Set these up before or after installing:

Optional. Your NextMsg send key (nextmsg_live_...) from the app, Settings > Send keys. Without it, the agent asks for a pairing code from Settings > Send keys > Add send key > Use a pairing code the first time.Required

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 GitHub

From the project's GitHub README.

@nextmsg/mcp

npm test license @nextmsg/mcp MCP server – quality and maintenance score on Glama NextMsg MCP on mcprush

Official Model Context Protocol (MCP) server and CLI notifier for NextMsg.

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.

NextMsg demo: send a push notification from curl or Claude Code to your phone

Use it to answer questions like:

Without MCP, any program can send with one HTTP request: see the Send API.


Connect your phone

  1. Install the NextMsg app:
  2. Open it. Your inbox is created on the spot: no account, no email.
  3. 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:

  1. In the app: Settings → Send keys → Add send key → Use a pairing code. It shows a pairing code like K73M-QX9P for 5 minutes.
  2. Give the pairing code to your agent in the chat: with the MCP server set up (no NEXTMSG_KEY needed), the agent asks for it the first time. Or run npx -y @nextmsg/mcp --pair K73M-QX9P in 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_KEY to 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 chars a-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

MIT

Reviews

No reviews yet

Be the first to review this server!