AI & MCP
Connect an AI agent (MCP)
Sendcore exposes a Model Context Protocol server, so any MCP-compatible assistant — Claude, ChatGPT, Cursor and others — can read your reports, draft campaigns, forms and automations, and manage contacts in plain language. One setup works with every client. Prefer zero setup? The same capabilities are already in the dashboard's AI chat.
Server URL
https://www.sendcore.me/api/mcpRecommended: connect with sign-in (OAuth)
The simplest path — no API key to manage. In a client with a connector UI (like Claude):
- Open Settings → Connectors → Add custom connector and paste the server URL above. Leave Client ID / Secret empty.
- You'll be sent to Sendcore's authorization page. Sign in and choose the permissions (Full access or Read-only).
- Done — the assistant is connected. Manage or revoke it anytime from your settings.
For clients configured with a JSON file, the OAuth flow is triggered by the URL alone:
{
"mcpServers": {
"sendcore": {
"url": "https://www.sendcore.me/api/mcp"
}
}
}Alternative: connect with an API key
For clients or scripts without an OAuth flow, authenticate with an API key sent as a Bearer token. Create one under Settings → API keys. A read-scoped key exposes only the read tools below.
{
"mcpServers": {
"sendcore": {
"url": "https://www.sendcore.me/api/mcp",
"headers": {
"Authorization": "Bearer sc_live_xxxxxxxxxxxxxxxx"
}
}
}
}Safety model
- Drafts only. Agents create drafts (campaigns, forms, automations) and send only TEST emails to explicit addresses. Real sends to your audience, form publishing and automation activation stay human decisions, in the dashboard.
- Per-connection permissions. A read-only connection sees only the Read tools; write operations require full access.
- Preview with `plan`. Every write tool that changes something accepts
plan: true: it returns exactly what would happen (changes, preview, reversibility) without writing anything. Repeating the same call withoutplanexecutes it. - Full audit trail. Every agent write operation — preview or execution, success or failure — is recorded: who, what, when, from which surface, and how it went.
- Destructive operations.
delete_campaignis the only one that deletes data: in the in-app chat it requires an explicit user confirmation before running.generate_campaign_emaildeletes nothing but replaces a campaign's content, including edits made by hand in the editor — on a campaign that already has content, preview withplanfirst.
Tool reference
Read tools are available on every connection. Write tools require a full-access connection and never send to your audience. The Plan column marks tools that support a no-execution preview.
| Tool | Access | Plan | Description |
|---|---|---|---|
get_account_overview | Read | — | Store name/website, sending domain and verification, sender identity, and email usage for the current period. |
list_campaigns | Read | — | List email campaigns with status and performance (sent, opens, clicks, rates, revenue). |
get_campaign_report | Read | — | Full report for one campaign: settings plus performance metrics. |
analyze_campaign | Read | — | One campaign's metrics side-by-side with the account averages, plus concrete findings (subject length, missing preheader, above/below-average rates). |
get_audience_stats | Read | — | List health: total contacts, subscribed vs unsubscribed, new in last 30 days, suppressed. |
search_contacts | Read | — | Search contacts by free text, tag or consent state (up to 50 matches). Requires the audience-export permission in the in-app Copilot. |
list_segments | Read | — | List audience segments (manual, filter-based, or Shopify-imported) with filter definitions. |
list_automations | Read | — | List automation workflows with status, trigger type and lifetime performance. |
list_forms | Read | — | List signup forms (popup, flyout, embedded) with views and submissions. |
get_brand_kit | Read | — | Brand kit: store info, brand context, fonts, colors, logo and links — grounds on-brand copy. |
search_knowledge | Read | — | Search the official Sendcore documentation and get back matching sections with a link to cite. |
create_campaign_draft | Write | ✓ | Create a new DRAFT campaign (name, optional subject/preheader/language). Never sends. |
generate_campaign_email | Write | ✓ | Generate a draft campaign's content with Sendcore AI using the account's brand kit. Replaces the campaign's current content, editor edits included — preview with plan first. |
generate_subject_lines | Write | — | Generate alternative subject lines (with matching preheaders) from a brief. Nothing is saved. |
send_campaign_test_email | Write | ✓ | Send a TEST version to up to 5 explicit addresses (excluded from reports). Not the audience. |
delete_campaignconfirm | Write | ✓ | Permanently delete a campaign by id. A campaign that is currently sending can't be deleted. |
create_contact | Write | ✓ | Add a subscribed contact (deduped by email). An existing contact is never re-subscribed. |
add_contact_tag | Write | ✓ | Add a tag to one or more existing contacts by email. |
create_segment | Write | ✓ | Create a manual segment from a list of contact emails (max 1000). |
create_form_draft | Write | ✓ | Create a DRAFT signup form (popup, flyout or embedded). Never published on its own. |
create_automation_draft | Write | ✓ | Create a DRAFT automation from a preset (welcome, abandoned cart/checkout, birthday). Never activates on its own. |
An end-to-end example, from your assistant: "Create a campaign for the restock, write the content on my brand kit, propose 5 subject lines and send me a test" — four tools chained, without opening the editor. The same capabilities, plus per-role team permissions, live in the dashboard's AI chat.