4,500+ servers built on MCP Fusion
Vinkius
Meta Ads logo
Vinkius
Claude Code logo

How to Use the Meta Ads MCP in Claude Code

Control Meta Ads from your terminal and build headless marketing pipelines with Claude Code.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

Meta Ads MCP on Cursor AI Code Editor MCP Client Meta Ads MCP on Claude Desktop App MCP Integration Meta Ads MCP on OpenAI Agents SDK MCP Compatible Meta Ads MCP on Visual Studio Code MCP Extension Client Meta Ads MCP on GitHub Copilot AI Agent MCP Integration Meta Ads MCP on Google Gemini AI MCP Integration Meta Ads MCP on Lovable AI Development MCP Client Meta Ads MCP on Mistral AI Agents MCP Compatible Meta Ads MCP on Amazon AWS Bedrock MCP Support
MCP Servers - Free for Subscribers
Claude Code

Connect Meta Ads MCP to Claude Code

Create your Vinkius account to connect Meta Ads to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.

GDPR Free for Subscribers

Headless campaign auditing via Claude Code

`list_campaigns` is the tool you call to dump your entire active Meta Ads portfolio directly into your Claude Code terminal. Claude Code filters this list, checks performance metrics via `get_campaign_insights`, and pipes the output to standard Unix tools to analyze Facebook spend. You can write cron jobs that trigger this terminal-based Meta Ads check every hour using Claude Code. If your Facebook cost-per-lead crosses a threshold, your script tells Claude Code to act, keeping your terminal-based operations incredibly fast.

Scripted Facebook ad pausing and activation

`pause_campaign` gives your Claude Code shell scripts the power to instantly stop bleeding Meta campaigns without opening a browser. Claude Code executes this command over secure HTTP or stdio transports, making it perfect for automated Meta Ads CI/CD pipelines. When you push new creative assets to production, your pipeline can run `activate_campaign` via Claude Code to launch the matching Facebook ad set. This connects your Claude Code terminal deployment directly to your Meta Ads marketing spend.

Feed terminal pipelines with this Meta Ads MCP Server

`get_account_info` retrieves your Meta Ads account status and metadata directly into your Claude Code terminal session. This MCP Server exposes clean Facebook API JSON payloads that Claude Code can parse and feed into your backend databases. You don't need to write custom Python wrappers for the Meta API when using Claude Code. The server handles the raw Facebook request formatting, letting you focus on writing clean shell pipes and Claude Code automation scripts.

Setup guide

Set up Meta Ads MCP in Claude Code

Prerequisites

  • Claude Code CLI installed (npm install -g @anthropic-ai/claude-code)
  • Active Vinkius subscription with a valid endpoint token
  1. 1

    Run the add command

    Open your terminal and run the command shown on the right. Replace [YOUR_TOKEN_HERE] with your endpoint token from cloud.vinkius.com. Use --scope user to make it available across all projects.

  2. 2

    Verify the connection

    Start a Claude Code session and type /mcp to list connected servers. You should see meta-ads-mcp with a green status indicator.

  3. 3

    Start using tools

    Ask Claude Code something like "Check my latest Meta Ads transactions." It will automatically discover and invoke the available Meta Ads tools.

Terminal
claude mcp add --transport http meta-ads-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp

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 Claude Code

You invoke `get_campaign_insights` directly from your Claude Code terminal to fetch real-time Facebook performance metrics. Claude Code then processes the data and executes `pause_campaign` if your target metrics are not met.
Yes, this terminal-friendly MCP Server returns clean Facebook JSON that you can pipe directly within Claude Code. Your CLI agent handles the tool execution, letting you filter campaign lists in milliseconds.
You configure your connection token in your local Claude Code config file. The server handles the OAuth handshake with Meta, allowing your command-line agent to run queries securely.
Yes, the `list_audiences` tool fetches your Facebook custom target groups directly into your Claude Code terminal session. You can quickly inspect audience sizes and sync them with your external data pipelines.
Your campaign spend and Meta ad account metrics are never persisted on Vinkius servers. The integration runs in a zero-trust sandbox, passing your live Meta API responses directly to your Claude Code session.

Start using the Meta Ads MCP today

We host it, we monitor it, we maintain it. You just paste one token.

Built & Managed by Vinkius 30s setup 10 tools

We've already built the connector for Meta Ads. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 10 tools are live and waiting. You're up and running in seconds.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.