Elaan

io.elaan由 elaan.io 发布v0.1.3更新于 Oct 24, 2026

Create Elaan notification types, templates and brands, trigger sends, and debug delivery.

已验证STDIO仅桌面开发者工具沟通与协作

概览

AI 生成的概览

让助手创建和管理 Elaan 的通知类型、模板、品牌与联系人,触发真实发送,并排查投递问题。

可以做什么
该服务器把 Elaan 的通知 API 封装为工具。它覆盖通知类型(列出、获取、创建、更新、删除、恢复)、跨邮件、收件箱和推送的模板(含邮件预览渲染和受影响模板报告)、按租户的品牌,以及带偏好的联系人。它还能向 1 至 100 位收件人触发通知,并查看事件状态、投递日志和汇总统计以进行排查。
适用场景
当你正在构建或维护 Elaan 通知集成,希望定义类型、编写模板、配置品牌,或调查某条消息为何未送达,而不想手动在控制台操作时使用。
运行要求
通过 stdio 在本地运行,首次运行由 npx 获取,因此需要 Node.js。需要控制台创建的服务密钥(sk_...),通过环境变量 ELAAN_API_KEY 提供。自托管部署可设置 ELAAN_API_BASE。需要访问 Elaan API 的网络连接。
安装前请注意
ELAAN_API_KEY 中的服务密钥可访问你的 Elaan 账户,且从环境变量读取。trigger_notification 会向真实收件人发送真实消息。delete_template 为不可恢复的硬删除,而通知类型删除可恢复。SMTP 密码和推送服务账号等传输凭据被刻意不暴露。联系人数据会被读取和写入。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Elaan,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

@elaanio/mcp

A Model Context Protocol server for Elaan, so the tedious half of a notification integration happens in your editor instead of by hand in a console: creating notification types, writing templates for three channels, setting up per-tenant brands, and working out why a message did not arrive.

Documentation: elaan.io/docs.html

Setup

Create a service key (sk_…) in the console, then add the server to your assistant's MCP config. Nothing to install — npx fetches it on first run.

Claude Code — .mcp.json in your project, or ~/.claude.json for every project:

json
{  "mcpServers": {    "elaan": {      "command": "npx",      "args": ["-y", "@elaanio/mcp"],      "env": { "ELAAN_API_KEY": "sk_..." }    }  }}

Cursor — the same block in .cursor/mcp.json. Most other MCP clients take the same shape.

Self-hosting Elaan? Point it at your own install:

json
"env": {  "ELAAN_API_KEY": "sk_...",  "ELAAN_API_BASE": "https://elaan.internal.example.com/v1"}

What it can do

AreaTools
Notification typeslist, get, create, update (channel defaults, variables, opt-out policy), delete, restore
Templateslist, get, create, update, delete across email / inbox / push; preview an email render; report templates affected by a type's variables
Brandslist, create, update (values and sender), delete
Contactslist, get, create, read and set preferences
Sendingtrigger a notification to 1–100 recipients
Debuggingevent status with per-channel outcomes, the delivery log with filters, aggregate stats

Ask for what you want and let it do the fan-out:

Create an order_shipped type that goes to email and the inbox, with an order_id variable, then write both templates using our acme brand.

A customer says they never got their shipping email. Event id is 01J… — what happened?

What it deliberately cannot do

Transport credentials. /v1/email-transport and /v1/push-transport are not exposed at all. They hold SMTP passwords and FCM service accounts, and an agent has no business reading or rotating them. Configure those in the console.

See your API key. It is read from the environment, never accepted as a tool argument, because arguments are model-visible and end up in transcripts.

Note that delete_template is a hard delete with no restore, while delete_notification_type is soft and reversible with restore_notification_type. trigger_notification sends real messages.

Development

bash
pnpm installpnpm --filter @elaanio/mcp buildpnpm --filter @elaanio/mcp test    # spawns the server, speaks JSON-RPC to a stub API

The test drives the real binary over stdio rather than importing the source, which is how it caught a zod v4 behaviour that made every create_notification_type call fail before it left the process.

Licence

MIT

来源:mcp/README.md,提交 0bd10ec

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.3最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分