KonQuest Meta Ads MCP

io.github.brandu-mos由 GitHub 账号 brandu-mos 发布v2.0.0更新于 Oct 24, 2026

Supervised Meta Ads operating system for Claude Code with 57 campaign management tools.

已验证STDIO仅桌面数据与分析商业与电商

概览

AI 生成的概览

让助手通过受监督的 Meta Marketing API 工具管理 Meta 广告系列、广告组、广告、创意、商品目录和效果数据。

可以做什么
提供 57 个工具,覆盖广告系列、广告组和广告的完整创建、读取与更新,并支持多素材广告创建、图片与视频上传、复制以及跨账户批量洞察。还包括像素与追踪诊断、商品目录与动态商品广告支持、定向搜索、命名规范强制和配置就绪检查。写入操作受验证器、安全层级、速率限制和回滚引用约束,广告默认以暂停状态创建。
适用场景
当助手需要在本地 Claude Code 会话中创建、检查或调整 Meta 广告投放并汇报效果时使用。适合希望变更受监督、带验证与回滚,而非完全自动化管理广告的运营人员。
运行要求
以 Python 包(PyPI konquest-meta-ads-mcp)通过 stdio 在本地运行,使用 uv 安装。需要 META_ACCESS_TOKEN 中的 Meta Marketing API 访问令牌;可选 META_APP_SECRET、META_APP_ID 和 VAULT_PATH。仅限桌面端,并需访问 Meta API 的网络连接。
安装前请注意
该服务器持有 Meta Marketing API 令牌,可读取并更改真实广告账户,包括预算和启用状态。写入与删除工具需操作者批准,但令牌权限范围仍决定可改动的内容。可选的 vault 路径指向本地客户情报文件,部分建议类工具可能写入本地文件。

安装

在 SourceWeft 中

  1. 打开 控制台中的 KonQuest Meta Ads MCP,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

KonQuest Meta Ads MCP

Supervised Meta Ads Operating System for Claude Code. You can find the premium version here: https://farasokster.gumroad.com/l/konquest-meta-ads-mcp-premium

Open-Core Model

KonQuest Meta Ads MCP uses an open-core model:

Public (this repo) - 57 tools, MIT license:

  • Full CRUD for campaigns, ad sets, and ads
  • Multi-asset ad creation (video + static image, multi-dimension)
  • Image upload and retrieval
  • Campaign and ad set duplication
  • Insights and bulk cross-account analytics
  • Pixel and tracking diagnostics (5 tools)
  • Catalog and DPA support (6 tools, including product set create/update)
  • Full targeting toolkit (6 tools)
  • Setup readiness checker (42+ checks with fix instructions)
  • Validation pipeline, naming enforcement, post-write verification
  • Safety tiers, rate limiting, rollback references
  • 215 automated tests

Premium bundle - adds 41 tools:

  • Advisory optimization engine (review queues, learning, experiments, budget governor, creative rotation)
  • Vault intelligence and copy generation (brand voice, ICP targeting, concept selection)
  • Greek language QA (Greeklish detection, orthography checks)
  • Automation suite (diagnostics, bulk operations, account audit)
  • Vault bootstrap (15 template files per client)
  • Premium tests and evaluations

Premium bundle available separately. Public tools work fully without it.

What Makes This Different

  • Production-tested across 37+ client campaigns with real budgets and real edge cases
  • Not a wrapper - includes optimization engine, safety gates, validators, and rollback
  • Vault-integrated - reads client intelligence (ICPs, brand voice, angles) to generate better ads
  • Greek language QA built in (adaptable to any language validation)
  • All ads created PAUSED - nothing goes live without explicit operator approval
  • Supervised, not autonomous - operator confirms every write, every activation, every budget change

Tool Classification

ClassificationCountDescription
production-safe38Read-only data access. No API writes, no local state changes.
supervised-only29Write/delete operations requiring operator approval before execution.
advisory-only31Generate recommendations, plans, copy, diagnostics. No Meta API writes. May write local files.
Total: 98 registered

Architecture

meta_ads_mcp/  core/          # 66 tools - API read/write operations  engine/        # 32 tools - optimization, review, learning, experiments  validators/    # Quality gates (compliance, creative specs, tracking, structure)  safety/        # Rate limiting, rollback, duplicate checking, file locks, tier access  ingestion/     # Internal: video manifest management  reporting/     # Internal: not currently active (see Non-Shipped Code)

Tool Categories

