GitHub Copilot MCP: add TikTok and Instagram research to Copilot CLI and agent mode

Updated

Virlo is social listening for TikTok and Instagram Reels. GitHub Copilot knows your repository, but nothing in its context says which TikTok or Instagram videos are breaking out today. Add Virlo to Copilot as an MCP server and Copilot CLI, agent mode in your editor and the cloud agent can pull trends, hooks, sounds and outlier videos from a database of 23.1M viral videos. GitHub Copilot is GitHub's AI coding assistant, spanning editors, a terminal CLI and agents that work on github.com.

  • One copilot mcp add command for the CLI
  • The same saved server shows up for Copilot in VS Code
  • A JSON block in repository settings gives the cloud agent Virlo too

Part of Virlo's AI assistant guides. Setting up the editor side only? See VS Code. Looking for Microsoft's consumer assistant instead? See Microsoft Copilot.

How do I add an MCP server to GitHub Copilot?

Start in Copilot CLI, because the server it saves is shared with Copilot in VS Code. The cloud agent on github.com gets its own short config afterwards.

  1. Step 1: Create your Virlo account for free

    Create your free Virlo account in under a minute. Already signed up? Open API Keys.
  2. Step 2: Generate a Virlo API key

    On the Virlo API Keys page, create a key for Copilot. It begins with virlo_tkn_ and goes in the Authorization header in the next step.

  3. Step 3: Register Virlo in Copilot CLI

    Run this from any folder. Copilot CLI saves the server to ~/.copilot/mcp-config.json (or under COPILOT_HOME if you set it). Prefer a form? Start copilot, type /mcp add, fill in Server Name, Server Type HTTP, URL and HTTP Headers, then press Ctrl+S.

    Terminal
    copilot mcp add --transport http \
      --header "Authorization: Bearer virlo_tkn_YOUR_KEY" \
      virlo https://dev.virlo.ai/api/mcp/mcp
  4. Step 4: Confirm it, then open VS Code

    Run copilot mcp list and virlo appears under the user configuration. VS Code reads the same Copilot file, so open the Chat view, start an agent session and virlo is already in the tools list.

    Terminal
    copilot mcp list
  5. Step 5: Optional: give the cloud agent Virlo

    In your repository, go to Settings, then Copilot, then MCP servers, and paste this into MCP configuration. Create an Agents secret named COPILOT_MCP_VIRLO_AUTH whose value is Bearer plus a space and your key. The cloud agent uses listed tools without asking, so swap "*" for specific tool names if you want a tighter allowlist.

    MCP configuration
    {
      "mcpServers": {
        "virlo": {
          "type": "http",
          "url": "https://dev.virlo.ai/api/mcp/mcp",
          "tools": ["*"],
          "headers": {
            "Authorization": "$COPILOT_MCP_VIRLO_AUTH"
          }
        }
      }
    }
  6. Step 6: Ask Copilot

    Run copilot inside your project and ask. Copilot asks permission before each Virlo tool runs, and you can approve a tool for the rest of the session.

    Your first prompt
    Use Virlo to find the 10 TikTok trends to copy with the most creators in [your niche] this week and write them to research/trends.md with an example video for each.

Copilot CLI stores the header you pass in its config file, so treat ~/.copilot/mcp-config.json like a password file and keep it out of dotfile repos.

Copilot CLI vs agent mode in VS Code vs cloud agent: how does each get Virlo?

Copilot surfaceWhere Virlo is configuredHow the key is suppliedTypical job
Copilot CLIcopilot mcp add or /mcp add, saved in ~/.copilot/mcp-config.json--header "Authorization: Bearer …"Research from the terminal, scripted reports, quick lookups
Agent mode in VS CodePicks up the Copilot CLI file, or a .vscode/mcp.json entry of its ownHeader from the Copilot file, a password input or a browser sign-inBuilding features and briefs with live social data beside your code
Copilot cloud agentRepository Settings, then Copilot, then MCP serversA COPILOT_MCP_ Agents secret referenced in headersAssigned issues that need trend or hook data in the pull request
Copilot in JetBrains IDEsThe Copilot plugin's MCP settingsSame header patternTeams that write code in IntelliJ, PyCharm or WebStorm

All four surfaces call the same Virlo server, so the numbers in a pull request match the ones you saw in the terminal.

What does a Copilot agent get when it asks Virlo for trends?

Each Trends to copy record arrives as a recipe: the part to keep, the part to make yours, and how many creators used it this week. That structure is easy for Copilot to turn into a brief, a README section or a JSON fixture.

In Virlo's data, the trend to copy with the most creators this week is "My moon my man couple montage": 659 creators posted it in the last 7 days, as of November 19, 2026.

