
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 分