原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Scaleforge MCP Meta Ads

作者:Mike25app版本 0.2.3i★ 0i在你的电脑上运行官方网站 ↗
注册名称io.github.Mike25app/scaleforge-mcp-meta-ads

安装方法

What it does

Meta Ads MCP by ScaleForge — control Facebook & Instagram Ads via Graph API v24.0. 32 tools.

  • Connects 在你的电脑上运行
  • Account or key Needs META_ACCESS_TOKEN
  • Category 营销与社交媒体

可搭配使用

教 AI 做这类工作的 Skill,可与本项一起使用

scroll-world

A skill that turn any brand into a scrollable 3D world landing page

作者:oso95★ 11,0651 个 skill

Skill · 操作手册

social-auto-upload

自动化上传视频到社交媒体:抖音、小红书、视频号、tiktok、youtube、bilibili

作者:dreammis★ 16,698 (whole repo)4 个 skill

Skill · 操作手册

native-subtitle-quote-image

保留视频内嵌字幕,精确取帧并生成 3:4 社交长图的 Agent Skill

作者:chengyi-ai★ 2,8911 个 skill

Skill · 操作手册

为什么排在这里

列表按使用分(满分 100)排序,由以下部分组成

热度0/80GitHub 星标或每周下载量:较大的计 60,较小的计 20
新鲜度12/1230 天内有发布或代码更新得满分
仍在响应0/8上次检查时云端端点有响应
使用分12/100

质量: 基础检查通过 3/3 项(仅展示,不用于排序) · 上升势头: 暂无数据 (只用于“上升中”标签)

安装

选择你使用的 AI 应用,然后复制设置。

用一句话让 AI 帮你安装

请帮我安装 Scaleforge MCP Meta Ads。按照 https://mcp.popnx.com/i/mike25app-scaleforge-mcp-meta-ads.md 操作,先把命令给我看,等我同意后再运行。

粘贴到能在你电脑上工作的 AI(如 Claude Code、Cursor)。它会读取我们的步骤,先给你看命令,等你同意。无需密钥,无需注册。 · 查看 AI 会读取的全文

通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月13日

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude,但需要先准备

需要 Scaleforge MCP Meta Ads 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用

让 AI 帮你安装

把这段话复制到 Claude 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Claude 安装 MCP server Scaleforge MCP Meta Ads,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "scaleforge-meta-ads": { "command": "npx", "args": [ "-y", "@getscaleforge/mcp-meta-ads" ], "env": { "META_ACCESS_TOKEN": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) META_ACCESS_TOKEN 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Scaleforge MCP Meta Ads 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 注册并创建 Scaleforge MCP Meta Ads 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    打开 Scaleforge MCP Meta Ads 网站 ↗

  3. 打开电脑版 Claude 应用的设置文件

    SettingsDeveloperEdit Config

  4. 粘贴这些设置并保存文件

    {
      "mcpServers": {
        "scaleforge-meta-ads": {
          "command": "npx",
          "args": [
            "-y",
            "@getscaleforge/mcp-meta-ads"
          ],
          "env": {
            "META_ACCESS_TOKEN": "your-value"
          }
        }
      }
    }

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 退出 Claude 再重新打开

  6. 试一试

    用 Scaleforge MCP Meta Ads 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 Scaleforge MCP Meta Ads,或回答中出现 Scaleforge MCP Meta Ads 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

ChatGPT 暂时无法连接 Scaleforge MCP Meta Ads

Scaleforge MCP Meta Ads 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器

你可以改用这些方式

A · 使用能连接 Scaleforge MCP Meta Ads 的应用

  • 需要 Scaleforge MCP Meta Ads 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
  • 需要 Scaleforge MCP Meta Ads 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)
  • 需要 Scaleforge MCP Meta Ads 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)
  • 需要 Scaleforge MCP Meta Ads 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)

B · 营销与社交媒体 类中能连接 ChatGPT 的其他服务器

从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的

可连接 Claude Code,但需要先准备

需要 Scaleforge MCP Meta Ads 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)

让 AI 帮你安装