As of November 19, 2026 at 13:07 UTC

What does a Copilot agent get when it asks Virlo for trends?
TrendKeep the sameMake it yoursCreators this week
Example video for the My moon my man couple montage trend by @haleyybayleeMy moon my man couple montageThe song 'My Moon My Man' by Feist (often a specific remix or cover) and the theme of showing a romantic partner.The specific person or couple being shown and the setting of the clips.659
Example video for the While they're out partying btw trend by @larpniverseWhile they're out partying btwThe on-screen text 'While they're out partying btw' and the rhythmic breathing audio.The activity being performed, such as gaming, working at a fast-food restaurant, or training.346
Example video for the He wanna pay full price SNL trend trend by @anereslaila1He wanna pay full price SNL trendThe audio 'He wanna pay full price' from an SNL skit featuring Druski.The relatable situation described in the on-screen text, such as child support, birthdays, or family vacations.175
Example video for the But you're not a Buddhist trend trend by @nicolo.contradaBut you're not a Buddhist trendAudio of Bobby and Peggy Hill: "But you're not a Buddhist." "Yes, I am, mom." "Honey, you're not from China."The specific hypocritical or contradictory situation described in the on-screen text.158
Example video for the Shoulder carry mirror selfie trend trend by @thecapcutterxShoulder carry mirror selfie trendCarrying someone over one shoulder while taking a mirror selfie to the same audio.The couple, their outfits, and the room where the selfie is taken.158

See the recipe for all 39 trends to copy

Every trend with its example videos, 30-day chart and client fit is in the Virlo app.

Open Trends to copy

How this sample is made

Source
Virlo's Trends to copy: formats found by Virlo's trend detector and published only after the team checks each one.
Window
Creators who posted each trend in the last 7 days, counted from TikTok and Instagram videos only. Trends made with an AI tool are left out.
Method
Ranked by creators posting this week. Stages: Fresh, Rising, Peaking, Fading.
As of
November 19, 2026 at 13:07 UTC. Refreshes every hour.
Made by
Numbers are pulled automatically from Virlo's data every hour; the text around them is written by the Virlo team.

Suggested citation: Source: Virlo, “GitHub Copilot MCP: add TikTok and Instagram research to Copilot CLI and agent mode”, virlo.ai/github-copilot

Using the Copilot cloud agent for scheduled social research

Once Virlo sits in your repository's MCP configuration, any issue you assign to Copilot can lean on it. The agent works in its own environment, opens a pull request, and the diff shows exactly which research files it touched.

  • Open an issue such as "Refresh research/trends.md with this week's TikTok trends to copy in [your niche]" and assign it to Copilot.
  • Ask in the issue for sources: every row should link the example video so reviewers can check it.
  • Keep the allowlist read-focused by naming trend, sound and hook tools instead of "*" when the repo is shared widely.
  • Review and merge like any other pull request, so research changes get the same scrutiny as code.

Remote servers that rely on OAuth are not available to the cloud agent, which is why this route uses a key in an Agents secret. In Copilot CLI and VS Code you can sign in or use a header, whichever you like.

Copilot CLI tips for Virlo research

Copilot CLI is handy for quick checks between commits. Keep a prompt file in the repo, run copilot from the project root and paste it in, then let Copilot write results into a dated markdown file you can compare week to week.

Use copilot mcp list --json in setup scripts to check that virlo is configured before a script relies on it, and keep the server name lowercase so prompts that say "use virlo" match it.

Copilot custom instructions that make Virlo answers better

Copilot reads repository custom instructions from .github/copilot-instructions.md. A few lines there shape how it uses Virlo across the CLI, the editor and the cloud agent: name the server, ask for source links and set the ranking you trust.

  • Tell Copilot to use the virlo tools for any question about TikTok or Instagram performance.
  • Ask it to sort videos by Virality Score and to treat 18 or more as a strong result.
  • Require a link to the source video for every trend, hook or sound it reports.
  • Point research output to one folder, such as research/, so pull requests stay tidy.

What can I ask GitHub Copilot to do with Virlo?

Works in Copilot CLI, agent mode in your editor, or the body of an issue for the cloud agent. Replace the brackets.

  • Trend refresh

    Replace research/trends.md with this week's TikTok trends to copy in [your niche] from Virlo, keeping the existing table columns.

  • Fixture data

    Generate test/fixtures/reels.json from 20 real Instagram Reels about [topic] pulled with Virlo, matching the shape in [type file].

  • Hook study

    Find 30 TikTok hooks in [your niche] from videos with a Virality Score of 18 or more and group them by hook type in docs/hooks.md.

  • Competitor issue

    Look up @[competitor] on TikTok, list the videos that beat their usual views, and add the findings to docs/competitors.md.

  • Sound check

    Which sounds are rising fastest on Instagram Reels this week? Add the top five to content/sounds.md with artist names.

  • Transcript to script

    Get the transcript of [TikTok link] from Virlo and rewrite it as a 30-second script for [your product] in scripts/.

  • Release video idea

    Read CHANGELOG.md, then find three TikTok formats in [your niche] that could announce the latest release, with a source video each.

  • Creator outreach list

    Find 15 creators under [N] followers in [your niche] whose videos keep beating their follower count and save them to data/creators.csv.

