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 分