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 X from Cursor

Run X Ads campaigns, send conversions to the X Conversions API, answer DMs, reply to comments, read analytics and publish posts on X, 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.

  • X Ads
  • Conversions
  • Inbox
  • Analytics
  • 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

Ship the signup flow with its conversion event 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

    You are rebuilding signup in Cursor. Ask the agent to add a server-side Lead event for the X Conversions API to the new handler.

  2. 02

    It writes the call in your code, then sends a test event through Zernio and shows what the destination accepted.

  3. 03

    Before you merge, ask it to list the X Ads campaigns that point at the changed route, so none send traffic to a page that moved.

Prototype a reply bot for X in your codebase

  1. 01

    Ask Cursor's agent: "pull five open X 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 X from Cursor

Reply bot prototype

You are building a bot that answers X DMs and 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 X Conversions 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 X Ads campaigns and checks them against the app's routes, so no campaign ends up pointing at a page you removed.

Setup

Cursor and X in 4 steps

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

01

Connect X

Sign up free and connect an X account (free or Premium) in Zernio.

Connect X

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 X

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.

Ads

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

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

X Ads with Zernio

Conversions

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

X Conversions API: each event sent server-side to its own X Pixel event.

Conversions API docs

Inbox

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

  • Start and continue DMs with images and videos up to 25 MB.
  • List, post, reply to, like, hide and delete replies to your posts.

Analytics

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

Impressions, likes, comments, shares, clicks and bookmarks per post, plus media views on posts with a video or GIF.

Publishing

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

  • Text posts, with up to 20 images, 1 GIF or 1 video
  • Threads, with media on any post in the thread
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

X rules the agent runs into

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

  • X bills every API call; Zernio passes the cost through with no markup, so a card on file or a funded prepaid balance is required.
  • X rejects a post whose text matches one it already has.

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

Each X 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 an X account (free or Premium) 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 X 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.

Impressions, likes, comments, shares, clicks and bookmarks for every post. Views are reported only for posts with a video or GIF. On usage-based plans, X analytics must be turned on per account first.

Give Cursor your X account

Connect an X account (free or Premium), add Zernio to Cursor, and ask.

  • X Ads
  • Conversions
  • Inbox
  • Analytics
  • Publishing