Connect an AI agent (MCP)

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/mcp

Recommended: connect with sign-in (OAuth)

The simplest path — no API key to manage. In a client with a connector UI (like Claude):

  1. Open Settings → Connectors → Add custom connector and paste the server URL above. Leave Client ID / Secret empty.
  2. You'll be sent to Sendcore's authorization page. Sign in and choose the permissions (Full access or Read-only).
  3. 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:

JSON
{
  "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.

JSON
{
  "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 without plan executes 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_campaign is the only one that deletes data: in the in-app chat it requires an explicit user confirmation before running. generate_campaign_email deletes nothing but replaces a campaign's content, including edits made by hand in the editor — on a campaign that already has content, preview with plan first.

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.

ToolAccessPlanDescription
get_account_overviewReadStore name/website, sending domain and verification, sender identity, and email usage for the current period.
list_campaignsReadList email campaigns with status and performance (sent, opens, clicks, rates, revenue).
get_campaign_reportReadFull report for one campaign: settings plus performance metrics.
analyze_campaignReadOne campaign's metrics side-by-side with the account averages, plus concrete findings (subject length, missing preheader, above/below-average rates).
get_audience_statsReadList health: total contacts, subscribed vs unsubscribed, new in last 30 days, suppressed.
search_contactsReadSearch contacts by free text, tag or consent state (up to 50 matches). Requires the audience-export permission in the in-app Copilot.
list_segmentsReadList audience segments (manual, filter-based, or Shopify-imported) with filter definitions.
list_automationsReadList automation workflows with status, trigger type and lifetime performance.
list_formsReadList signup forms (popup, flyout, embedded) with views and submissions.
get_brand_kitReadBrand kit: store info, brand context, fonts, colors, logo and links — grounds on-brand copy.
search_knowledgeReadSearch the official Sendcore documentation and get back matching sections with a link to cite.
create_campaign_draftWriteCreate a new DRAFT campaign (name, optional subject/preheader/language). Never sends.
generate_campaign_emailWriteGenerate 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_linesWriteGenerate alternative subject lines (with matching preheaders) from a brief. Nothing is saved.
send_campaign_test_emailWriteSend a TEST version to up to 5 explicit addresses (excluded from reports). Not the audience.
delete_campaignconfirmWritePermanently delete a campaign by id. A campaign that is currently sending can't be deleted.
create_contactWriteAdd a subscribed contact (deduped by email). An existing contact is never re-subscribed.
add_contact_tagWriteAdd a tag to one or more existing contacts by email.
create_segmentWriteCreate a manual segment from a list of contact emails (max 1000).
create_form_draftWriteCreate a DRAFT signup form (popup, flyout or embedded). Never published on its own.
create_automation_draftWriteCreate 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.