Zernio for Cursor
Server URL
Add it under mcpServers in .cursor/mcp.json, then sign in from Cursor's MCP settings.
Run Threads from Cursor
Reply to comments, run Meta Ads campaigns, send conversions to the Meta Conversions API, read analytics and publish posts on Threads, 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.
- Inbox
- Meta Ads
- Conversions
- Analytics
- Publishing
Prototype a reply bot for Threads in your codebase 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.
- 01
Ask Cursor's agent: "pull five open Threads conversations through Zernio and save them as fixtures in tests/fixtures/".
- 02
It calls Zernio's inbox tools, writes the fixtures and a webhook handler that parses them, with tests.
- 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.
Ship the signup flow with its conversion event
- 01
You are rebuilding signup in Cursor. Ask the agent to add a server-side Lead event for the Meta Conversions API to the new handler.
- 02
It writes the call in your code, then sends a test event through Zernio and shows what the destination accepted.
- 03
Before you merge, ask it to list the Meta Ads campaigns that point at the changed route, so none send traffic to a page that moved.
How people run Threads from Cursor
Reply bot prototype
You are building a bot that answers Threads 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 Meta Conversions API and sends a test through Zernio, so the tracking ships in the same pull request.
Stats inside your app
You want Threads numbers on a page in your product. The agent reads real analytics through Zernio and writes the types and the component around the fields that come back.
Cursor and Threads in 4 steps
Cursor reaches Threads through the Zernio MCP server. No Zernio server to host and no Threads developer app of your own.
01
Connect Threads
Sign up free and connect an Instagram Business or Creator account with Threads enabled in Zernio.
Connect Threads02
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 Cursor can do on Threads
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.
Inbox
Cursor's agent reads real Threads comments to build and test the reply logic or webhook handler you are writing.
List replies, post a new reply, reply to replies, delete, and hide or unhide them.
Ads
Cursor's agent checks Meta Ads campaign landing URLs against your app's routes and compares results around a code change.
Campaigns and boosted posts on Meta Ads, from a separately connected ad account.
Meta Ads with ZernioConversions
Cursor's agent writes the server-side Meta Conversions API call into your handler and sends a test event before you merge.
Meta Conversions API: purchases, leads and sign-ups sent server-side to your Meta pixel (dataset), deduplicated against the browser pixel.
Conversions API docsAnalytics
Cursor's agent reads Threads analytics so the dashboard or report code you write matches the real fields.
Per-post views, likes, comments and shares (reposts and quotes combined).
Publishing
Cursor's agent drafts the Threads announcement for the branch you are working on, to go out after it merges.
- Text posts up to 500 characters, with no media required
- Image and video posts, one video per post
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
Threads rules the agent runs into
Set by Threads's API or by Zernio, whichever agent you use. Checked against the Zernio Threads docs on December 4, 2026.
- An account can publish 250 posts through the API per 24 hours, and a first comment counts as a post.
- Threads connects through Instagram, so losing Instagram access or having a restricted Instagram account blocks Threads publishing.
Connecting Cursor is free. Its calls bill like the API requests behind them.
Each Threads 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 Instagram Business or Creator account with Threads enabled 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 Threads 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. Threads exposes views, likes, comments and shares, where shares adds reposts and quotes together. Views is the reach figure to report.
Give Cursor your Threads account
Connect an Instagram Business or Creator account with Threads enabled, add Zernio to Cursor, and ask.
- Inbox
- Meta Ads
- Conversions
- Analytics
- Publishing