把这段话复制到 Claude Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Claude Code 安装 MCP server Scaleforge MCP Meta Ads,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):claude mcp add --scope user scaleforge-meta-ads --env META_ACCESS_TOKEN=your-value -- npx -y @getscaleforge/mcp-meta-ads 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) META_ACCESS_TOKEN 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Scaleforge MCP Meta Ads 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 注册并创建 Scaleforge MCP Meta Ads 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    打开 Scaleforge MCP Meta Ads 网站 ↗

  3. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  4. 粘贴这条命令并按 Enter

    claude mcp add --scope user scaleforge-meta-ads --env META_ACCESS_TOKEN=your-value -- npx -y @getscaleforge/mcp-meta-ads

    按 Enter 前,把“your-value”改成你的密钥

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 Claude Code 中输入 /mcp

    应能看到 Scaleforge MCP Meta Ads 在列表中并显示已连接

  6. 试一试

    用 Scaleforge MCP Meta Ads 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 Scaleforge MCP Meta Ads,或回答中出现 Scaleforge MCP Meta Ads 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor,但需要先准备

需要 Scaleforge MCP Meta Ads 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)

让 AI 帮你安装

把这段话复制到 Cursor 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Cursor 安装 MCP server Scaleforge MCP Meta Ads,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "scaleforge-meta-ads": { "command": "npx", "args": [ "-y", "@getscaleforge/mcp-meta-ads" ], "env": { "META_ACCESS_TOKEN": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) META_ACCESS_TOKEN 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Scaleforge MCP Meta Ads 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 注册并创建 Scaleforge MCP Meta Ads 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    打开 Scaleforge MCP Meta Ads 网站 ↗

  3. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  4. 填写你的密钥

    在 Scaleforge MCP Meta Ads 的设置中,META_ACCESS_TOKEN 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 Cursor 中以 Agent 模式打开 AI 聊天

  6. 试一试

    用 Scaleforge MCP Meta Ads 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 Scaleforge MCP Meta Ads,或回答中出现 Scaleforge MCP Meta Ads 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code,但需要先准备

需要 Scaleforge MCP Meta Ads 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)

让 AI 帮你安装

