Ray notifications
io.github.gege-mn/ray-mcp
Serveur MCP OK 21 outils
À quoi ça sert
Permet d'envoyer des notifications avec `send_notification`, d'en suivre l'état avec `get_send_status`, de lister les canaux et de gérer des modèles de message : `create_template`, `publish_template`, `archive_template`.
Résumé rédigé par L’Atlas le 29 nov. 2026, reformulé seulement à partir de la description de l’auteur et des outils vus par notre test. Texte de l’auteur ci-dessous.
Send email, push, Slack, Discord, Telegram and webhook notifications and manage templates with Ray.
Fiche technique
- Auteur
- gege-mn (espace de noms du registre)
- Dépôt
- github.com/gege-mn/ray-mcp
- Site
- ray.gege.mn/docs
- Version
- 0.1.0
- Transport
- Streamable HTTP stdio
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://ray-api.gege.mn/mcp Streamable HTTP en-tête requis :
Authorization - Paquets
- @gege-mn/ray-mcp 0.1.0 npm stdio
- Outils
- 21
- Catégories
- Messagerie et communication
- Comparatifs
- Serveurs MCP pour Slack, Serveurs MCP pour Discord, Serveurs MCP pour Telegram
- Dernière mise à jour
- 14 sept. 2026
- Publication
- 14 sept. 2026
Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/io.github.gege-mn/ray-mcp)<a href="https://latlas.dev/mcp/io.github.gege-mn/ray-mcp"><img src="https://latlas.dev/badge/fiche/io.github.gege-mn/ray-mcp.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://ray-api.gege.mn/mcp
- Dernier résultat
- OK 28 nov. 2026, 08:28
- Temps de réponse
- 2 803 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- ray 0.1.0
- Outils
- 21
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 08:28 | OK | 2 803 ms | 21 |
Outils exposés (21, réponse à tools/list, 28 nov. 2026)
whoami
Who am I
Identify the API key this connection uses (GET /me): `tenantId` (the workspace), `apiKeyId` and `scopes`. Write tools need the `write` scope; call this to check before attempting them.
Aucun paramètre.
get_usage
Get plan and usage
The workspace's plan, subscription status and this calendar month's usage against the monthly quota (GET /billing/subscription). `used`/`remaining` are null on unmetered plans. On a hard-capped plan, sends beyond the quota fail with HTTP 402 quota_exceeded.
Aucun paramètre.
list_channels
List channels
List the delivery channels configured in this workspace (GET /channels). Call this FIRST before sending: each entry's `id` is the `channelConfigId` for send_notification and test_send_template, `kind` is the channel type (ses_email, smtp_email, fcm_push, slack_webhook, discord_webhook, telegram_bot, twilio_sms, sendsms_mn, generic_webhook), `templateKind` is the template channelKind it accepts, and `recipientSchema` is the exact JSON Schema of the `recipient` it expects. Channels and their provider credentials are set up in the Ray dashboard, not through this API; if the list is empty, ask the user to add one there.
Aucun paramètre.
send_notification
Send notification
Send a notification (POST /send; needs a `write`-scoped key). Returns `{ sendId }` with HTTP 202: delivery is asynchronous, so check the outcome with get_send_status. Use exactly one mode: 1. Single: `channelConfigId` + `recipient`. 2. Fan-out: `channelConfigId` + `targets` (1-1000 `{ recipient, externalUserId? }`), one channel, one sendId. 3. Multi-channel: `deliveries` (1-10, each with its own `channelConfigId`, `recipient` and `templateId` or `content`) for ONE person over several channels; add `feed` + `externalUserId` for a single in-app feed entry. 4. Feed-only: `feed` (with `title`) + `externalUserId` and no channel: an in-app notification only. In modes 1-2 give exactly one of `templateId` (a published template, plus `params`) or inline `content`; in mode 3 that choice is made per delivery. Get channel ids and each recipient shape from list_channels first. Pass `idempotencyKey` whenever a retry must not deliver twice.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| channelConfigId | string | non | Modes 1-2: the channel to send through — an `id` from list_channels. Not allowed together with `deliveries`. |
| recipient | object | non | Mode 1: the single recipient. Mutually exclusive with `targets`. Channel-specific delivery target. Its shape depends on the kind of the chosen channel (list_channels returns each channel's exact `recipientSchema`): ses_email / smtp_email → `{ email, name?, cc?: [{ email, name? }], bcc?: [...], from… |
| targets | array<object> | non | Mode 2: fan-out to 1-1000 recipients over ONE channel, sharing one sendId. Mutually exclusive with `recipient`. |
| deliveries | array<object> | non | Mode 3: the same notification to ONE person over several channels (e.g. push + email), max 10. Each entry has its own channel, recipient and content source. Do not combine with top-level channelConfigId/recipient/targets/templateId/content. |
| templateId | string | non | Modes 1-2: a PUBLISHED template to render (see list_templates / publish_template). Exactly one of `templateId` or `content`. Its channelKind must match the channel's `templateKind`. |
| content | object | non | Inline message content, used INSTEAD of `templateId` (give exactly one of the two). Shape by channel kind: ses_email / smtp_email → `{ subject, bodyHtml, bodyText }`; fcm_push → `{ title, body, imageUrl?, data?: { [key]: string } }`; slack_webhook → `{ text }` (Slack mrkdwn); discord_webhook → `{ c… |
| params | object | non | Values for the template's `{{placeholders}}`. Any JSON: strings, numbers, booleans, arrays and nested objects (arrays/objects drive `{{#section}}…{{/section}}` blocks). Missing required params are rejected with a 400 naming them. |
| logTitle | string | non | Feed/log title for inline `content` sends only (template sends take it from the template). Placeholders allowed. |
| logDescription | string | non | Feed/log description for inline `content` sends only. Placeholders allowed. |
| feed | object | non | Create exactly ONE in-app feed entry for `externalUserId` (read back with list_feed_notifications). `title`/`description` default to the rendered template text; `title` is required for a feed-only send (mode 4). |
| externalUserId | string | non | Your own id for the end user. Required with `feed`; keys their in-app feed. |
| showInFeed | boolean | non | Legacy modes 1-2 flag: also add a feed entry for each target that has an externalUserId. Prefer `feed`. Not valid with `deliveries`. |
| trackClicks | boolean | non | Email channels only: rewrite links in bodyHtml so clicks are counted (read with get_click_stats). Default false. |
| campaignId | string | non | Free-form campaign id used to group click stats across sends. |
| notBefore | string | non | Schedule delivery for later: ISO 8601 datetime with offset, e.g. "2026-09-15T09:00:00+08:00". Omit to send now. |
| priority | enum: "high" | "low" | non | "high" (default) for transactional messages; "low" for marketing/bulk so it never delays transactional sends. |
| idempotencyKey | string | non | Sent as the Idempotency-Key header. Retrying with the same key and same arguments returns the original sendId without sending again (24h window); the same key with different arguments fails with 409. Use a fresh unique value (e.g. a UUID) per logical notification. |
get_send_status
Get send status
Delivery status of a send (GET /sends/{id}): `aggregate` counts per status over the whole send (pending, claimed, delivered, failed_retryable, failed_terminal, suppressed) plus one page of per-recipient delivery rows including provider errors. Right after sending, rows are usually `pending`; check again after a few seconds. Feed-only sends have no rows. For more rows, pass the returned `nextCursor` as `cursor`.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| sendId | string | oui | The `sendId` returned by send_notification or test_send_template. |
| cursor | string | non | `nextCursor` from the previous page. |
| limit | integer | non | Rows per page (default 50, max 200). |
list_templates
List templates
List message templates (GET /templates): id, name, folder, channelKind, and `publishedVersionId` (null = never published, so it cannot be sent by templateId yet). Archived templates are hidden unless `includeArchived` is true. Use get_template for content and required params.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| folder | string | non | Only templates in this folder. |
| includeArchived | boolean | non | Include archived templates. Default false. |
get_template
Get template
Get one template with its published version and its current draft (GET /templates/{id}): content, logTitle/logDescription, `requiredParams` a send must supply, and paramOverrides. Read this before update_template_draft, which needs the full body.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| templateId | string | oui | The template id (UUID). |
create_template
Create template
Create a template (POST /templates; write scope). `channelKind` is permanent and must match the channels you'll send through (list_channels `templateKind`). It is saved as an unpublished draft unless `publish: true`; sending by templateId needs a published version (publish_template). Names are unique per workspace including archived templates: a collision returns 409, so unarchive_template the old one instead. Returns `{ id, requiredParams }`. Designed (drag-and-drop) email templates can only be made in the dashboard.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| name | string | oui | Template name, unique per workspace (archived templates included). |
| folder | string | non | Optional folder path for organisation, e.g. "billing". |
| channelKind | enum: "email_html" | "fcm_basic" | "slack_text" | "discord_text" | "telegram_text" | "sms_text" | "webhook_json" | oui | Which channel family the template renders for. Must match the `templateKind` of the channels you will send through (list_channels). Can't be changed after creation. |
| content | object | oui | Channel-shaped template body; the shape is fixed by `channelKind`: email_html → `{ subject, bodyHtml, bodyText }`; fcm_basic → `{ title, body, imageUrl?, data?: { [key]: string } }`; slack_text → `{ text }`; discord_text → `{ content }` (max 2000 chars); telegram_text → `{ text, disableLinkPreview?… |
| logTitle | string | oui | Short title shown in the in-app feed and delivery logs, e.g. "Invoice {{number}} is due". Placeholders allowed. |
| logDescription | string | oui | One-line description for the in-app feed and delivery logs. Placeholders allowed. |
| paramOverrides | object | non | Per-param metadata keyed by param name: `{ optional?: boolean, description?: string }`. Mark a placeholder optional so sends may omit it. |
| publish | boolean | non | true = publish this version immediately so sends by templateId use it. Default false (saved as draft). |
update_template_draft
Update template draft
Replace a template's draft (PATCH /templates/{id}; write scope). This is a full replacement, not a partial patch: pass content, logTitle, logDescription and paramOverrides as they should end up (get_template first). `name`, `folder` and `channelKind` are required for validation but not changed (channelKind must equal the original). Live sends keep using the published version until you publish, either with `publish: true` here or publish_template. Fails on archived templates.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| templateId | string | oui | The template id (UUID). |
| name | string | oui | Template name, unique per workspace (archived templates included). |
| folder | string | non | Optional folder path for organisation, e.g. "billing". |
| channelKind | enum: "email_html" | "fcm_basic" | "slack_text" | "discord_text" | "telegram_text" | "sms_text" | "webhook_json" | oui | Which channel family the template renders for. Must match the `templateKind` of the channels you will send through (list_channels). Can't be changed after creation. |
| content | object | oui | Channel-shaped template body; the shape is fixed by `channelKind`: email_html → `{ subject, bodyHtml, bodyText }`; fcm_basic → `{ title, body, imageUrl?, data?: { [key]: string } }`; slack_text → `{ text }`; discord_text → `{ content }` (max 2000 chars); telegram_text → `{ text, disableLinkPreview?… |
| logTitle | string | oui | Short title shown in the in-app feed and delivery logs, e.g. "Invoice {{number}} is due". Placeholders allowed. |
| logDescription | string | oui | One-line description for the in-app feed and delivery logs. Placeholders allowed. |
| paramOverrides | object | non | Per-param metadata keyed by param name: `{ optional?: boolean, description?: string }`. Mark a placeholder optional so sends may omit it. |
| publish | boolean | non | true = publish this version immediately so sends by templateId use it. Default false (saved as draft). |
publish_template
Publish template
Publish a template's current draft as its new live version (POST /templates/{id}/publish; write scope). Sends by templateId use it immediately. Fails if there is no draft or the template is archived.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| templateId | string | oui | The template id (UUID). |
archive_template
Archive template
Archive a template (POST /templates/{id}/archive; write scope). Sends that reference it fail until it is restored with unarchive_template; its name stays reserved meanwhile. Confirm with the user first if it may be in production use.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| templateId | string | oui | The template id (UUID). |
unarchive_template
Unarchive template
Restore an archived template (POST /templates/{id}/unarchive; write scope). This is how to reclaim a name held by an archived template instead of creating a new one.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| templateId | string | oui | The template id (UUID). |
test_send_template
Test-send template
Send a real test of a template's PUBLISHED version to one recipient (POST /templates/{id}/test-send; write scope). It goes through the provider for real, so use a recipient the user controls. Test sends don't count toward the monthly quota (a small daily allowance applies instead) and never appear in feeds. Returns `{ sendId }` for get_send_status.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| templateId | string | oui | The template id (UUID). |
| channelConfigId | string | oui | Channel to test through (from list_channels); its templateKind must match the template's channelKind. |
| recipient | object | oui | Channel-specific delivery target. Its shape depends on the kind of the chosen channel (list_channels returns each channel's exact `recipientSchema`): ses_email / smtp_email → `{ email, name?, cc?: [{ email, name? }], bcc?: [...], from?: { email?, name? } (per-send sender override; omitted fields fa… |
| params | object | non | Values for the template's `{{placeholders}}`. Any JSON: strings, numbers, booleans, arrays and nested objects (arrays/objects drive `{{#section}}…{{/section}}` blocks). Missing required params are rejected with a 400 naming them. |
list_feed_notifications
List feed notifications
Read one end user's in-app notification feed (GET /notifications): the entries created by sends with `feed` or `showInFeed`. This is what an in-app inbox would show, not delivery status (use get_send_status for that). Paginate by passing `nextCursor` back as `cursor`.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| externalUserId | string | oui | The end user whose feed to read (the `externalUserId` used when sending). |
| templateId | string | non | Only entries from this template. |
| channelConfigId | string | non | Only entries whose first delivery used this channel. |
| after | string | non | Only entries created after this ISO 8601 UTC datetime (e.g. "2026-09-01T00:00:00Z"). |
| before | string | non | Only entries created before this ISO 8601 UTC datetime. |
| cursor | string | non | `nextCursor` from the previous page. |
| limit | integer | non | Entries per page (default 50, max 200). |
get_click_stats
Get click stats
Email link click counts grouped by destination URL (GET /clicks) for a `sendId`, a `campaignId`, or both (at least one is required). Only links from email sends made with `trackClicks: true` are counted.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| sendId | string | non | A sendId from send_notification. |
| campaignId | string | non | The `campaignId` passed to send_notification, to total clicks across many sends. |
list_webhooks
List webhooks
List the workspace's outbound event webhooks (GET /tenant-webhooks): url, subscribed events, enabled flag and delivery health (consecutiveFailures, lastError). Signing secrets are never returned.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| includeArchived | boolean | non | Include deleted (archived) webhooks. Default false. |
get_webhook
Get webhook
Get one outbound webhook (GET /tenant-webhooks/{id}) including its delivery health (consecutiveFailures, lastDeliveryAt, lastFailureAt, lastError).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| webhookId | string | oui | The webhook id (UUID). |
create_webhook
Create webhook
Create an outbound webhook that Ray POSTs signed event payloads to (POST /tenant-webhooks; write scope; Pro plan or higher, otherwise 403). The URL must be public HTTPS. The response contains the signing `secret` exactly once: show it to the user to store (e.g. as an env var), since it can't be read again, only rotated with update_webhook. Read the `webhooks` docs page for the signature scheme.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| name | string | oui | Label for the webhook, e.g. "Production delivery events". |
| url | string | oui | Public HTTPS endpoint that will receive the events. |
| events | array<enum: "notification.delivered" | "notification.failed_terminal" | "send.completed"> | oui | Events to receive: "notification.delivered", "notification.failed_terminal" (one per recipient), and "send.completed" (once per send, with status totals). |
update_webhook
Update webhook
Change a webhook (PATCH /tenant-webhooks/{id}; write scope). Only the fields you pass change; pass at least one. `rotateSecret: true` issues a new signing secret, returned once in the response, and the old secret stops verifying immediately, so the receiving service must be updated at the same time.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| webhookId | string | oui | The webhook id (UUID). |
| name | string | non | New label. |
| url | string | non | New public HTTPS endpoint. |
| events | array<enum: "notification.delivered" | "notification.failed_terminal" | "send.completed"> | non | Replaces the subscribed events. Events to receive: "notification.delivered", "notification.failed_terminal" (one per recipient), and "send.completed" (once per send, with status totals). |
| enabled | boolean | non | false pauses deliveries without deleting the webhook. |
| rotateSecret | boolean | non | true rotates the signing secret (new secret returned once; old one invalid immediately). |
delete_webhook
Delete webhook
Delete (archive) a webhook so it receives no more events (DELETE /tenant-webhooks/{id}; write scope). It cannot be restored through the API; confirm with the user first.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| webhookId | string | oui | The webhook id (UUID). |
read_docs
Read Ray docs
Read Ray's documentation as markdown. With no `slug` it returns the index (llms.txt) listing every page; then pass a page slug, i.e. the path after /docs/ without `.md`, such as `sending`, `templates`, `idempotency`, `errors`, `rate-limits`, `webhooks`, `status-and-feeds` or `channels/telegram`. Use it for anything the tool descriptions don't cover.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| slug | string | non | Page slug like "sending" or "channels/push-fcm". Omit for the index of all pages. |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://ray-api.gege.mn/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http ray-mcp https://ray-api.gege.mn/mcpCustomize > Connectors > + Add > Add custom connector ; Name : ray-mcp ; URL : https://ray-api.gege.mn/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : ray-mcp ; Server URL : https://ray-api.gege.mn/mcp ; Create as a plugin{
"mcpServers": {
"ray-mcp": {
"url": "https://ray-api.gege.mn/mcp"
}
}
}{
"mcpServers": {
"ray-mcp": {
"type": "http",
"url": "https://ray-api.gege.mn/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"ray-mcp": {
"url": "https://ray-api.gege.mn/mcp"
}
}
}{
"mcpServers": {
"ray-mcp": {
"httpUrl": "https://ray-api.gege.mn/mcp"
}
}
}[mcp_servers.ray-mcp]
url = "https://ray-api.gege.mn/mcp"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
Ray notifications · L’Atlas · Test du
[Ray notifications — L’Atlas](https://latlas.dev/mcp/io.github.gege-mn/ray-mcp)Source : Registre officiel MCP · relevé le 2 déc. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.