Cursor + Zaprep

Manage Instagram automations from Cursor

Add Zaprep to mcp.json and Cursor’s agent can create, audit and export your Instagram and Facebook automations while you build the landing pages they link to.

A few lines of mcp.jsonOAuth or API keyWorks with Cursor’s agent
CursorZaprep connected

I just deployed /webinar on our site. Point the WEBINAR automation’s DM button at it and turn the rule back on.

✓ list_automations✓ update_automation✓ toggle_automation

Found "WEBINAR keyword" on @studio.kite. It is paused and its button links to the old /events page.

Updated the button to the new /webinar URL, shortened for click tracking, and turned the automation on.

Example conversation. Real tool names.

Coding agent setup

How do I connect Zaprep to Cursor?

Cursor with MCP support (any recent version).

Server URL
https://www.zaprep.com/api/mcp
Sign-in
OAuth, or a Zaprep API key for scripts
Cost
Included on every Zaprep plan, Free included
New automations
Saved paused until you turn them on
Platforms
Instagram and Facebook Pages
Revoke
Settings, then AI tools in Zaprep

Zaprep MCP server URL

https://www.zaprep.com/api/mcp
  1. 1

    Open mcp.json

    Use ~/.cursor/mcp.json for every project, or .cursor/mcp.json in one repo.

  2. 2

    Add Zaprep

    Paste the snippet below and save. Cursor picks it up from Settings, then MCP.

  3. 3

    Sign in

    Cursor shows a login prompt next to zaprep. Approve access in the browser tab that opens.

  4. 4

    Use the agent

    Ask Cursor’s agent about your automations. It asks before running tools that change anything.

~/.cursor/mcp.json
{
  "mcpServers": {
    "zaprep": {
      "url": "https://www.zaprep.com/api/mcp"
    }
  }
}

Need an API key? Create one in Zaprep. Official Cursor docs: Cursor MCP docs.

Try these

What can you ask Cursor?

Copy a prompt, paste it into Cursor, and adjust the keyword or link.

Ship and link

“Create a DEMO automation on my latest post that sends the URL of the page we just built.”

Spot dead links

“List every automation whose DM links to a URL that returns 404.”

Stats in context

“How many link clicks did each automation get last week?”

Export

“Export collected contacts as CSV into ./data.”

40+ tools

What can Cursor do with Zaprep?

Everything you do in the Zaprep dashboard, except billing, is available as an MCP tool.

Create automations

Comment-to-DM, DM keyword, story reply and follow-gated flows, from a post link or a plain description. Saved paused until you turn them on.

create_automationresolve_postduplicate_automation

Read the numbers

DMs sent, link clicks, followers gained and the full funnel for every automation.

get_analyticsget_automation_metricsget_automation_funnel

Fix what broke

Find out why a rule skipped, then pause, edit or switch it back on.

troubleshoot_automationget_automation_activitytoggle_automation

Get AI suggestions

Turn captions into ready-to-approve keyword automations, one post or all of them.

suggest_automationbulk_suggest_automationsanalyze_post

Work your leads

List and export everyone who shared an email or messaged you.

list_contactsexport_contacts_csv

Run the rest

Scheduled automations, short links, link in bio, media kit and AI replies.

create_scheduled_automationcreate_linkupdate_link_in_bio

Best for: Developers and technical marketers who build the pages their DMs point to.

See every tool · What it can set up on Instagram

Sign-in

OAuth or API key?

Cursor supports both. OAuth is quicker on your own machine.

OAuth CursorAPI key Cursor
SetupPaste the URL, sign in to ZaprepCreate a key in Settings, then API keys
Best forChat apps and editors on your own machineCLIs, CI, servers and workflow tools
Credentials storedShort-lived tokens, refreshed automaticallyOne zap_ key you keep secret
RevokeDisconnect it in Settings, then AI toolsDelete it in Settings, then API keys

Limits

What Cursor cannot do in Zaprep

  • Send DMs or comment replies outside your automations. The AI sets up rules; Zaprep sends through Meta’s official APIs.
  • Turn on a new automation it created unless you, or the AI after you confirm, switch it on.
  • Touch billing, payments or your plan.
  • Connect, reconnect or remove your Instagram and Facebook accounts.
  • Read your Instagram password. Accounts are connected with Meta login, and the AI signs in to Zaprep, not Instagram.

Channels

Which platforms can Cursor automate?

One connection covers every account in your Zaprep workspace.

Cursor + Zaprep FAQ

Add a headers block to the zaprep entry: "headers": { "Authorization": "Bearer zap_..." }. Create the key in Zaprep under Settings, then API keys.

Open Settings, then MCP, and click the login prompt next to zaprep. If it keeps failing, remove the entry, restart Cursor and add it again.

Prefer OAuth so no key sits on disk. If you use a key, keep it in your home-folder mcp.json, not a repo file you commit.

Yes. Zaprep runs its own remote MCP server at https://www.zaprep.com/api/mcp. No Zapier or other middleman is involved.

Yes. MCP access is included on every Zaprep plan, Free included. Your plan’s usual limits on automations and DMs still apply.

To run automations, yes: connect an Instagram professional account or a Facebook Page in Zaprep first. Without one the AI can only read your Zaprep settings.

Instagram professional accounts and Facebook Pages today. TikTok and YouTube are coming next.

New automations an AI creates are saved paused, so nothing sends until you or the AI turns it on after you confirm. Edits to an automation that is already on apply right away, and most AI apps ask before running a change. You can disconnect any AI app in Zaprep under Settings, then AI tools.

Yes. Once connected, the AI can list and export the contacts your automations collected, including emails. Only connect AI apps you trust, and disconnect any you stop using.

Open Settings, then AI tools in Zaprep and choose Disconnect next to the app. It is signed out right away. For an API key, delete it under Settings, then API keys.

Last updated . Menu names in other apps change often; the official docs link above has the latest.

Let Cursor run your DM automations

Free plan, no card. Connect Instagram or a Facebook Page, then add Zaprep to your AI tool.