Skip to content
  • Meta Ads
  • Plugin
  • MCP server

How to use Meta Ads in Claude Code with AdsGPT

Meta Ads already works in the AdsGPT assistant and is coming soon to Claude Code. Keep AdsGPT installed in Claude Code and connect Meta Ads once: when it arrives, there's nothing else to set up.

Meta Ads is coming soon to your AI. It already works in the AdsGPT assistant, on the web and in the mobile app. In ChatGPT, Claude and other AI it shows as coming soon.

Try it free — 50 actions/moInstall in Claude CodeOfficial documentation

Today you manage Meta Ads from the AdsGPT assistant, on the web and in the mobile app. In Claude Code it shows as coming soon: AdsGPT already works with Google Ads from Claude Code and will add Meta Ads to its MCP server without you reinstalling anything.

Meta Ads puts your ads on Facebook, Instagram, Messenger and Audience Network. With AdsGPT you get reports by account, campaign, ad set or ad, broken down by age, gender, country, platform, position (feed, stories, reels) or device; you activate, pause or archive; adjust budgets and targeting; and create image campaigns for awareness or traffic. Ads speak as your Facebook page and, optionally, your Instagram account.

What you can do with Meta Ads

  • Reports with breakdowns

    Reach, frequency, clicks, spend, CPM, CTR and CPC, plus results such as leads or purchases when the account measures them with a pixel.

  • Budgets and targeting

    Change daily or total budgets and an ad set's targeting: countries, cities, interests, behaviors, ages and genders.

  • Image campaigns

    Awareness or traffic with 1 to 5 square or vertical image ads, automatic placements, created paused.

Requirements

  • An AdsGPT account with at least one ad platform connected.
  • Claude Code installed (terminal, VS Code extension or the Code tab in the desktop app).
  • A browser to complete the OAuth sign-in.

Step-by-step setup

Connect Meta Ads in AdsGPT

    1. Sign in to app.adsgpt.dev as the organization owner.
    2. Open Plugins and choose Meta Ads.
    3. Sign in with the Meta account that has access to your ad accounts and authorize AdsGPT.
    4. Your Meta Ads accounts show up in AdsGPT and any member can use them from the AdsGPT assistant, as their role allows.

    Add AdsGPT to Claude Code: install with one link

    • Plugin
    • Recommended
    1. With Claude Code installed, open the AdsGPT install link. Claude Code opens in a new terminal with the install request already typed.
    2. Review the request and press Enter. Claude Code adds the marketplace and installs the plugin, asking your permission for each command.
    3. Run /reload-plugins and then /mcp, choose plugin:adsgpt:adsgpt and sign in in the browser.

    The link works once you have sent at least one message in an interactive Claude Code session on that computer, which is when it registers claude-cli:// links. If nothing opens, use the commands below.

    Install the AdsGPT plugin

    • Plugin
    1. In a Claude Code session, add the marketplace and install the plugin.
      Claude Code
      /plugin marketplace add adsgpt-dev/agent-plugins
      /plugin install adsgpt@adsgpt
    2. Or from your shell, without opening a session:
      Terminal
      claude plugin marketplace add adsgpt-dev/agent-plugins
      claude plugin install adsgpt@adsgpt
    3. If Claude Code asks, run /reload-plugins.
    4. Run /mcp, choose plugin:adsgpt:adsgpt and sign in in the browser window that opens.

    In the desktop app's Code tab use + → Plugins → Add plugin; in the VS Code extension, /plugins. To update: /plugin marketplace update adsgpt.

    Add the MCP server only

    • MCP server
    1. Add it for all your projects:
      Terminal
      claude mcp add --transport http --scope user adsgpt https://mcp.adsgpt.dev
    2. Or for a single project, in .mcp.json:
      .mcp.json
      {
        "mcpServers": {
          "adsgpt": {
            "type": "http",
            "url": "https://mcp.adsgpt.dev"
          }
        }
      }
    3. Run /mcp, choose adsgpt and sign in.

    Example prompts for Meta Ads

    • “Which Instagram ads had the best CTR this month, by position?”
    • “Archive the Meta ads with a CPC above 1 dollar in the last 14 days.”
    • “Create a Meta traffic campaign for my store with three image ads.”

    Security and approvals

    • You sign in with OAuth 2.1: you never copy or share API keys.
    • The ads:read scope comes first; ads:write is only requested the first time a tool changes something.
    • Every change shows the current and new value and waits for your approval.
    • New campaigns launch paused unless you ask otherwise.
    • AdsGPT acts with your role on the account and receives tool calls, never your conversation.

    Tips

    • Ask Claude Code to save reports as CSV or Markdown in your repository so you can version them.
    • Plugin skills appear as /adsgpt:<skill>, but Claude also uses them on its own when relevant.

    Frequently asked questions

    Can I use Meta Ads in Claude Code?

    Not yet. Meta Ads already works in the AdsGPT assistant, on the web and in the app, and is coming soon to the MCP server. Until then, Claude Code lists it as coming soon.

    Do I have to connect Meta Ads inside Claude Code?

    No. Meta Ads is connected once in AdsGPT and is then available to your organization.

    Can my Meta Ads campaigns be changed without permission?

    No. Reads run instantly, but every change shows the current and new value and waits for your approval. New campaigns are created paused.

    Can I manage several networks at once?

    In the AdsGPT assistant you already work with Google Ads, Meta Ads, TikTok Ads, LinkedIn Ads, X Ads, Reddit Ads, OpenAI Ads and Unity Ads. From Claude Code, Google Ads is available today and the rest are coming soon. A campaign on several networks is created on each with the same name, so your reports tie them together.

    Which Meta Ads campaigns can I create?

    Image campaigns for awareness or traffic, with 1 to 5 ads. Ads about credit, employment, housing, social issues or politics need a special ad category and are made in Ads Manager.

    What do I need to connect Meta Ads?

    The organization owner opens Plugins → Meta Ads in AdsGPT and signs in with the Facebook account that has access to your ad accounts. Creating ads needs a Facebook page.

    Can I change an ad's text or image?

    Meta doesn't allow it: a new version is a new ad, whose results start over. AdsGPT can change an ad's name or the page it opens.

    Meta Ads with artificial intelligence →
    Meta Ads + Claude Code

    Start managing your ads from your AI

    Create your AdsGPT account, connect your ad networks and add the integration in minutes.