v0 by Vercel with MCP: generate apps on live TikTok and Instagram data

Updated

Virlo is social listening for TikTok and Instagram Reels. v0 generates polished Next.js interfaces, but it cannot look up which TikTok trends or Instagram Reels are breaking out today. Add Virlo to v0 as a custom MCP server and it can research that data mid-chat, then write a route handler that fetches it with a key from your environment variables. v0 is Vercel's AI app builder that turns prompts into React and Next.js apps you can deploy to Vercel.

  • Custom MCP server from the + menu, OAuth or Bearer Token
  • Key in Vars, used by a Next.js route handler
  • Deploys to Vercel with the variable already in place

Part of Virlo's AI assistant guides. Writing the code yourself? See the Vercel AI SDK guide or Cursor.

How do I connect Virlo to v0?

One MCP connection for research inside v0 chats, one environment variable for the generated app. Five steps.

  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: Open MCPs from the prompt form

    In a v0 chat, open the + menu in the prompt form and select MCPs, then choose to configure a custom MCP server. The same option lives on the MCP Connections settings page if you prefer to set it up outside a chat.

  3. Step 3: Point it at Virlo and sign in

    Name the server Virlo, paste the URL below and pick OAuth as the authentication type, then approve on the Virlo page. Bearer Token works too: paste a Virlo key that starts with virlo_tkn_. Keep the server enabled so v0 can call its tools.

    MCP server URL
    https://dev.virlo.ai/api/mcp/mcp
  4. Step 4: Add VIRLO_API_KEY as an environment variable

    Copy a key from the Virlo developer dashboard, click Vars in the chat sidebar (or Project, then Settings, then Environment Variables) and save it as VIRLO_API_KEY. The variable belongs to the project, so every chat in it can use it. v0 calls it from a route handler like this.

    Route handler v0 writes
    // app/api/trends/route.ts
    export async function GET() {
      const res = await fetch('https://api.virlo.ai/v1/content-trends?platform=tiktok&limit=5', {
        headers: { Authorization: 'Bearer ' + process.env.VIRLO_API_KEY },
        next: { revalidate: 3600 },
      })
      return Response.json(await res.json())
    }
  5. Step 5: Prompt v0

    Ask for the interface you want. v0's permission mode decides whether each Virlo call runs straight away or asks you first.

    Your first prompt
    Use Virlo to see this week's top TikTok trends to copy in [your niche]. Then build a Next.js page with a /api/trends route handler that fetches them from the Virlo API with process.env.VIRLO_API_KEY, showing each trend as a card with its stage and example video.

Deploy from v0 to Vercel and the project's environment variables come along, so the route handler keeps reading Virlo in production. Set the variable for Production and Preview if you test on preview links.

MCP connection vs route handler vs v0 API: which v0 route do I need?

RouteHow it is set upWhat it is for
Custom MCP server in the chat+ menu, then MCPs, then a custom server with OAuth or Bearer Tokenv0 researches TikTok and Instagram data while it designs
Route handler + VarsVIRLO_API_KEY in Vars and app/api/.../route.ts calling api.virlo.ai/v1The generated app serves fresh data to every visitor
v0 Platform APIv0.mcpServers.create({ name, url }), then mcpServerIds on a new chatTeams creating v0 chats programmatically with Virlo attached
MCP Connections settingsThe settings page for MCP servers in v0Managing Virlo once for all your chats

Pair the MCP server with an environment variable and v0 can use both in the same generation: research through MCP, then code that calls the API.

What does a v0 trend page receive from Virlo?

This is one trend record exactly as a v0 route handler would receive it: the format, what to keep, what to change and the videos behind it.

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

As of November 19, 2026 at 13:07 UTC

What does a v0 trend page receive from Virlo?
FieldValue
NameMy moon my man couple montage
StageFresh
Creators this week659
Creators last weeknew this week
Keep the sameThe song 'My Moon My Man' by Feist (often a specific remix or cover) and the theme of showing a romantic partner.
Make it yoursThe specific person or couple being shown and the setting of the clips.
Example videoExample video for the My moon my man couple montage trend@haleyybaylee

38 more trends to copy

The full list, with history and every example, is in the Virlo app and over the MCP server.

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, “v0 by Vercel with MCP: generate apps on live TikTok and Instagram data”, virlo.ai/v0

Why does v0 pair so well with live trend data?

v0 is at its best on interfaces: cards, tables, filters and charts built from shadcn/ui components. Trend data is mostly lists of structured records, so a single prompt can turn a Virlo response into a clean, sortable page.

Because v0 writes Next.js, caching comes built in. Set revalidate on the fetch to an hour and the page matches how often Trends to copy refresh, without calling Virlo on every visit.

A v0 workflow for marketing teams

A sensible way to go from idea to a deployed tool in v0:

  • Ask v0, with the Virlo MCP server enabled, to describe what this week's data in [your niche] looks like.
  • Have it generate the page from those real records, then refine the design in follow-up prompts.
  • Add VIRLO_API_KEY in Vars and ask for the route handler.
  • Use Design Mode for layout tweaks, then deploy to Vercel.
  • Share the URL with your team and keep improving the same v0 chat.

What if v0 does not call Virlo?

v0 decides tool use from the prompt and from the chat's permission mode. When nothing happens, work through these:

  • Make sure the Virlo server is enabled; a disabled custom server hides all its tools from v0.
  • Check the permission mode is not set to block tool calls for this chat.
  • Name Virlo in the prompt so v0 knows which source to use.
  • If the deployed page fails, confirm VIRLO_API_KEY is set for the environment you deployed to, such as Production.
  • Keep the fetch inside a route handler or server component, because a client component cannot read the variable.

