Cursor

Zernio for Cursor

Server URL

Add it under mcpServers in .cursor/mcp.json, then sign in from Cursor's MCP settings.

in .cursor/mcp.json

Run YouTube from Cursor

Read analytics, reply to comments, run Google Ads campaigns, send conversions to the Google Ads conversion API and publish posts on YouTube, from Cursor. Cursor is where you build the product, so its agent can write the code that talks to Zernio and test it against your real accounts in the same chat.

  • Analytics
  • Inbox
  • Google Ads
  • Conversions
  • Publishing

Join 200,000+ of the world's most ambitious developers and builders

Warner Music Group
Runable
ClickUp
MoFlo
RE/MAX
Readdy
Build Zernio into your product

Build a stats view for YouTube from real data with Cursor

In Cursor the agent edits your codebase. With the Zernio tools beside it, it can look at real platform data while it writes the webhook handler, the reply bot or the conversion call that your app will run on its own later.

  1. 01

    Ask Cursor's agent: "read our YouTube analytics through Zernio and build a component that shows the last 30 days".

  2. 02

    It looks at the fields Zernio returns, then writes the types and the component around them in your codebase.

  3. 03

    You review the diff and the tool calls side by side in the chat.

Prototype a reply bot for YouTube in your codebase

  1. 01

    Ask Cursor's agent: "pull five open YouTube conversations through Zernio and save them as fixtures in tests/fixtures/".

  2. 02

    It calls Zernio's inbox tools, writes the fixtures and a webhook handler that parses them, with tests.

  3. 03

    Next ask it to draft replies to those real conversations with your bot's logic, so you see its output on live data before anything is wired to send.

Use cases

How people run YouTube from Cursor

Reply bot prototype

You are building a bot that answers YouTube comments. Cursor's agent pulls real conversations through Zernio as fixtures and writes the handler and tests against them, before the bot sends anything.

Conversion events in the handler

While editing your checkout or signup code, the agent adds the server-side event for the Google Ads conversion API and sends a test through Zernio, so the tracking ships in the same pull request.

Campaigns that match the routes

Before a route changes, the agent reads the landing URLs of your Google Ads campaigns and checks them against the app's routes, so no campaign ends up pointing at a page you removed.

Setup

Cursor and YouTube in 4 steps

Cursor reaches YouTube through the Zernio MCP server. No Zernio server to host and no YouTube developer app of your own.

01

Connect YouTube

Sign up free and connect a YouTube channel you own, on a personal Google account or a Brand Account in Zernio.

Connect YouTube

02

Add the server

Put this in ~/.cursor/mcp.json, or .cursor/mcp.json to share it with the project.

03

Sign in

Open Cursor's MCP settings, find zernio and start the sign-in. Approve the connection in the browser tab it opens.

04

Check it works

In Cursor's MCP settings, confirm zernio is connected and its tools are listed.

Good to know in Cursor

  • The server can be per project (.cursor/mcp.json in the repo) or global (~/.cursor/mcp.json), so a client project can have its own Zernio account.
  • A rule in .cursor/rules can tell the agent how to use Zernio in this repo, for example never to send a reply, only to draft it.
  • Each Zernio tool call shows up in the chat next to the agent's file edits, so code and platform changes are reviewed in one place.
What it can do

What Cursor can do on YouTube

Cursor is where you build the product, so its agent can write the code that talks to Zernio and test it against your real accounts in the same chat.

Analytics

Cursor's agent reads YouTube analytics so the dashboard or report code you write matches the real fields.

Per-video views, likes and comments, plus daily views and watch time, channel insights, audience demographics and retention curves (daily and demographic data run 2 to 3 days behind).

Inbox

Cursor's agent reads real YouTube comments to build and test the reply logic or webhook handler you are writing.

List, reply to and delete comments on videos, and approve, reject or hold comments for review with an optional author ban.

Ads

Cursor's agent checks Google Ads campaign landing URLs against your app's routes and compares results around a code change.

Campaigns and boosted posts on Google Ads, from a separately connected ad account.

Google Ads with Zernio

Conversions

Cursor's agent writes the server-side Google Ads conversion API call into your handler and sends a test event before you merge.

Google Ads conversions: events sent server-side to an enabled conversion action, which YouTube campaigns optimize toward.

Conversions API docs

Publishing

Cursor's agent drafts the YouTube announcement for the branch you are working on, to go out after it merges.

  • Videos: one video per post, with title, description, tags, visibility, category and an optional custom thumbnail
  • Shorts: detected by YouTube from the video itself (3 minutes or shorter, vertical or square), with no flag to set
Prompts

Ask in plain words. Cursor picks the tools.

Written for how Cursor works. Copy one, change the details.

Build Zernio into your product, in Cursor

Limits

YouTube rules the agent runs into

Set by YouTube's API or by Zernio, whichever agent you use. Checked against the Zernio YouTube docs on December 4, 2026.

  • Unverified channels are limited to 15-minute videos, and YouTube applies custom thumbnails only on phone-verified channels.
  • YouTube caps API use at 10,000 quota units a day per project; liking a video and creating a playlist cost 50 units each, and a first caption read costs 200.

Connecting Cursor is free. Its calls bill like the API requests behind them.

Each YouTube account counts as one connected account. The first 2 connected accounts are free, then $6 per account a month, falling to $1 as you add more.

Frequently Asked Questions

Connect a YouTube channel you own, on a personal Google account or a Brand Account in Zernio first. Then, in Cursor: add the server and sign in. In Cursor's MCP settings, confirm zernio is connected and its tools are listed.

Either. In a repo's .cursor/mcp.json it is there for that project only; the same entry in ~/.cursor/mcp.json adds it everywhere.

Yes. The Zernio tools sit beside Cursor's editing tools, so one request can change the code that sends an event and then check the result on YouTube through Zernio.

No. Cursor uses the MCP server while you build. The code it writes, like a webhook handler or a reply bot, calls the Zernio API with your API key and runs without Cursor.

Yes. Add a rule in .cursor/rules, for example to draft replies but never send them, or to ask before pausing a campaign. Set it to apply always and the agent follows it in that project.

No. YouTube's Analytics API does not expose impressions or impressions click-through rate. You get views, likes, comments, watch time, subscriber changes, demographics and retention.

Give Cursor your YouTube account

Connect a YouTube channel you own, on a personal Google account or a Brand Account, add Zernio to Cursor, and ask.

  • Analytics
  • Inbox
  • Google Ads
  • Conversions
  • Publishing