# Ray notifications [Health: Active]

**Category:** 💬 Communication  
**Repository:** https://github.com/gege-mn/ray-mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 134  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/ray-notifications

## Description
Send email, push, Slack, Discord, Telegram and webhook notifications and manage templates with Ray.

## Tools
Capabilities this server exposes over MCP:

- **whoami** — Shows the workspace, key id and scopes of the API key in use.
- **get_usage** — Plan, subscription status and this month's usage against the quota.
- **list_channels** — Configured channels with their ids and the recipient shape each accepts. Call first.
- **send_notification** — Sends a notification (single, fan-out, multi-channel or feed-only). Needs `write`.
- **get_send_status** — Delivery status of a send, with per-recipient rows.
- **list_templates** — Lists message templates.
- **get_template** — One template with its published version and draft.
- **create_template** — Creates a template, optionally publishing it. Needs `write`.
- **update_template_draft** — Replaces a template's draft. Needs `write`.
- **publish_template** — Publishes a template's draft as the live version. Needs `write`.
- **archive_template** — Archives a template. Needs `write`.
- **unarchive_template** — Restores an archived template. Needs `write`.
- **test_send_template** — Sends a real test of a published template to one recipient. Needs `write`.
- **list_feed_notifications** — Reads one end user's in-app notification feed.
- **get_click_stats** — Email link click counts for a send or campaign.
- **list_webhooks** — Lists outbound event webhooks and their delivery health.
- **get_webhook** — One outbound webhook.
- **create_webhook** — Creates an outbound webhook; returns its signing secret once. Needs `write`.
- **update_webhook** — Changes a webhook or rotates its secret. Needs `write`.
- **delete_webhook** — Deletes a webhook. Needs `write`.
- **read_docs** — Reads Ray's documentation as markdown.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "ray-notifications": {
    "command": "npx",
    "args": ["-y","@gege-mn/ray-mcp"],
    "env": {
      "RAY_API_KEY": "",
      "RAY_MCP_URL": ""
    }
  }
}
```

**Requires environment variables:** `RAY_API_KEY`, `RAY_MCP_URL` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What the Ray notifications MCP server does

The Ray notifications MCP server gives an MCP client access to a Ray workspace through Ray's notification delivery API. Ray supports configured delivery channels including email through Amazon SES or SMTP, Firebase push, Slack, Discord, Telegram, SMS through Twilio or sendsms.mn, generic webhooks, and an in-app notification feed. The channel credentials themselves must be configured in Ray's dashboard; they cannot be created through MCP.

Notification sending can target one recipient, fan out to multiple recipients, use multiple channels, or write only to the in-app feed. Delivery results can be inspected afterward, including individual recipient rows. Read-only operations cover workspace identity, API-key scopes, plan details, current-month quota usage, configured channels, feed notifications, email click counts, templates, and webhook health.

## How it works

The Ray notifications MCP server is available in two connection modes with the same tool set. A hosted connection uses `https://ray-api.gege.mn/mcp` over Streamable HTTP and passes the API key in an `Authorization: Bearer` header. The local npm package starts `npx -y @gege-mn/ray-mcp` as a stdio process and bridges requests to that hosted endpoint using `RAY_API_KEY`.

The local package is a thin bridge rather than a separate implementation of Ray's API. Ray supplies the current tool list, descriptions, validation, scope checks, rate limits, and quota enforcement. The available tools may therefore change when the hosted service adds tools. Read-only tools are marked for clients that use MCP annotations, while archive and delete operations are marked as destructive.

## Setup and configuration

Create an API key in the Ray dashboard and keep it out of source control. A `read` scope covers status, templates, usage, and documentation. Sending notifications, changing templates, and managing webhooks require `write`. Configure at least one channel in the dashboard before attempting to send.

For local use, provide `RAY_API_KEY`, which must contain a Ray key beginning with `ck_live_`. Node.js 18 or newer is required. `RAY_MCP_URL` can override the default hosted endpoint for staging or local development. Hosted clients do not need the npm bridge; they need support for Streamable HTTP and custom authorization headers.

The README provides configurations for Claude Desktop, Claude Code, Cursor, VS Code with GitHub Copilot, Windsurf, Codex, Zed, and other clients that support stdio or Streamable HTTP. A client-specific setup may store the key in an environment variable or prompt for it instead of placing it directly in configuration.

## Tools and capabilities

The Ray notifications MCP server exposes tools in several groups:

- `list_channels` identifies channel IDs and the recipient format each accepts; it should be called before sending.
- `send_notification` sends single, fan-out, multi-channel, or feed-only notifications, while `get_send_status` checks delivery results.
- Template tools create, inspect, draft, publish, archive, restore, and test-send message templates.
- `list_feed_notifications` reads an end user's in-app feed, and `get_click_stats` reports email link clicks for a send or campaign.
- Webhook tools list, inspect, create, update, rotate secrets for, and delete outbound event webhooks.
- `whoami`, `get_usage`, and `read_docs` expose identity, subscription and quota information, and Ray documentation.

Creating or changing templates and webhooks, sending notifications, and test-sending templates require the `write` scope. Webhook creation returns its signing secret only once.

_Full upstream README: https://allmcps.com/mcp/ray-notifications/readme_

