How to Use the Meta Ads MCP in Windsurf
Stop manually babysitting your Meta Ads Manager and let Windsurf's Cascade autonomously optimize your ad campaigns.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Meta Ads MCP to Windsurf
Create your Vinkius account to connect Meta Ads to Windsurf and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Auto-pause bleeding Meta ad campaigns with Cascade
`pause_campaign` is the tool Windsurf uses the second your Facebook cost-per-acquisition spikes. Cascade pulls live performance data using `get_campaign_insights` and immediately kills the budget-wasters before you even notice the spend on Meta Ads. Instead of waiting for a manual review in Meta Ads Manager, your Windsurf agent runs this loop on a schedule. Cascade scans your active Meta ad sets, identifies the losers, and executes the pause command without needing your constant approval.
Chain audience research and ad set creation
`list_audiences` lets Cascade inspect your custom Facebook target groups directly inside the Windsurf IDE. The Windsurf agent reads your current setup, pulls active creatives using `list_creatives`, and prepares the next logical Meta Ads targeting test. You specify a target Meta ROAS goal, and Cascade maps out the entire sequence. It checks which Meta creative assets match your high-performing cohorts and queues up the next steps inside Windsurf without asking for permission at every turn.
Real-time budget shifting via this Meta Ads MCP Server
`activate_campaign` becomes an automated action when Cascade detects a high-performing Meta Ads campaign that was previously paused. This MCP Server exposes your live Meta metrics so Windsurf can shift budgets to winning campaigns instantly. Cascade compares active performance via `get_account_insights` against historical baselines to scale up Facebook budgets. When it finds a winner, it scales the campaign up, keeping your Meta Ads acquisition costs low while you focus on writing code inside Windsurf.
Set up Meta Ads MCP in Windsurf
Prerequisites
- Windsurf IDE installed (macOS, Windows, or Linux)
- Active Vinkius subscription with a valid endpoint token
- 1
Open MCP configuration
Click the Cascade assistant icon in the sidebar, then click the hammer icon (🔨) at the top of the panel. Select "Configure" to open
~/.codeium/windsurf/mcp_config.json. - 2
Add the Meta Ads MCP
Paste the JSON snippet shown on the right into the
mcpServersobject. Replace[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. - 3
Refresh MCPs
Go back to the hammer icon (🔨) in Cascade and click "Refresh". Windsurf will detect the new server. No full restart is needed — the connection is hot-reloaded.
- 4
Verify in Cascade
Start a new Cascade conversation and ask something like "Show my Meta Ads payment history." If connected, Cascade will call the Meta Ads tools directly. You will see a green dot next to the server name in the MCP panel.
{
"mcpServers": {
"meta-ads-mcp": {
"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
}
}
} Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Meta Ads. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Meta Ads MCP in Windsurf
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Meta Ads MCP today
We host it, we monitor it, we maintain it. You just paste one token.