GitHub Copilot + Zaprep

Use Zaprep from GitHub Copilot in VS Code

Add Zaprep to mcp.json and Copilot’s agent mode can create, check and export your Instagram and Facebook automations without leaving VS Code.

VS Code mcp.jsonOAuth sign-inCopilot agent mode
GitHub CopilotZaprep connected

Why did my SIGNUP automation stop sending DMs yesterday?

✓ list_automations✓ troubleshoot_automation

SIGNUP is active, but its last 14 triggers were skipped: the post it is scoped to was deleted on Instagram.

Point it at a new post or remove the post filter so it runs on every post. Which do you want?

Example conversation. Real tool names.

Coding agent setup

How do I connect Zaprep to GitHub Copilot?

VS Code with GitHub Copilot, using agent mode.

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

    Add the server

    Run MCP: Add Server from the command palette, or create .vscode/mcp.json with the snippet below.

  2. 2

    Start it

    Click Start above the zaprep entry. VS Code asks you to sign in to Zaprep in the browser.

  3. 3

    Switch to agent mode

    Open Copilot Chat, choose Agent and enable the Zaprep tools from the tools picker.

  4. 4

    Ask

    Copilot asks before it runs any tool, so you approve each change.

.vscode/mcp.json
{
  "servers": {
    "zaprep": {
      "type": "http",
      "url": "https://www.zaprep.com/api/mcp"
    }
  }
}

Need an API key? Create one in Zaprep. Official GitHub Copilot docs: VS Code MCP docs.

Try these

What can you ask GitHub Copilot?

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

Debug

“Troubleshoot my SIGNUP automation and tell me what is wrong.”

Create

“Create a DM automation that sends our docs link to anyone who messages DOCS.”

Metrics

“Show link clicks per automation for the last 30 days.”

Comments

“List unanswered comments on my latest post.”

40+ tools

What can GitHub Copilot 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: Teams on VS Code who already use Copilot for everything else.

See every tool · What it can set up on Instagram

Sign-in

OAuth or API key?

GitHub Copilot supports both. OAuth is quicker on your own machine.

OAuth GitHub CopilotAPI key GitHub Copilot
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 GitHub Copilot 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 GitHub Copilot automate?

One connection covers every account in your Zaprep workspace.

GitHub Copilot + Zaprep FAQ

MCP servers work in Copilot agent mode on individual plans too. On organization plans, an admin can turn MCP off by policy, so check with them if Zaprep does not appear.

Yes. Run MCP: Add Server and choose the user (global) option instead of the workspace file.

Copilot supports MCP there too, with each IDE’s own settings file. The URL and auth are the same.

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 GitHub Copilot run your DM automations

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