Ecardwidget Mcp

io.github.eCardWidgetPublished by GitHub account eCardWidgetv0.5.2Updated Oct 24, 2026

Send eCards, run bulk campaigns, and automate recurring cards from your AI assistant.

Overview

AI-generated overview

Official eCardWidget MCP server that lets an AI assistant search and send eCards, manage a directory, and run campaigns and automations in your account.

What you can do
  • Inspect the account and discover settable fields for widgets, eCards, campaigns and automations
  • Search, create, send and delete eCards, including images by URL or base64
  • List, find, add, import, deactivate and delete directory team members
  • List, create, duplicate and delete widgets
  • List and create automations such as birthday, anniversary and onboarding, and list, draft and send campaigns
  • Run guided prompt flows for campaigns, automations, widgets and directory imports
When to use it
Useful when you already have an eCardWidget account and want an assistant to send individual eCards or run bulk and recurring card campaigns without switching to the dashboard. Only the tools your API key is scoped for are registered, so it suits least-privilege setups.
Requirements
Runs locally over stdio via the npm package ecardwidget-mcp (Node.js with npx). Requires a scoped eCardWidget API key, supplied as the ECW_API_KEY environment variable, through the one-click Claude Desktop installer, or saved with the login command. ECW_BASE_URL is optional for custom domains or testing.
Before you install
The API key grants access to your eCardWidget account, so scope it narrowly and keep it out of shared configs. The assistant can send eCards and campaigns, import or deactivate directory members, and delete eCards, widgets and members; destructive tools use a two-step confirmation, and some deletions and gift-card campaigns still need dashboard confirmation. Requests go to the eCardWidget API.

Installation

In SourceWeft

  1. Open Ecardwidget Mcp in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

eCardWidget MCP Server

[npm]

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)

bash
npx ecardwidget-mcp login          # prompts for your key, verifies + saves it locally (0600)claude mcp add ecardwidget -- npx -y ecardwidget-mcp   # no key in the command

The server reads the saved key automatically. (npx ecardwidget-mcp logout removes it.)

Option C — Put the key in your client config (manual)

json
{  "mcpServers": {    "ecardwidget": {      "command": "npx",      "args": ["-y", "ecardwidget-mcp"],      "env": { "ECW_API_KEY": "YOUR_API_KEY" }    }  }}

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

VariableRequiredDefaultDescription
ECW_API_KEYyes—Your scoped API key (used as a Bearer token).
ECW_BASE_URLnohttps://app.ecardwidget.comOverride only for a custom domain / testing.

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

bash
npm installnpm run build          # tsup → dist/index.jsnpm test               # vitestnpm run inspector      # MCP Inspector against the built server (needs ECW_API_KEY)

License

MIT

Source: README.md at commit 148babe

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.5.2LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts