
Ecardwidget Mcp
io.github.eCardWidget由 GitHub 帳號 eCardWidget 發布v0.5.2更新於 Oct 24, 2026
Send eCards, run bulk campaigns, and automate recurring cards from your AI assistant.
概覽
eCardWidget 官方 MCP 伺服器,讓 AI 助理在你的帳號中搜尋與寄送電子賀卡、管理通訊錄,並執行大量寄送活動與自動化。
- 可以做什麼
- 檢視帳號資訊並查詢小工具、電子賀卡、活動與自動化可設定的欄位
- 搜尋、建立、寄送與刪除電子賀卡,圖片可用網址或 base64 提供
- 列出、尋找、新增、批次匯入、停用與刪除通訊錄成員
- 列出、建立、複製與刪除小工具
- 列出並建立生日、週年紀念、到職等自動化,以及列出、建立草稿與寄送活動
- 使用內建的引導式提示流程完成活動、自動化、小工具與通訊錄匯入
- 適用情境
- 適合已有 eCardWidget 帳號、想讓助理直接寄送單張賀卡或執行大量與週期性賀卡活動,而不必切換到後台的情況。伺服器只註冊 API 金鑰授權範圍內的工具,方便以最小權限使用。
- 執行需求
- 透過 npm 套件 ecardwidget-mcp 以 stdio 在本機執行(需 Node.js 與 npx)。需要一把限定權限的 eCardWidget API 金鑰,可透過 ECW_API_KEY 環境變數、Claude Desktop 一鍵安裝檔或 login 指令儲存提供。ECW_BASE_URL 為選用項目,用於自訂網域或測試。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Ecardwidget Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
eCardWidget MCP Server
The official Model Context Protocol server for eCardWidget. Let an AI assistant (Claude Desktop, Claude Code, Cursor, …) work in your eCardWidget account — search and send eCards, manage your directory, list campaigns/widgets/automations — using an API key you generate and scope yourself.
The assistant can only ever do what your API key permits. On startup the server asks the API what the key is allowed to do and registers only the tools that key is scoped for. All scope enforcement, throttling, and auditing happen server-side.
Quick start
First, generate a scoped API key in your eCardWidget dashboard: Settings → Developers → API Keys. Grant only the areas you want the assistant to touch. Then pick whichever install fits your client:
Option A — Claude Desktop (one click)
Download ecardwidget-mcp.mcpb from the latest release
and open it. Claude Desktop shows an install dialog that asks you for your API key (stored in your OS
keychain) — no config files, no commands.
Option B — Sign in once, then a short command (Claude Code / Cursor / any client)
The server reads the saved key automatically. (npx ecardwidget-mcp logout removes it.)
Option C — Put the key in your client config (manual)
Restart your client. It connects and shows the tools your key is scoped for. Precedence: an explicit
ECW_API_KEY env var always wins over the saved login credential.
Configuration
Tools
All tools are namespaced ecw_*; only those your key is scoped for are registered.
- Introspection & discovery:
ecw_whoami,ecw_describe_fields(what fields you can set on a widget / eCard / campaign / automation — synced from the OpenAPI spec) - eCards:
ecw_search_ecards,ecw_get_widget_ecards,ecw_create_ecard(image via URL or base64),ecw_send_ecard,ecw_delete_ecard - Directory:
ecw_list_team_members,ecw_find_team_member,ecw_upsert_team_member,ecw_import_team_members,ecw_deactivate_team_member,ecw_delete_team_member - Widgets:
ecw_list_widgets,ecw_create_widget,ecw_duplicate_widget,ecw_delete_widget - Automations:
ecw_list_automations,ecw_create_automation(birthday / anniversary / onboarding) - Campaigns:
ecw_list_campaigns,ecw_create_campaign(draft),ecw_send_campaign
Destructive tools (delete, send campaign) use a two-step confirmation — call once for a preview + a one-time token, then again with the token to execute. Deleting automations/campaigns and sending gift-card campaigns require confirmation in the dashboard.
Guided flows (prompts)
The server ships prompts — guided, multi-step flow templates your client surfaces as
slash-commands/suggestions: run_campaign, setup_automation, spin_up_widget, import_directory
(each shown only if your key is scoped for it). It also hands the assistant a compact overview of the
object model and the core flows at connect, so it understands how widgets, eCards, campaigns,
automations, and the directory fit together.
Ask naturally, e.g. "Send a birthday eCard from our Thank-You widget to [email protected]".
Security
See SECURITY.md. In short: least-privilege scoped keys, server-side enforcement is the real guarantee, destructive actions require a two-step confirmation, and the API key is never logged.
Development
License
MIT
來源:README.md,提交 148babe
工具
0版本歷史
1- v0.5.2最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分