Skip to main content
CardClan has a built-in MCP server. Connect it to your AI assistant and you can manage cards in plain language:
“Send the Holiday Thanks card to everyone in this list tomorrow at 9am, then tell me who opened it on Friday.”
Your assistant works with your CardClan account, workspaces and plan limits, the same as when you use the app.

What you need

  • A CardClan account
  • Your CardClan API key, found in Settings → AI Assistants (MCP). This is the same key used for integrations like Pabbly Connect.
  • An AI assistant that supports remote MCP servers, such as Claude Code, Claude Desktop, Cursor or VS Code
Server URL: https://app.cardclan.io/api/mcpTransport: Streamable HTTP · Auth header: Authorization: Bearer YOUR_API_KEY

Setup

1

Get your API key

In CardClan, open Settings → AI Assistants (MCP). Click Generate API key if you don’t have one yet, then copy it.
2

Add CardClan to your assistant

Choose your client below, or copy the ready-made snippet from the same settings page. The snippet there already includes your key.
3

Try it

Ask something like “What CardClan cards do I have?” Your assistant will call CardClan and answer.
Run in your terminal:
Start claude and run /mcp to confirm cardclan is connected.
ChatGPT connectors and claude.ai web connectors currently require OAuth sign-in, which the CardClan MCP server doesn’t support yet. Use one of the clients above in the meantime.

What you can ask

  • “List my cards in the Holidays folder”
  • “What merge tags does the Welcome card need?”
  • “Give me the share link for the Thank You card”
  • “Send the Welcome card to jane@acme.com (company: Acme) now”
  • “Schedule the Holiday card for these 25 people on Dec 20 at 9am New York time”
  • “Also send last week’s card to Sam”
  • “Send the Partner card to jane@acme.com with her logo https://acme.com/logo.png”
Your assistant first runs a preview: it checks every email address, makes sure each text merge tag has a value, skips people who unsubscribed or already got the card, and shows how many plan recipients the send will use. It should ask you before anything is emailed.
  • “Who opened the Holiday card?”
  • “Did any sends fail? Retry them”
  • “Cancel the scheduled send to bob@acme.com”
  • “How did my cards perform in the last 30 days?”
  • “Create a folder called Q4 Clients and move these three cards into it”
  • “Rename the Holidays folder to Holidays 2026”

Available tools

Image merge tags and the default last page

get_card tells your assistant what kind of value each merge tag needs, and whether the card ends with your workspace’s default last page:
get_card (excerpt)
  • kind: "text" tags are replaced with text. A text tag without a fallback needs a value for every recipient.
  • kind: "image" tags replace an image on the card (image merge tags). Give them an https image URL in send_card, for example "mergeTags": { "companyLogo": "https://acme.com/logo.png" }. Image tags are always optional: if the value is empty, invalid or the image doesn’t load, the recipient sees the card’s original image. Their fallback is always null, because the original image is the fallback.
  • showsWorkspaceLastPage is true when the workspace’s default last page is turned on and not hidden on this card. It is the same for every recipient and takes no merge tag values.

Safety and limits

Your API key gives full access to your CardClan account, including sending email. Keep it private. Don’t commit it to code repositories or paste it into shared documents.
  • You stay in control. Tools that change data or send email are marked as such, and most assistants ask for your approval before running them.
  • Plan limits apply. Every recipient counts against your plan’s recipient limit, exactly like sending from the app. A send that would go over your limit is refused.
  • Workspace access. The assistant can only see workspaces you own or are an active member of.
  • Activity log. Every action taken with your key appears under Settings → AI Assistants (MCP) → Recent activity for 90 days.
  • Rate limit. 120 requests per minute per account.
  • Video cards are still sent from the CardClan app.

Troubleshooting

The claude mcp add ... command is for Claude Code, Anthropic’s command-line tool. Your terminal can’t find it because Claude Code isn’t installed.
  • Using the Claude Desktop app? You don’t need the terminal command. Follow the Claude Desktop tab above instead.
  • Want Claude Code? Install it first (see Claude Code setup), then run the command again.
Claude Desktop connects to CardClan through npx, which comes with Node.js. This error means Claude Desktop can’t find npx, usually because Node.js isn’t installed.
  1. Install the LTS version of Node.js using the macOS or Windows installer from nodejs.org. On a Mac, use the installer rather than Homebrew or nvm, because Claude Desktop can’t see those locations.
  2. Quit Claude Desktop completely (on a Mac, press Cmd+Q) and open it again.
  3. Go to Settings → Developer. cardclan should show as running.
To check that Node.js is installed, run npx --version in a new terminal window. It should print a version number.
Check that the header is exactly Authorization: Bearer YOUR_API_KEY, with no extra spaces or quotes. You can copy the full snippet from Settings → AI Assistants (MCP).
Your account has more than one workspace. Tell the assistant which one to use, for example “use my Marketing workspace”.
The card has text merge tags without a fallback, such as company. Give the assistant a value for each recipient, or add a fallback to the merge tag in the card editor. Image merge tags never cause this error: a recipient without an image URL sees the card’s original image.
The send needs more recipients than your plan has remaining. Send to fewer people or upgrade your plan in Settings → Billing.
Need help? Contact support@cardclan.io.