Zernio for Cursor
Server URL
Add it under mcpServers in .cursor/mcp.json, then sign in from Cursor's MCP settings.
Run Facebook from Cursor
Reply to reviews, answer DMs, reply to comments, run Meta Ads campaigns, send conversions to the Meta Conversions API, run catalog ads, read analytics and publish posts on Facebook, 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
- Catalog ads
- Analytics
- Publishing
Prototype a reply bot for Facebook 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 Facebook 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 Facebook from Cursor
Reply bot prototype
You are building a bot that answers Facebook reviews, 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 Meta Conversions API and sends a test through Zernio, so the tracking ships in the same pull request.
Stats inside your app
You want Facebook 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 Facebook in 4 steps
Cursor reaches Facebook through the Zernio MCP server. No Zernio server to host and no Facebook developer app of your own.
01
Connect Facebook
Sign up free and connect a Facebook Page where you are an Admin or Editor in Zernio.
Connect Facebook02
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 Facebook
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 Facebook reviews, DMs and comments to build and test the reply logic or webhook handler you are writing.
- Read and send Messenger DMs with attachments, quick replies, buttons and carousels.
- List, reply to, like, hide and delete comments, and send a private DM reply to a commenter.
- List Page reviews and reply to 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 docsCatalog ads
Cursor's agent compares your Meta catalog with the products in your own database to find what is missing.
Advantage+ catalog ads that promote a product set from your Meta product catalog.
Analytics
Cursor's agent reads Facebook analytics so the dashboard or report code you write matches the real fields.
Impressions, likes, comments, shares, clicks and views per post, plus Page insights (reach, engagement, follower counts), reactions by type, Reel retention and post earnings.
Publishing
Cursor's agent drafts the Facebook announcement for the branch you are working on, to go out after it merges.
- Feed posts: text only, image, video or multi-image
- Link carousels of 2 to 10 cards, each with its own link
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
Facebook rules the agent runs into
Set by Facebook's API or by Zernio, whichever agent you use. Checked against the Zernio Facebook docs on December 4, 2026.
- Only Pages can post through the API; personal profiles and Groups cannot.
- Zernio caps each Page at 250 posts per day, and Meta allows 30 API-published Reels per Page per rolling 24 hours.
Connecting Cursor is free. Its calls bill like the API requests behind them.
Each Facebook 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 Facebook Page where you are an Admin or Editor 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 Facebook 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 views for each post, plus Page insights such as reach, engagement and follower counts over up to 89 days. Reels also report retention and watch time.
Give Cursor your Facebook account
Connect a Facebook Page where you are an Admin or Editor, add Zernio to Cursor, and ask.
- Inbox
- Meta Ads
- Conversions
- Catalog ads
- Analytics
- Publishing