How should a v0 app cache Virlo data?

Next.js gives v0 apps caching for free. Setting next: { revalidate: 3600 } on the fetch, as in the route handler above, tells Vercel to reuse the Virlo response for an hour and refresh it in the background after that.

For pages that change less often, such as a monthly client report, raise the window to a day. For a competitor page where someone types a handle, skip the cache and let each lookup run fresh. Ask v0 to apply the right setting per route so the app stays quick without serving stale trends.

Because the key never leaves the server, you can also render the data in a server component and send finished HTML, which keeps the page light on phones.

What can I ask v0 to build with Virlo?

Paste one into v0 with the Virlo MCP server enabled. Fill in the brackets.

  • Trend dashboard

    Build a Next.js dashboard of this week's TikTok trends to copy in [your niche], fetched from Virlo in a route handler, with a stage filter.

  • Outlier table

    Make a sortable table of [topic] videos from Virlo with a Virality Score of 18 or more, columns for creator, views and score, linking to each post.

  • Sound board

    Create a page that shows trending sounds on TikTok and Instagram Reels from Virlo side by side, refreshed every hour.

  • Hook gallery

    Use Virlo to gather 20 proven hooks in [your niche] and design a gallery page with one card per hook and its hook type.

  • Competitor view

    Build a page where I enter @[competitor] and see their recent TikTok and Instagram videos that beat their usual views, using Virlo.

  • Landing page proof

    Design a landing page section for [your product] that shows three live TikTok trends from Virlo as proof the product keeps up with the market.

  • Report template

    Generate a printable weekly report layout for [client] that pulls their niche's top trends and outliers on TikTok and Instagram from Virlo.

v0 vs Vercel vs the AI SDK: which guide fits?

Vercel makes several things people search for together.

v0 (this page)

Vercel's prompt-to-app builder at v0.app. Virlo joins as a custom MCP server and the app calls the API from a route handler.

Vercel

The hosting platform where v0 apps deploy; it stores the same environment variables your route handler reads.

Vercel AI SDK

Vercel's TypeScript library for building your own AI features in code, with MCP client support.

Bolt.new

A different browser app builder, from StackBlitz, that adds Virlo through Connectors.

What are the limits?

  • Virlo covers public TikTok and Instagram data and is read-only, so a v0 app can display and rank videos but cannot publish anything.
  • v0's global permission mode decides whether each Virlo tool call runs, asks for confirmation or is blocked; disabling the server turns its tools off.
  • Keep the key in Vars or project environment variables and read it only in server code such as a route handler, never in a client component.
  • Trends to copy refresh every hour, so an hourly revalidate on your fetch is all a v0 page needs.
  • Virlo plan details: pricing.

Frequently asked questions

Does v0 support MCP servers?

Yes. v0 lets you bring your own MCP server from the + menu in the prompt form or from the MCP Connections settings page. Custom servers can use No Auth, Custom Headers, Bearer Token or OAuth. Virlo works with OAuth or a Bearer Token.

How do I add a custom MCP server to v0?

Open the + menu in the prompt form, select MCPs and choose a custom server. Name it Virlo, paste https://dev.virlo.ai/api/mcp/mcp, pick OAuth and approve on Virlo's sign-in page. Keep the server enabled and v0 can call Virlo's research tools in that chat.

Where are environment variables in v0?

Click Vars in the chat sidebar, or open Project, then Settings, then Environment Variables. Variables belong to the project, so every chat inside it shares them. Add VIRLO_API_KEY there and read it in a route handler with process.env. Set it for Production as well so deployed builds work.

Can v0 build an app with TikTok data?

Yes, with Virlo. v0 can research TikTok trends to copy, sounds, hashtags and outlier videos through the MCP server, then generate a Next.js app whose route handler fetches the same data from api.virlo.ai/v1 on every request or on a cached schedule.

Can I use the v0 API with Virlo?

Yes. The v0 Platform API can register a custom MCP server with v0.mcpServers.create, passing a name and URL, then attach it to new chats through mcpServerIds. That lets a team spin up v0 chats with Virlo already connected. It suits agencies or product teams that generate many v0 projects from templates and want live social data in each one from the start.

Can v0 show Instagram Reels data?

It can, through Virlo. A route handler can request trending and breakout Reels sounds, Reels on a topic ranked by Virality Score, Instagram hashtags and creator lookups, and v0 designs the components to display them. Ask for a side-by-side TikTok and Reels view and v0 builds both columns from the same route handler, with a link to every source post.

Can a v0 app post to Instagram with Virlo?

No. Virlo only reads public data and never signs in to social accounts. Your v0 app can research and present what is working, and posting stays with the tools your team already uses. Because no social logins are involved, a v0 app built on Virlo is easy to share publicly or with clients without extra security review.

Is the v0 MCP server the same thing as Virlo in v0?

No. Vercel also runs a v0 MCP server so other assistants can drive v0. This guide goes the other way: v0 connects out to Virlo's MCP server to read TikTok and Instagram data. You can run both at once if you also drive v0 from another assistant such as Claude Code.

v0 MCP server for TikTok and Instagram: what does v0 get from Virlo?

v0 gets read-only research tools over public TikTok and Instagram data through one MCP URL: trends to copy, outlier videos ranked by Virality Score, hooks, sounds, hashtags, creators and TikTok transcripts. The Next.js code v0 writes can then request the same records from the Virlo REST API in a route handler.

Generate your v0 app on live social data

Add Virlo to v0, save one variable, and deploy a trend page to Vercel today.