loading…
Search for a command to run...
loading…
Enables management of AI-powered email marketing automation, including subscriber segments, campaigns, and templates. It allows users to generate email sequence
Enables management of AI-powered email marketing automation, including subscriber segments, campaigns, and templates. It allows users to generate email sequences with AI and track detailed analytics through natural language commands.
Official MCP server for Sequenzy, the AI-powered email marketing platform.
Connect Sequenzy to Claude Desktop, Claude Code, Codex, Cursor, Windsurf, VS Code Copilot, OpenClaw, and other MCP clients so your AI assistant can manage email operations with structured tools instead of hand-written API calls.
The easiest setup path is the Sequenzy wizard:
npx @sequenzy/setup
The wizard opens the browser login flow, creates a personal API key, detects supported AI clients, and configures them automatically when possible.
All stdio MCP clients use the same command:
npx-y @sequenzy/mcpSEQUENZY_API_KEY=seq_user_your_key_hereOptional environment variables:
SEQUENZY_API_URL - Sequenzy API base URL. Defaults to https://api.sequenzy.com.SEQUENZY_APP_URL - Sequenzy dashboard base URL used by app URL helpers. Defaults to https://sequenzy.com.Add this to your Claude Desktop config:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json{
"mcpServers": {
"sequenzy": {
"command": "npx",
"args": ["-y", "@sequenzy/mcp"],
"env": {
"SEQUENZY_API_KEY": "seq_user_your_key_here"
}
}
}
}
Restart Claude Desktop after editing the config.
claude mcp add --scope user --env=SEQUENZY_API_KEY=seq_user_your_key_here sequenzy -- npx -y @sequenzy/mcp
On native Windows, wrap npx with cmd /c:
claude mcp add --scope user --env=SEQUENZY_API_KEY=seq_user_your_key_here sequenzy -- cmd /c npx -y @sequenzy/mcp
For a shared project config, use .mcp.json:
{
"mcpServers": {
"sequenzy": {
"command": "npx",
"args": ["-y", "@sequenzy/mcp"],
"env": {
"SEQUENZY_API_KEY": "seq_user_your_key_here"
}
}
}
}
codex mcp add sequenzy --env SEQUENZY_API_KEY=seq_user_your_key_here -- npx -y @sequenzy/mcp
codex mcp list
Manual Codex config in ~/.codex/config.toml:
[mcp_servers.sequenzy]
command = "npx"
args = ["-y", "@sequenzy/mcp"]
[mcp_servers.sequenzy.env]
SEQUENZY_API_KEY = "seq_user_your_key_here"
Add this to ~/.cursor/mcp.json:
{
"mcpServers": {
"sequenzy": {
"command": "npx",
"args": ["-y", "@sequenzy/mcp"],
"env": {
"SEQUENZY_API_KEY": "seq_user_your_key_here"
}
}
}
}
Use the same JSON shape as Cursor.
~/Library/Application Support/Windsurf/mcp.json%APPDATA%\Windsurf\mcp.jsonVS Code uses a servers object:
{
"servers": {
"sequenzy": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@sequenzy/mcp"],
"env": {
"SEQUENZY_API_KEY": "seq_user_your_key_here"
}
}
}
}
For OpenClaw, Hermes, and other MCP-compatible clients, point the client at npx -y @sequenzy/mcp and set SEQUENZY_API_KEY.
Personal keys start with seq_user_. You can revoke them any time in the dashboard.
This server currently exposes 59 MCP tools.
| Tool | Description |
|---|---|
get_account |
Get account info, available companies, and the current company. |
select_company |
Set the active company for future tool calls. |
get_app_urls |
Build dashboard URLs for campaigns, sequences, emails, settings, domains, and sent email details. |
create_company |
Create a new company or brand. |
get_company |
Read company details and localization settings. |
create_api_key |
Create an API key for a company. |
list_websites |
List configured sender websites and domains. |
add_website |
Add a sender website. Processing can take around 30 seconds. |
check_website |
Check whether a website is processed and ready. |
get_integration_guide |
Get framework-specific integration examples. |
| Tool | Description |
|---|---|
add_subscriber |
Add a subscriber with attributes, tags, status, opt-in mode, and optional list IDs. |
update_subscriber |
Update attributes, add tags, or remove tags. |
remove_subscriber |
Unsubscribe a subscriber or hard-delete them. |
get_subscriber |
Fetch subscriber details by email or external ID. |
search_subscribers |
Search by query, tags, list, status, segment, or pagination. |
| Tool | Description |
|---|---|
list_tags |
List all tags. |
list_lists |
List subscriber lists. |
create_list |
Create a subscriber list. |
add_subscribers_to_list |
Add up to 500 subscribers to a list from an email array. |
list_segments |
List saved segments and counts. |
create_segment |
Create saved segments from filters or nested AND/OR groups. |
get_segment_count |
Preview the active subscriber count for a segment. |
For subscriber exports, search_subscribers accepts listId, exact listName, or list (ID first, then exact name). If limit is omitted, the tool fetches all matching subscribers using 100-row API pages.
For bulk list population, use add_subscribers_to_list; the backing API endpoint is POST /api/v1/lists/{listId}/subscribers with no /bulk suffix:
{
"emails": ["[email protected]", "[email protected]"],
"duplicateStrategy": "skip",
"enrollInSequences": false,
"optInMode": "default"
}
Send at most 500 emails per request. Standard API rate limits still apply: 100 requests per minute per API key and 20 requests per second burst. For CSV-driven CLI imports, accepted email headers include email, e-mail, email address, and mail; if no recognized header exists, the CLI reads the first column.
Segment filters support attributes, events, saved segment membership, engagement events, and Stripe product purchase rules. Use filterJoinOperator: "or" for match-any segments, or pass a v2 root group for nested logic.
Each segment filter field validates its own operators:
status, segment: is, is_nottag: contains, not_contains, is_empty, is_not_emptyemail: contains, not_containsemailProvider, list: is, is_not, is_empty, is_not_emptyfirstName, lastName: contains, not_contains, is_empty, is_not_emptyadded: less_than, more_thanattribute: is, is_not, is_empty, is_not_empty, gte, lte, gt, lt, contains, not_containsevent, email engagement fields: is, is_not, at_least, less_than_countemailBounced: also supports is_temporary_bounce, is_permanent_bouncestripeProduct: is, is_not, at_least, less_than_countstripeCurrentProduct, stripeTrialProduct: is, is_not, gte, lte, gt, ltStripe product filter examples:
{ "field": "stripeProduct", "operator": "is", "value": "prod_pro" }
{ "field": "stripeProduct", "operator": "is_not", "value": "prod_pro" }
{ "field": "stripeProduct", "operator": "at_least", "value": "prod_pro:3" }
{ "field": "stripeProduct", "operator": "less_than_count", "value": "prod_pro:3" }
Engagement fields such as emailSent, emailDelivered, emailOpened, emailClicked, emailBounced, and emailComplained accept rolling windows like 7d, 30d, 90d, 180d, all, threshold values like 5:30d, or a campaign scope like campaign:cmp_123.
| Tool | Description |
|---|---|
list_templates |
List templates with localization status. |
get_template |
Read template details, content, and localized variants. |
create_template |
Create templates from HTML or Sequenzy blocks. |
update_template |
Update template metadata, labels, HTML, or blocks. |
delete_template |
Delete a template. |
| Tool | Description |
|---|---|
list_ab_tests |
List A/B tests and variants, optionally scoped by sequence. |
get_ab_test |
Get variants, content, and localization status. |
get_ab_test_stats |
Get aggregate and per-variant stats. |
update_ab_test_variant |
Update a draft variant subject, preview text, HTML, or blocks. |
Use get_ab_test to discover variant IDs before editing. Variant updates accept either html or blocks, not both.
| Tool | Description |
|---|---|
list_campaigns |
List campaigns, optionally filtered by status. |
get_campaign |
Get campaign details and stats. |
get_email_send |
Inspect a sent email detail record. |
create_campaign |
Create a draft campaign from HTML, blocks, a template, or campaign data. |
update_campaign |
Update a draft campaign, including campaign data and computed lists. |
schedule_campaign |
Schedule a draft or reschedule an existing scheduled campaign. |
send_test_email |
Send a test email to one address. |
| Tool | Description |
|---|---|
list_sequences |
List email sequences and automation status. |
get_sequence |
Get sequence details, including step nodeId, linked emailId, subject, preview text, and blocks. |
create_sequence |
Create AI-generated or explicit-step sequences. |
update_sequence |
Update sequence settings, trigger, enrollment behavior, or specific steps. |
enable_sequence |
Activate a sequence. |
disable_sequence |
Pause a sequence. |
cancel_sequence_enrollments |
Stop active or waiting enrollments by subscriber or entry-event field values. |
delete_sequence |
Delete a sequence. |
Sequence creation supports:
trigger: "segment_entered" plus segmentId for saved-segment entry automations.trigger: "event_received" plus {{event.*}} merge tags in subjects or body content.trigger: "inactivity" plus eventName, inactiveDays, and optional inactivityBaseline (sequence_created_at or subscriber_created_at).goal for AI-generated email content.steps with Sequenzy blocks.steps with HTML, which Sequenzy converts into editable blocks.{{discount.code}} and {{discount.percentOff}}.enrollmentMode: "matching_field" and enrollmentFieldPath for product-, variant-, order-, or subscription-specific event automations.Run cancel_sequence_enrollments with dryRun: true before applying bulk cancellation.
Tools that accept blocks persist per-block visual styling under a block's styles object:
{
"type": "card",
"title": "Your update",
"content": "Everything is ready.",
"variant": "default",
"styles": {
"backgroundColor": "#f8fafc",
"backgroundOpacity": 85,
"borderColor": "#cbd5e1",
"borderWidth": 1,
"borderRadius": 12
}
}
For compatibility with older agent prompts, top-level style keys such as backgroundColor, backgroundOpacity, borderColor, borderWidth, and borderRadius are also accepted and saved under styles.
| Tool | Description |
|---|---|
list_transactional_emails |
List transactional templates and API slugs. |
get_transactional_email |
Read a transactional email by ID or slug. |
create_transactional_email |
Create a transactional email template. |
update_transactional_email |
Update transactional metadata or body content. |
send_email |
Send a single transactional email by template or HTML. |
send_email variables support nested arrays for repeat blocks, such as { "event": { "items": [...] } }.
| Tool | Description |
|---|---|
get_stats |
Get overview stats for 7d, 30d, or 90d. |
get_campaign_stats |
Get detailed campaign performance. |
get_sequence_stats |
Get sequence performance. |
get_subscriber_activity |
Get subscriber email stats, activity, and enrollments. |
| Tool | Description |
|---|---|
generate_email |
Generate email blocks from a prompt. |
generate_sequence |
Generate a multi-email sequence from a goal. |
generate_subject_lines |
Generate A/B subject line variants. |
Generated content is returned as draft content for review.
The server also exposes read-only MCP resources.
| Resource | Description |
|---|---|
sequenzy://dashboard |
Live overview stats for the last 7 days. |
sequenzy://company |
Current company and localization settings. |
sequenzy://campaigns/recent |
Last 10 campaigns with status and basic stats. |
sequenzy://subscribers/recent |
Most recently added subscribers. |
sequenzy://subscribers/engaged |
Most active or engaged subscribers. |
sequenzy://sequences |
All sequences with status. |
sequenzy://templates |
Templates with localization status. |
sequenzy://segments |
Saved segments with subscriber counts. |
sequenzy://tags |
Tags with usage counts. |
sequenzy://health |
Deliverability metrics and health status. |
sequenzy://app-routes |
Dashboard route templates and settings tabs. |
Add [email protected] with tags "vip" and "developer", then put them on the beta list.
Create a 4-email churn prevention sequence for users whose subscription expires soon. Leave it in draft mode.
Create a segment for subscribers who bought Stripe product prod_pro at least 3 times.
Draft a campaign about our new analytics dashboard, target the Pro users segment, and send a test to me.
How did the last campaign perform compared with the one before it?
SEQUENZY_API_KEY environment variable is requiredSet SEQUENZY_API_KEY in the MCP client config, or run:
npx @sequenzy/setup
Create a new personal key in Settings -> API Keys, update your MCP config, and restart the client.
If a tool call would create a duplicate segment name or sending domain, the server returns a stable code, an agent-friendly description, a concrete resolution, and a docsUrl. For segments, call list_segments and reuse the existing segment ID or choose a different name. For websites, call list_websites; if the domain is not listed for the selected company, it belongs to another company or account and must be removed, reassigned, or replaced with a different sending domain.
npx is available in the environment the client uses.The server uses https://api.sequenzy.com by default. If you override it, verify SEQUENZY_API_URL points at a reachable Sequenzy API base URL.
bun install
bun test
bun run type-check
bun run build
MCP tool schemas must remain compatible with strict clients:
inputSchema roots must be plain type: "object" schemas.anyOf anywhere in tool schemas.oneOf, allOf, enum, or not at the root of a tool schema.This standalone repository mirrors the MCP package maintained in the main Sequenzy monorepo. See AGENTS.md for sync rules.
MIT
Выполни в терминале:
claude mcp add sequenzy-mcp-server -- npx CSA PROJECT - FZCO © 2026 IFZA Business Park, DDP, Premises Number 31174 - 001
Безопасность
Низкий рискАвтоматическая эвристика по публичным данным — не гарантия безопасности.