把这段话复制到 VS Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 VS Code 安装 MCP server Scaleforge MCP Meta Ads,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "servers": { "scaleforge-meta-ads": { "type": "stdio", "command": "npx", "args": [ "-y", "@getscaleforge/mcp-meta-ads" ], "env": { "META_ACCESS_TOKEN": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) META_ACCESS_TOKEN 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Scaleforge MCP Meta Ads 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 注册并创建 Scaleforge MCP Meta Ads 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    打开 Scaleforge MCP Meta Ads 网站 ↗

  3. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  4. 填写你的密钥

    在 Scaleforge MCP Meta Ads 的设置中,META_ACCESS_TOKEN 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 VS Code 中以 Agent 模式打开 AI 聊天

  6. 试一试

    用 Scaleforge MCP Meta Ads 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 Scaleforge MCP Meta Ads,或回答中出现 Scaleforge MCP Meta Ads 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 Scaleforge MCP Meta Ads 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

安装在电脑上

Claude Code

claude mcp add --scope user scaleforge-meta-ads --env META_ACCESS_TOKEN=your-value -- npx -y @getscaleforge/mcp-meta-ads

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "scaleforge-meta-ads": {
      "command": "npx",
      "args": [
        "-y",
        "@getscaleforge/mcp-meta-ads"
      ],
      "env": {
        "META_ACCESS_TOKEN": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "scaleforge-meta-ads": {
      "command": "npx",
      "args": [
        "-y",
        "@getscaleforge/mcp-meta-ads"
      ],
      "env": {
        "META_ACCESS_TOKEN": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "scaleforge-meta-ads": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@getscaleforge/mcp-meta-ads"
      ],
      "env": {
        "META_ACCESS_TOKEN": "your-value"
      }
    }
  }
}

需要你填写的值

  • META_ACCESS_TOKEN 机密 必填 env
    Meta Marketing API 令牌(System User 或 Graph API Explorer)。详见 README。
    查看英文原文Meta Marketing API token (System User or Graph API Explorer). See README.

说明为自动翻译,变量名保持原样;不确定时请查看原文。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

每周下载量i
82/周
连接方式
在你的电脑上运行
最新版本i
0.2.3
发布到注册中心i
2026年4月17日
代码最后更新i
2026年11月15日
作者
Mike25app
软件包
npm: @getscaleforge/mcp-meta-ads
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

在你的电脑上运行,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

全部应用及其优缺点 →

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月19日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 Mike25app 验证,该账户拥有此仓库

  • ✓ 通过

    仍在维护

    代码最后更新于4天前

  • ✓ 通过

    有许可证

    使用 MIT

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

已公开的漏洞(OSV.dev)

OSV.dev 中没有 @getscaleforge/mcp-meta-ads@0.2.3 的记录

只检查这个版本的包本身,不包括所有依赖 · 检查于 2026年11月16日

我们检查什么 → · JSON

作者:申请重新检查或报告信息错误
给作者:在 README 中加徽章

如果你是作者,可把这段代码贴到 README。徽章会链接回本页。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/mike25app-scaleforge-mcp-meta-ads.svg)](https://mcp.popnx.com/en/servers/mike25app-scaleforge-mcp-meta-ads)

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

登录后发帖

用户评价

还没有评价

登录后写评价

与“营销与社交媒体”中的其他服务器比较i

  • 星标数多于此分类中其他 4196 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 4196 个服务器的 4% 更新
  • 基础检查结果等于或优于此分类中其他 4196 个服务器的 99%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Scaleforge MCP Meta Ads 安全吗?

它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:META_ACCESS_TOKEN

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于4天前,最新版本(0.2.3)于7个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Relaticle, ChatbotX, X (Twitter) MCP Server by Xquik, Betterlytics, BibiGPT YouTube Video Summarizer

功能相近的其他选择

同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Relaticle

Open-source CRM your AI agents can write to: companies, people, opportunities, tasks and notes.

作者:relaticle正在增长★ 1873今天更新

在云端运行✓ 服务方 · relaticle.com

ChatbotX

Omnichannel customer messaging, CRM contacts, flows, sequences, broadcasts, and AI automation.

作者:ChatbotXIO正在增长★ 1144 整个仓库的星标13天前更新

在云端运行✓ 服务方 · chatbotx.io

Betterlytics

Query your Betterlytics web analytics from AI agents: traffic, funnels, journeys, errors, uptime.

作者:betterlytics正在增长★ 1964个月前更新

在云端运行✓ 服务方 · betterlytics.io
与相似项目对比
本项
Scaleforge MCP Meta Ads
RelaticleChatbotXX (Twitter) MCP Server by XquikBetterlyticsBibiGPT YouTube Video Summarizer
运行位置需要安装在电脑上在云端运行,无需安装在云端运行,无需安装在云端运行,无需安装在云端运行,无需安装在云端运行,无需安装
需要密钥是否否否是否
可在 Claude 中按 + 添加否否否否否否
基础检查3/34/44/44/44/44/4
许可证MITAGPL-3.0NOASSERTIONMITAGPL-3.0MIT
价格登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Meta Ads MCP by ScaleForge

Control Facebook & Instagram Ads from Claude, ChatGPT, Cursor, or any MCP-compatible agent.

Direct Meta Graph API v24.0 wrapper. 32 tools. No backend required — just bring your own Meta access token.


The problem

Meta's Marketing API is powerful but punishing. Anyone who's tried to automate Meta Ads has run into these five walls:

  1. Rate-limit whack-a-mole (error code #17). Your script hits User request limit reached halfway through a launch and leaves campaigns in a half-configured state. Meta's per-account budget of calls resets over 5 minutes, but nothing in the API tells you that without context.
  2. Token expiry chaos. User access tokens from the Graph API Explorer die every ~2 hours. You fix a bug, come back from lunch, and every request is suddenly (#190) Error validating access token.
  3. v22 → v24 deprecations (Sept 2025). instagram_actor_id → instagram_user_id, degrees_of_freedom_spec is gone entirely, asset_feed_id has been deprecated since v3.1. Copy-pasted sample code from Stack Overflow breaks silently.
  4. Image hashes are per-ad-account. An image uploaded on Account A cannot be used on Account B — you get Image Not Found on the second account. Video IDs are global, but image hashes are not. This trips up 100% of first-time multi-account automations.
  5. The 250-ads-per-Page cap. Meta limits ads-running-or-in-review per Page (not per account) — and this limit is shared across every account using that Page. Overshoot and the 251st ad silently fails review.

The solution

This MCP is a thin, typed wrapper over Meta's Graph API with those five pains baked out:

  • Auto-batch for bulk ops (pause_campaigns_batch, activate_campaigns_batch, update_bids_batch) — up to 50 ops per HTTP request, chunked automatically. Sidesteps rate-limit code #17 for bulk work.
  • Pre-flight ads_volume check before every bulk activation — warns you when a Page is near the 250-ad cap, per ad account, before Meta silently fails the reviews.
  • Enhanced error messages with actionable links — when your token expires or a rate limit fires, the MCP tells your agent exactly what to do (create a System User token, wait 5 min, etc.).
  • v24.0 everywhere — current field names, no deprecated spec shapes.
  • PBIA auto-provisioning (get_pbia) — when a Page has no linked Instagram account, the MCP creates a Page-Backed Instagram Account on demand so IG placements work.

No ScaleForge backend is in the chain. Your agent → this MCP → https://graph.facebook.com/v24.0/*. That's it.


Hosted endpoint (no install)

Use the ScaleForge-hosted Streamable HTTP endpoint — zero install, nothing to run locally:

  • Smithery listing: https://smithery.ai/server/kirichyk-misha/meta-ads (one-click install for Claude Desktop, Cursor, Windsurf, Continue, ChatGPT Desktop — Smithery prompts for your Meta token, writes the config).
  • Direct URL for custom clients: https://getscaleforge.com/mcp (MCP Streamable HTTP). Supply your token via Smithery session config or Authorization: Bearer header. A request with no token at all gets 401 with an OAuth challenge (sign in with ScaleForge — see below).

Prefer a local npm install? Use the stdio package below.


ScaleForge data tools — analyse the competitor ads you saved

Optional second tool group (since 0.4.0). If you scan competitors in Facebook Ad Library with the FB Ads Library Scraper Pro Chrome extension and click *Save to ScaleForge*, Claude can read those scans and analyse them on your own Claude plan — e.g. *"analyse the last 100 ads of competitor X"*, *"what's new in my Watchlist?"*, *"what did Acme launch since last week?"*.

One click, no token (claude.ai, Claude Desktop, mobile, Claude Code). The hosted endpoint speaks OAuth 2.1: ScaleForge is the authorization server, and a request without credentials gets 401 WWW-Authenticate: Bearer resource_metadata=…, so Claude opens the ScaleForge sign-in window by itself.

  • claude.ai: click *Connect to Claude* at [getscaleforge.com/connect/claude](https://getscaleforge.com/connect/claude) — claude.ai opens with the connector filled in → *Add* → *Connect* → *Allow* in the ScaleForge window. Or add a custom connector with the URL https://getscaleforge.com/mcp by hand.
  • Claude Code: claude mcp add --scope user --transport http scaleforge https://getscaleforge.com/mcp, then /mcp → scaleforge → *Authenticate*.

Two entrances on the same server:

URLShown in Claude asTools
https://getscaleforge.com/mcpScaleForgeScaleForge data tools (+ Meta Ads tools when a Meta token is sent)
https://getscaleforge.com/mcp/scraperFB Ads Library Scraper Pro by ScaleForgesaved scans + Watchlist only

Signed in through OAuth (an sf_ token only), /mcp lists just the ScaleForge data tools — Meta Ads tools need a Meta token. Access tokens live 1 hour and are refreshed automatically; a revoked or expired token gets 401 error="invalid_token" (checked against GET /oauth/token_info, cached for a minute).

Manual token (other MCP clients):

  1. Sign in at [getscaleforge.com/connect/claude](https://getscaleforge.com/connect/claude) → *For developers* → *Create token*. The token is read-only (scans:read, hunted_creatives:read, watchlist:read) and starts with sf_.
  2. Connect — pick one:
# Claude Code, hosted endpoint (nothing to install)

claude mcp add --transport http scaleforge https://getscaleforge.com/mcp \ --header "Authorization: Bearer sf_YOUR_TOKEN"

Claude Code, local stdio

claude mcp add scaleforge --env SCALEFORGE_API_TOKEN=sf_YOUR_TOKEN -- npx -y @getscaleforge/mcp-meta-ads

Claude Desktop (claude_desktop_config.json):

{

"mcpServers": { "scaleforge": { "command": "npx", "args": ["-y", "@getscaleforge/mcp-meta-ads"], "env": { "SCALEFORGE_API_TOKEN": "sf_YOUR_TOKEN" } } } }

Both tokens can live in one server: add META_ACCESS_TOKEN next to SCALEFORGE_API_TOKEN (stdio), or send Authorization: Bearer plus X-ScaleForge-Token: sf_… (hosted). On the hosted endpoint a Bearer token that starts with sf_ is treated as the ScaleForge token; ?scaleforgeApiToken= (Smithery config) also works. Without a ScaleForge token these tools answer with instructions instead of failing; Meta tools are unaffected. SCALEFORGE_API_URL overrides the API base (default https://getscaleforge.com) for local development; SCALEFORGE_PUBLIC_URL overrides the public origin used in the OAuth resource URLs.

Prompt `analyze_competitor_ads` (args: competitor, scan_id, ads_count, language) packages the analysis method: probable winners (longest-running active ads), hooks, offers, angles, CTAs, landing pages, testing pattern and 5 new ad ideas. In Claude Code: /mcp__scaleforge__analyze_competitor_ads.


Quick start — pick one

Smithery (easiest, auto-configures the client)
npx -y @smithery/cli install @getscaleforge/mcp-meta-ads --client claude

also: --client cursor | --client windsurf | --client continue

Smithery will prompt you for the Meta access token and write the config file.

Claude Code CLI
claude mcp add scaleforge \

--env META_ACCESS_TOKEN=YOUR_TOKEN \ -- npx -y @getscaleforge/mcp-meta-ads

Verify with claude mcp list.

Claude Desktop (manual JSON config)

Edit ~/Library/Application Support/Claude/claude_desktop_config.json on macOS (or the Windows / Linux equivalent — Claude Desktop creates it if missing):

{

"mcpServers": { "meta-ads": { "command": "npx", "args": ["-y", "@getscaleforge/mcp-meta-ads"], "env": { "META_ACCESS_TOKEN": "YOUR_TOKEN_HERE" } } } }

Restart Claude Desktop. The 32 tools appear under the hammer icon.

Cursor

Create .cursor/mcp.json in your project (or ~/.cursor/mcp.json globally):

{

"mcpServers": { "meta-ads": { "command": "npx", "args": ["-y", "@getscaleforge/mcp-meta-ads"], "env": { "META_ACCESS_TOKEN": "YOUR_TOKEN_HERE" } } } }

Local test (no client setup)
META_ACCESS_TOKEN=YOUR_TOKEN npx -y @getscaleforge/mcp-meta-ads

The server starts on stdio. Poke it interactively with @modelcontextprotocol/inspector:

npx -y @modelcontextprotocol/inspector \

env META_ACCESS_TOKEN=YOUR_TOKEN npx -y @getscaleforge/mcp-meta-ads


Architecture

┌──────────────┐       MCP stdio        ┌───────────────────┐    HTTPS + OAuth token    ┌──────────────────────┐

│ Claude / GPT │ ◄────────────────────► │ mcp-meta-ads │ ◄───────────────────────► │ Meta Graph API v24 │ │ Cursor │ JSON-RPC over stdio │ (this package) │ graph.facebook.com │ Marketing API │ │ ChatGPT Desk │ │ │ │ │ └──────────────┘ └───────────────────┘ └──────────────────────┘

The MCP is a thin, typed translation layer. It does not cache, does not proxy, does not phone home. Every call goes from your machine straight to Meta's servers with your token.


Get a Meta Access Token

You need an access token with ads_management, ads_read, business_management, and (for Page-scoped work like PBIA provisioning) pages_read_engagement + pages_manage_ads.

There are two kinds of tokens. Pick based on your use case.

Option 1 — Quick token (2 minutes, expires in ~2 hours)

Good for: trying the MCP, quick experiments, one-off scripts.

  1. Open the Graph API Explorer.
  2. In the User or Page dropdown, select User Token.
  3. Click Add a Permission and select: ads_management, ads_read, business_management, pages_read_engagement, pages_manage_ads.
  4. Click Generate Access Token and approve the dialog.
  5. Copy the token at the top. That's your META_ACCESS_TOKEN.

The token expires in ~2 hours. When it dies, the MCP will return an enhanced error pointing you here.

Option 2 — Stable token (never expires)

Good for: production, scheduled jobs, anything you don't want to re-auth every 2 hours.

You generate a System User token inside Meta Business Manager. System User tokens have no expiry and can be scoped to specific assets (ad accounts + Pages). This is the same token type ScaleForge and every production Meta integration uses.

  1. Create a Facebook App (if you don't have one) at developers.facebook.com/apps. Any app works — Business type is fine.
  2. Create a Business Manager at business.facebook.com. You need this as the container for your System User.
  3. Add your ad accounts and Pages to the Business under Business Settings → Accounts → Ad Accounts / Pages. (If they're owned by another Business, request access.)
  4. Create a System User: Business Settings → Users → System Users → Add → name it (e.g. mcp-meta-ads) → role Admin. *[screenshot: Business Settings → Users → System Users tab with "Add" button]*
  5. Assign ad accounts to the System User: click the System User → Add Assets → pick Ad Accounts → select yours → turn on Manage permission. Repeat for Pages. *[screenshot: Add Assets dialog with "Manage" toggle highlighted]*
  6. Generate the token: click Generate New Token → select your Facebook App → pick scopes:
  • ads_management
  • `ads_

只显示了开头部分;其余内容请在仓库中阅读