Notify
Transactional email for coding agents: send, test, verify domains, webhooks, logs.
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
notifycx-mcpclaude mcp add notify -e 'NOTIFY_API_KEY=<your notify_api_key>' -- npx -y notifycx-mcp@1.2.3
{
"mcpServers": {
"notify": {
"command": "npx",
"args": [
"-y",
"notifycx-mcp@1.2.3"
],
"env": {
"NOTIFY_API_KEY": "<your notify_api_key>"
}
}
}
}
Variables d'environnement
NOTIFY_API_KEYsecret Notify API key (nk_...). Optional until bootstrap_start/bootstrap_confirm returns one.
Documentation
Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.
Sommaire
notifycx
Official Node/TypeScript client for Notify — a deliberately minimal transactional email API.
Notify sends email with one HTTPS request. You (or your AI) already render the HTML; Notify delivers it. Domain auth (SPF/DKIM/DMARC), logs, and webhooks included.
Pro is $10 for 10,000 emails · Pricing
What this repo is
This repository is the official client (notifycx) and official MCP (notifycx-mcp). It talks to https://notify.cx over HTTPS.
It does not include Notify’s server, AWS SES credentials, or any way to use Notify’s infrastructure without your own API key from the dashboard. Forks cannot send on Notify’s AWS account.
Three ways to send
| Context | Prefer |
|---|---|
| App / CI / production (Node/TS) | npm i notifycx (this package) |
| App / any language | Native fetch / curl — see examples/fetch-send |
| IDE coding agents | notifycx-mcp — npx -y notifycx-mcp with NOTIFY_API_KEY |
First email in minutes
- Create an account at notify.cx and copy an API key.
- Install and send (sandbox first if you have not verified a domain yet):
npm install notifycx
import Notify from 'notifycx'
const notify = new Notify({ apiKey: process.env.NOTIFY_API_KEY! })
// Non-delivering API rehearsal (no SES):
await notify.sendTest({
to: 'you@example.com',
from: 'hello@yourdomain.com',
subject: 'API rehearsal',
html: '<p>Does not deliver</p>',
})
// Production (requires verified domain for custom from):
await notify.send({
to: 'user@example.com',
from: 'Acme <hello@yourdomain.com>',
subject: 'Reset your password',
html: '<p>Click to reset…</p>',
})
Prefer html in new code. message and text are also accepted.
Auth
- Header:
x-api-key(the SDK sets this for you) - Env:
NOTIFY_API_KEY— never commit real keys; never put keys in client bundles - Optional:
NOTIFY_BASE_URL/baseUrlfor local mocks only (defaulthttps://notify.cx)
Responses
Success: { success: true, data: { messageId: "…" } }
Failure: { success: false, error: "…", code: "…" } — the SDK throws NotifyError with status and body.
Security
- Call Notify only from server-side code (Route Handlers, Workers, Actions, backends).
- Prefer domain-locked
sending_accesskeys in apps; usefull_accessfor MCP / dashboard management. - No AWS keys belong in this client. SES runs on Notify’s servers after your authenticated API request.
Native fetch (no SDK)
See examples/fetch-send or:
const res = await fetch('https://notify.cx/api/email/send', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'x-api-key': process.env.NOTIFY_API_KEY,
},
body: JSON.stringify({
to: 'user@example.com',
from: 'noreply@your-verified-domain.com',
subject: 'Hello',
html: '<p>Sent with fetch.</p>',
}),
})
OpenAPI
- Vendored copy:
openapi/openapi.yaml(synced from Notify) - Live: https://notify.cx/openapi.yaml
- Interactive: https://notify.cx/api-docs
MCP for coding agents
npx -y notifycx-mcp
Set NOTIFY_API_KEY in your MCP server env. Details: mcp/README.md · notify.cx/mcp
Links
Develop
npm test
npm run build
See CONTRIBUTING.md and MAINTAINING.md.
Questions fréquentes
Qu'est-ce que Notify ?
Transactional email for coding agents: send, test, verify domains, webhooks, logs.
Comment installer Notify ?
Il s'exécute sur votre machine. Dans Claude Code : claude mcp add notify -e 'NOTIFY_API_KEY=<your notify_api_key>' -- npx -y notifycx-mcp@1.2.3. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour Notify ?
Oui. Il attend NOTIFY_API_KEY, à renseigner dans sa configuration.
Notify est-il open source ?
Oui. Son code est sur GitHub sous licence MIT.
Qui maintient Notify ?
Il est publié par notifycx. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.