saypage
Integrations menuVS Code (GitHub Copilot)

How to connect Instagram to VS Code and GitHub Copilot

Add Saypage to VS Code and sign in: Copilot's agent reads your Instagram insights, builds your pages and publishes them, with your approval.

Steps checked View as Markdown

VS Code's Copilot agent can't reach Instagram by itself. Saypage is an MCP server that gives it Instagram tools, through the official Instagram API: your insights, your comments, posting, Reels, your pages on yourname.saypage.page and your comment-to-DM automations. You add it once, sign in with your Saypage account, and the agent uses it in any workspace.

What you need#

  • VS Code 1.106 or later, with GitHub Copilot (Copilot Free works).
  • An Instagram professional account, Business or Creator. Switching a personal account to a professional one is free, in the Instagram app's settings.
  • A Saypage account. You create it when you first sign in.

Step 1: add Saypage#

  1. Open the Command Palette (Cmd+Shift+P on a Mac, Ctrl+Shift+P elsewhere) and run MCP: Add Server.
  2. Choose HTTP.
  3. Paste https://api.saypage.ai/mcp as the URL.
  4. Name it saypage.
  5. Choose Global to have it in every workspace, or Workspace for this one only.

VS Code writes it in an mcp.json file, which you can also edit by hand:

{
  "servers": {
    "saypage": {
      "type": "http",
      "url": "https://api.saypage.ai/mcp"
    }
  }
}

Step 2: sign in and connect Instagram#

When the server starts, VS Code asks you to sign in to Saypage in your browser. The first time, that creates your Saypage account and asks you to connect Instagram on Instagram's own screen: Saypage never sees your Instagram password.

VS Code registers itself with Saypage by a client ID metadata document, which it has supported since version 1.106, so there is no client ID or key to copy.

Step 3: use it in Copilot's agent#

Open Copilot Chat, switch to Agent, and ask "Get started with Saypage." Saypage's tools appear in the tools picker, where you can turn them on or off, and the agent asks before it runs a tool unless you allow it. Then try:

  • "Which of my last 20 Instagram posts did best, and why?"
  • "Build a link-in-bio page in this workspace, then show me a Saypage preview."

With an API key instead#

If sign-in doesn't suit you (VSCodium and other open source builds don't sign in this way), create an API key on your Saypage account and let VS Code ask for it once, so it never sits in the file:

{
  "inputs": [
    {
      "type": "promptString",
      "id": "saypage-key",
      "description": "Saypage API key",
      "password": true
    }
  ],
  "servers": {
    "saypage": {
      "type": "http",
      "url": "https://api.saypage.ai/mcp",
      "headers": { "Authorization": "Bearer ${input:saypage-key}" }
    }
  }
}

A read-only key can read your insights, posts and comments but can't post, reply or publish anything.

What the agent does well with Saypage#

  • Ship the page you're building. Write a landing page, a menu or a link in bio in your workspace, then ask the agent to put it on Saypage: a private preview first, online on your address once you approve it.
  • Build from your numbers. "Read my last 20 Reels' insights and design a page around the three that brought the most follows."
  • Check your setup. "List my automations and tell me which ones sent no DM this week."

What the agent can do with your Instagram#

What it can do depends on your Saypage plan. Each paid plan starts with a 7-day free trial.

Ask the agent to… Saypage plan
Read your posts, Reels and insights, and say what to post next Free and every plan
Find the comments you haven't answered, draft replies, hide spam Creator ($19 a month) and Premium
Publish photo posts, carousels, Reels and stories, once you turn publishing on Creator and Premium
Build pages and put them online on your address Creator and Premium
Send a link by DM to everyone who comments a keyword Creator and Premium

The full list of tools is in the MCP tools reference.

What it can't do#

Saypage only does what the official Instagram API allows. The agent can't read or answer your DM inbox, message your followers in bulk, change your bio, delete a published post, or act on someone else's account.

Questions#

Does GitHub Copilot have an Instagram integration?#

Not one of its own. Copilot's agent in VS Code reaches other services through MCP servers, and Saypage is one built for Instagram creators, on the official Instagram API.

My company's Copilot doesn't show MCP servers. Why?#

On Copilot Business and Enterprise, an administrator has to turn on the "MCP servers in Copilot" policy, which is off by default. Copilot Free, Pro and Pro+ aren't affected.

Is it free?#

Adding Saypage is free, and on Saypage's Free plan the agent reads your posts and insights. Comments, posting, pages and DM automations start with Creator, at $19 a month, with 7 days free. See Plans and limits.

Sign-in fails. What can I do?#

Update VS Code to 1.106 or later, then run MCP: List Servers, pick saypage and restart it to sign in again. If it still fails, use an API key as shown above, and write to us so we can look.

Is it safe for my Instagram account?#

Saypage connects to Instagram through its official login and passed Meta App Review for every permission it uses. It never sees your Instagram password and never reads your DMs. See Privacy and safety.

Next#

Try it in your chat.

7 days free, two minutes to set up. Create your account, connect VS Code (GitHub Copilot) and Instagram, then ask for a plan to sell more from your Reels.