GitHub Copilot vs Microsoft Copilot vs Copilot Studio: which Copilot is this?

Microsoft uses the Copilot name for several unrelated products. This page is about the developer one from GitHub.

GitHub Copilot (this page)

The coding assistant: chat and agent mode in editors, Copilot CLI in the terminal and the cloud agent on github.com.

Microsoft Copilot

Microsoft's everyday assistant in Windows, Edge, Microsoft 365 and the Copilot app, aimed at office and personal tasks.

Microsoft Copilot Studio

A low-code builder for custom business agents inside Microsoft 365, with its own way of adding tools.

VS Code

The editor where many people meet Copilot. Its MCP files work with other model providers too.

What are the limits?

  • Virlo is read-only research on public TikTok and Instagram data; Copilot can analyse and write with it but cannot publish anywhere through it.
  • Only Agents secrets and variables whose names start with COPILOT_MCP_ reach the cloud agent's MCP configuration.
  • Organisation owners can turn MCP servers off for Copilot through policy, so a blocked server on a work account is an admin setting.
  • Trends to copy refresh hourly after a check by the Virlo team.
  • For what each Virlo plan includes, see pricing.

Frequently asked questions

How do I add an MCP server to GitHub Copilot CLI?

Run copilot mcp add --transport http with a --header for your key, then the name and URL: virlo https://dev.virlo.ai/api/mcp/mcp. The server is saved to ~/.copilot/mcp-config.json. Inside an interactive session, /mcp add opens a form with the same fields. Run copilot mcp list afterwards to confirm virlo is saved and ready for every new session.

Does GitHub Copilot agent mode support MCP?

Yes. Agent mode in VS Code, and the Copilot plugins for JetBrains IDEs, call tools from MCP servers you configure. Copilot chooses a Virlo tool when your request needs social data and shows the call for approval before it runs, unless you have already allowed that tool.

How do I add an MCP server to the Copilot coding agent?

Open the repository on github.com, go to Settings, then Copilot, then MCP servers, and paste a JSON block under mcpServers with type, url, a tools list and headers. Store the Virlo key in an Agents secret prefixed COPILOT_MCP_ and reference it in the header value.

Can GitHub Copilot see TikTok and Instagram data?

With Virlo connected it can. Copilot receives trends to copy, outlier videos ranked by Virality Score, hooks, sounds, hashtags, creator stats and TikTok transcripts as structured text, which it can summarise, compare or write into files in your repository. Each result links back to its source video, so reviewers can check any claim Copilot makes.

What is the difference between Copilot CLI and agent mode?

Copilot CLI runs in a terminal and works through tasks with shell access; agent mode runs inside the editor and edits files you have open. They share MCP setup on the same machine, because VS Code reads the ~/.copilot/mcp-config.json file the CLI writes.

Why does the Copilot cloud agent need a key instead of a sign-in?

The cloud agent and Copilot code review do not use remote servers that authenticate with OAuth. A bearer token in an Agents secret avoids that: the agent sends it as the Authorization header and Virlo answers normally. Local surfaces can use either a key or a sign-in.

Copilot does not list the virlo tools. What should I check?

Run copilot mcp list to confirm the entry exists, check that the header reads "Authorization: Bearer virlo_tkn_…" and that the URL has no trailing slash. On a company account, ask an organisation owner whether the MCP policy for Copilot is enabled.

Is GitHub Copilot the same as Microsoft Copilot?

No. GitHub Copilot is a developer tool for writing and reviewing code, while Microsoft Copilot is a general assistant across Windows and Microsoft 365. They are set up differently; the Microsoft Copilot guide covers that one. Virlo connects to each through a different screen, and this page only covers the developer one.

Can Copilot post videos to TikTok through Virlo?

No. Virlo never connects to social accounts and has no posting tools. Copilot can research trends, write scripts and build internal dashboards with Virlo data, and any publishing happens in the tools your team already uses. That separation keeps Copilot focused on research and code, with no risk of an accidental post.

Bring trend data into every Copilot surface

One copilot mcp add command connects Virlo to the CLI and VS Code, and a short JSON block covers the cloud agent.