Skip to content

AI and MCP

Replifier can be operated by AI through an MCP server. You connect an assistant (Claude, ChatGPT or any compatible MCP client) and it works on your account with your own permissions: it reads data, prepares drafts and asks for confirmation before anything is sent. This guide explains how to connect it, which permissions it asks for, what it can do and what it can never do on its own.

  1. In your MCP client, add a remote MCP server with the address https://mcp.replifier.com/mcp.
  2. The client opens the Replifier sign-in and consent screen (OAuth). Sign in and review the permissions it asks for.
  3. Ask for something read-only first, for example “list my latest campaigns”, and check the audit log.

The client starts with the read permission and asks for more only when a task needs it. The assistant acts as you: it can do what your role in the organization allows, and nothing else.

A system with no person behind it, such as an automation, can also connect with an API key (rpf_…) sent as a Bearer token. It only gets reading and writing that needs no confirmation: campaign_list and campaign_get, the flow, integration, WhatsApp and SMS tools, pending_action_status and everything sensitive are not available to API keys.

The tools an assistant sees depend on the OAuth permissions you grant:

Permission What it enables
read Read contacts, lists, segments, campaigns and their reports, flows, integrations and WhatsApp templates; search the documentation
contacts.write Create and change contacts, lists and segments
campaigns.write Create and change campaign drafts, per-contact personalization, send plans and WhatsApp template drafts
campaigns.send Pause campaigns, cancel plan sends and request sends that a person confirms
flows.write Create, change and simulate flows, and request activating or pausing them

Requesting a sensitive action also needs read, because Replifier reads the object to build the summary you confirm.

Most tools take the brand (brandId). The ones marked as needing confirmation never run on their own: see the next section.

Tool What it does Needs confirmation
contact_search, contact_get, contact_history Search a brand’s contacts, read one and see its history of changes, consents and unsubscribes No
contact_create, contact_update Create a contact (optionally subscribing it to lists) or change its fields No
list_list, list_create, list_add_contacts See lists, create one and subscribe a contact to a list with the consent the API requires No
segment_list, segment_preview, segment_create See segments, count how many contacts match some conditions without saving them, and create a segment No
Tool What it does Needs confirmation
campaign_list, campaign_get, campaign_report List and read campaigns; the report shows sent, delivered, bounces, real and automated opens separately, clicks and unsubscribes No
campaign_create_draft, campaign_update_draft Create or change a campaign draft; sends nothing No
personalization_write, personalization_list, personalization_sample Write different text per contact in a draft (up to 500 contacts per call), see each variable with which AI wrote it and when, and preview how the email looks No
send_plan_create, send_plan_add_items, send_plan_cancel_item Create a draft send plan, add up to 10,000 items (contact, message and exact time) and cancel a pending send No
campaign_pause Pause a campaign that is sending; nothing goes out afterwards No
campaign_send, campaign_schedule, campaign_resume Request sending a campaign now, scheduling it for a future date or resuming a paused one Yes
send_plan_reschedule_item Request changing the time of a pending send in a plan Yes

Flow tools are only available with OAuth, not with API keys.

Tool What it does Needs confirmation
flow_list, flow_get, flow_templates_list List flows, read one with its draft and published version, and see the templates a draft can start from No
flow_create_draft, flow_update_draft Create a draft from scratch or from a template, and change it; does not activate anything No
flow_validate, flow_simulate, flow_explain Check a draft, run it in test mode for a contact (sends nothing) and explain why a contact is at a given step No
flow_activate, flow_pause Request publishing or pausing a flow Yes

If the reach of a flow passes the approval threshold, another person must approve it after you confirm.

Tool What it does Needs confirmation
integration_status Status and last error of the brand’s integrations: Shopify, WooCommerce, email providers, WhatsApp and SMS. It never returns credentials No
integration_connect_link Gives the panel link where a person connects an integration. Credentials are always entered by you in the panel, never by the assistant No
Tool What it does Needs confirmation
whatsapp_template_list WhatsApp templates synced from Meta, with their status No
whatsapp_template_draft Request a WhatsApp template draft; you still submit it to Meta from the panel Yes
whatsapp_send, sms_send Request sending one approved WhatsApp template or one SMS to a contact Yes

The contact needs current consent for the channel and no opt-out; Replifier checks it again when the message goes out.

docs_search searches this documentation and the blog, and returns snippets with their link. It is available with the read permission.

Sending, scheduling and resuming campaigns, activating and pausing flows, changing the time of a plan send, and sending WhatsApp or SMS always need a person to confirm in Replifier. The assistant cannot confirm them.

  1. The assistant asks for the action. Nothing runs yet: Replifier replies with a summary that it builds itself from your data (what will be sent, to whom, when) and a link of the form https://app.replifier.com/confirm/….
  2. You open the link, sign in to Replifier, review the summary and confirm or discard it.
  3. The assistant can check the result with pending_action_status: pending, confirmed, discarded, expired, awaiting approval or executed.

An unconfirmed request expires after 24 hours. Every action, confirmed or not, is recorded in the audit log.

The server offers ready-made prompts that guide the assistant step by step with the tools above:

Prompt What it does
abandoned_cart Recovers abandoned carts: looks for or builds a segment of people who started a purchase, writes a draft reminder and shows you the audience size. It sends nothing
migrate_from_mailchimp Guides your migration from Mailchimp: lists, contacts with consent, segments and your most important campaign, and reminds you to authenticate your sending domain. It sends nothing
deliverability_check Reviews the deliverability of your recent campaigns: bounces, complaints and unsubscribes above normal, with concrete actions. It only reads

With the read permission the server also publishes the documentation as resources the assistant can read:

  • replifier://docs/{path} is a guide of this documentation.
  • replifier://blog/{slug} is an article of the blog.

Add ?locale= (for example ?locale=es-MX) to read another language; if a page is not translated, you get the English one. docs_search returns the replifier:// address of each result.

The assistant is connected, answers with your data, any sending is left waiting for your confirmation and every action is in the audit log.