CategoryToolsDescription
Account Management6Token health, ad accounts, pages, IG identity, discovery
Campaigns4Create, read, update campaigns
Ad Sets4Create, read, update ad sets with targeting
Ads4Create, read, update ads
Creatives3Create, read ad creatives
Insights & Analytics1Performance data with archetype-aware normalization
Pixels & Tracking5Pixel health, event diagnostics, test events, CAPI
Catalogs & DPA6Product catalogs, feeds, product sets, validation
Audiences1Custom audience listing
Targeting3Interest, behavior, and geo search
Video Management3Upload (simple + resumable) and processing status
Ad Builder1Multi-asset ad creation with IG gate enforcement
Copy Engine2Vault-driven ad copy generation and validation
Naming Convention1Enforced naming schema for all objects
Automation & Diagnostics6Greek QA, full diagnostic, bulk ops, account audit
Vault & Intelligence2Client vault reader, concept selection
Optimization Engine4Optimization cycles, launch planning, execution packs
Mutation Corridor2Budget/targeting changes with verification
Activation & Rollback4Status changes and undo with preflight checks
Review Queue7Operator review queue, outcome snapshots, digests
Learning Layer5Policy memory, outcome evaluation, learning cycles
Experiments7A/B testing, budget governor, creative rotation, scaling
Copy Generation2Auto copy chain, vault-grounded Greek copy

Engine Features

  • Optimization loops - automated budget shifting based on performance signals
  • Experiment management - A/B test tracking with statistical significance
  • Budget governors - prevent overspend with configurable daily/lifetime limits
  • Creative rotation - fatigue detection and automatic creative refresh triggers
  • Policy learning - tracks action outcomes and adapts confidence over time
  • Naming gate - hard enforcement of naming conventions before any API write

Safety Features

  • Rate limiting - respects Meta API rate limits with backoff
  • Rollback - undo recent changes with execution journal
  • Duplicate checking - prevents accidental duplicate campaigns/ads
  • File locks - safe concurrent access to vault storage
  • Tier-based access - safety tiers per account (sandbox, standard, production)

Validator Suite

  • Compliance validator - Meta ad policy pre-check
  • Creative spec validator - image/video dimension and format validation
  • Tracking validator - pixel and event verification before launch
  • Structure validator - campaign structure consistency checks
  • Operational validator - budget, schedule, and targeting sanity checks

Non-Shipped Code

Code that exists in the repository but is NOT part of the active tool surface:

  • reporting/templates.py, reporting/formatter.py - not imported at runtime, no active report generation
  • evals/ - internal evaluation stubs, not operator-facing
  • Internal helpers (not MCP tools): identity.py (IG resolution), api.py (HTTP client), auth.py (token verification), utils.py (format helpers), safety/ (rate limiter, rollback, dedup), validators/ (pre-write validation pipeline)

Setup

1. Install

bash
cd meta-ads-mcpuv sync

2. Environment Variables

Copy .env.example to .env and fill in your values:

bash
cp .env.example .env

Required:

  • META_ACCESS_TOKEN - Meta Marketing API access token (system user token recommended)

Optional:

  • META_APP_SECRET - for appsecret_proof (recommended for production)
  • META_APP_ID - Meta app ID
  • VAULT_PATH - path to your marketing vault directory (defaults to ~/marketing-vault)

3. MCP Configuration

Add to your Claude Code MCP config (.mcp.json):

json
{  "mcpServers": {    "meta-ads": {      "command": "uv",      "args": ["--directory", "/path/to/meta-ads-mcp", "run", "python", "-m", "meta_ads_mcp"],      "env": {        "META_ACCESS_TOKEN": "your_token_here",        "VAULT_PATH": "/path/to/your/marketing-vault"      }    }  }}

4. Vault Structure (Optional)

If using the vault integration for client intelligence:

your-vault/  01_CLIENTS/{client-slug}/    00-profile.md        # Account IDs, pixel, page, IG    02-icp-personas.md   # Target audience profiles    04-brand-voice.md    # Tone, language, style rules    05-messaging-house.md # Angles, value props    08-objections.md     # Objections + bias deployment    matrix.md            # Decision Matrix  02_COMPETITORS/{slug}/    landscape.md         # Competitive landscape

Testing

bash
uv run --extra dev python -m pytest tests/ -v# Public package: 215 passed | Full (with premium): 246 passed

License

MIT - see LICENSE.

来源:README.md,提交 762c224

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v2.0.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分