# notifyd MCP server

> An AI-operable notification server that manages email, SMS, WhatsApp, push, and in-app messages with built-in retries, failover, and pacing.

- Repository: https://github.com/rmzlb/notifyd
- Page: https://hostedmcp.org/servers/rmzlb/notifyd
- Transport: remote
- Stars: 18
- License: MIT
- Latest version: 0.4.0

## Install

### Claude Code

```sh
claude mcp add --env 'ADMIN_API_KEY=<YOUR_ADMIN_API_KEY>' --env 'DATABASE_URL=<YOUR_DATABASE_URL>' --env 'JWT_SECRET=<YOUR_JWT_SECRET>' notifyd -- docker run -i --rm ghcr.io/rmzlb/notifyd:0.4.0
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "notifyd": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/rmzlb/notifyd:0.4.0"
      ],
      "env": {
        "ADMIN_API_KEY": "<YOUR_ADMIN_API_KEY>",
        "DATABASE_URL": "<YOUR_DATABASE_URL>",
        "JWT_SECRET": "<YOUR_JWT_SECRET>"
      }
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "notifyd": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/rmzlb/notifyd:0.4.0"
      ],
      "env": {
        "ADMIN_API_KEY": "<YOUR_ADMIN_API_KEY>",
        "DATABASE_URL": "<YOUR_DATABASE_URL>",
        "JWT_SECRET": "<YOUR_JWT_SECRET>"
      }
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"notifyd","type":"stdio","command":"docker","args":["run","-i","--rm","ghcr.io/rmzlb/notifyd:0.4.0"],"env":{"ADMIN_API_KEY":"<YOUR_ADMIN_API_KEY>","DATABASE_URL":"<YOUR_DATABASE_URL>","JWT_SECRET":"<YOUR_JWT_SECRET>"}}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "notifyd": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/rmzlb/notifyd:0.4.0"
      ],
      "env": {
        "ADMIN_API_KEY": "<YOUR_ADMIN_API_KEY>",
        "DATABASE_URL": "<YOUR_DATABASE_URL>",
        "JWT_SECRET": "<YOUR_JWT_SECRET>"
      }
    }
  }
}
```

### Codex

```sh
codex mcp add notifyd --env 'ADMIN_API_KEY=<YOUR_ADMIN_API_KEY>' --env 'DATABASE_URL=<YOUR_DATABASE_URL>' --env 'JWT_SECRET=<YOUR_JWT_SECRET>' -- docker run -i --rm ghcr.io/rmzlb/notifyd:0.4.0
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.notifyd]
command = "docker"
args = ["run", "-i", "--rm", "ghcr.io/rmzlb/notifyd:0.4.0"]

[mcp_servers.notifyd.env]
ADMIN_API_KEY = "<YOUR_ADMIN_API_KEY>"
DATABASE_URL = "<YOUR_DATABASE_URL>"
JWT_SECRET = "<YOUR_JWT_SECRET>"
```

### Gemini CLI

```sh
gemini mcp add -s user -e 'ADMIN_API_KEY=<YOUR_ADMIN_API_KEY>' -e 'DATABASE_URL=<YOUR_DATABASE_URL>' -e 'JWT_SECRET=<YOUR_JWT_SECRET>' notifyd docker -- run -i --rm ghcr.io/rmzlb/notifyd:0.4.0
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "notifyd": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/rmzlb/notifyd:0.4.0"
      ],
      "env": {
        "ADMIN_API_KEY": "<YOUR_ADMIN_API_KEY>",
        "DATABASE_URL": "<YOUR_DATABASE_URL>",
        "JWT_SECRET": "<YOUR_JWT_SECRET>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `ADMIN_API_KEY` | yes | yes | Operator key; also the Bearer token for /mcp |
| `DATABASE_URL` | yes | yes | PostgreSQL connection string |
| `JWT_SECRET` | yes | yes | Secret for subscriber tokens |
| `EMAIL_FROM` | no | no | Default sender address |
| `EMAIL_PROVIDER` | no | no | resend \| cloudflare \| smtp \| agentmail \| log |
| `NOTIFYD_URL` | no | no |  |
| `RESEND_API_KEY` | no | no |  |

## FAQ

### What channels does notifyd support?

It supports email, SMS, RCS, WhatsApp, push notifications (APNs, Web Push, FCM), and in-app inbox notifications.

### What are the dependencies for running notifyd?

The only dependency required is a PostgreSQL database.

### Can an AI agent manage my notification instance?

Yes, notifyd exposes operator tasks as MCP tools, allowing AI agents to perform tasks like checking digests, retrying jobs, and managing suppressions.

### How does notifyd handle provider rate limits?

When a provider issues a rate limit, the specific channel pauses for the requested time and resumes based on priority order.
