Logo KonQuest Meta Ads MCP

KonQuest Meta Ads MCP

Cộng đồng
brandu-mos

57-tool supervised Meta Ads MCP server for Claude Code. Open-core: full CRUD, multi-asset ads, targeting, diagnostics, safety gates. Premium adds 41 tools: optimization engine, vault intelligence, copy generation.

Nhà phát hànhbrandu-mos
Kho mãkonquest-meta-ads-mcp
Ngôn ngữPython
Bản fork
12
Sao
44
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    KonQuest Meta Ads MCP cung cấp các chức năng MCP cho các ứng dụng khách AI và tác nhân AI tương thích.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Mẫu cấu hình có thể sao chép ngay

    Dùng các đoạn cấu hình mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Mức độ quan tâm của cộng đồng đến kho mã

    44 sao và 12 bản fork từ kho mã được liên kết.

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-mcp
uv 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.

Dùng MCP KonQuest Meta Ads MCP với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối KonQuest Meta Ads MCP, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Thiết lập trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Thiết lập trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh thiết lập trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Để tiến trình tiếp tục chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Để tiến trình tiếp tục chạy trong cửa sổ Terminal khi bạn dùng các công cụ MCP.
3

Thêm KonQuest Meta Ads MCP làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của KonQuest Meta Ads MCP.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "konquest-meta-ads-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của KonQuest Meta Ads MCP, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của KonQuest Meta Ads MCP.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện trên TypingMind dùng các công cụ MCP đã bật với mô hình AI đã chọn
Bạn có thể dùng KonQuest Meta Ads MCP giúp tôi làm việc này không?
KonQuest Meta Ads MCP
Được. Tôi đọc rồi.
Đây là kết quả tôi tìm được bằng KonQuest Meta Ads MCP.

Câu hỏi thường gặp

Máy chủ MCP KonQuest Meta Ads MCP dùng để làm gì?

KonQuest Meta Ads MCP là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP KonQuest Meta Ads MCP với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng KonQuest Meta Ads MCP với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP KonQuest Meta Ads MCP với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối KonQuest Meta Ads MCP, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP KonQuest Meta Ads MCP với TypingMind?

KonQuest Meta Ads MCP hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP KonQuest Meta Ads MCP cung cấp những công cụ nào trong TypingMind?

KonQuest Meta Ads MCP cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP KonQuest Meta Ads MCP không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu KonQuest Meta Ads MCP yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