Skip to main content

Ad Creative Intelligence MCP

Core Problem

Creative fatigue is detected too late, after hook rates fall, CPM rises, and spend is wasted.

What This Server Provides

This folder contains a production-minded MCP server scaffold with typed JSON tool responses, connector health metadata, OAuth-oriented configuration, rate-limit guards, stable error envelopes, and deterministic demo data until live vendor integrations are attached.

This server has received a production pass. It now includes local creative intelligence models for fatigue scoring, performance deltas, competitor creative patterns, brief generation, hook benchmarks, and winning-angle analysis.

Connectors

  • Meta Ads API via OAuth scope ads_read; env prefix META_ADS
  • Meta Ad Library API via OAuth scope ads_archive; env prefix META_LIBRARY
  • TikTok Ads API via OAuth scope advertiser.read; env prefix TIKTOK_ADS
  • TikTok Creative Center API via OAuth scope creative.read; env prefix TIKTOK_CREATIVE
  • Google Ads API via OAuth scope adwords.readonly; env prefix GOOGLE_ADS
  • YouTube Data API via OAuth scope youtube.readonly; env prefix YOUTUBE

MCP Tools

  • get_creative_health_report - Active creative scorecard with fatigue risk.
  • detect_fatiguing_creatives - Rank creatives likely to fatigue soon.
  • get_competitor_creatives - Recent competitor creative examples and angles.
  • generate_creative_briefs - Briefs grounded in winning patterns.
  • get_hook_benchmarks - Hook-rate and thumb-stop benchmarks.
  • analyze_winning_angles - Extract repeated claims, hooks, formats, and offers.

Current Local Capabilities

  • Scores creative fatigue from frequency, CTR decline, CVR decline, CPM rise, and spend pressure.
  • Produces platform-specific creative health reports.
  • Detects replacement priorities for fatigued creatives.
  • Summarizes competitor creative angles without copying competitor phrasing.
  • Generates creative briefs for top performers, fatigue replacements, or competitor gaps.
  • Looks up hook-rate and thumb-stop benchmarks for supported industry/platform pairs.
  • Extracts winning angles and formats from account-level creative signals.

Test

python -m pytest .\tests -q -p no:cacheprovider

Partial Platform Support

Customers only need to connect the creative and media platforms they actually use. Missing Meta Ads, TikTok, Google Ads, Meta Library, or YouTube credentials do not prevent the server from starting or running local intelligence tools.

Use get_live_connector_status to see configured connectors. Use test_meta_ads_connection, test_tiktok_creative_connection, and test_youtube_connection for read-only live smoke checks when those platforms are connected.

Running Locally

powershell python -m venv .venv .\.venv\Scripts\pip install -e . .\.venv\Scripts\python -m ad_creative_intelligence_mcp.server

Claude Desktop Config

json { "mcpServers": { "ad-creative-intelligence": { "command": "python", "args": ["-m", "ad_creative_intelligence_mcp.server"], "cwd": "D:\CUSTOMS\EARNALL\MCP Servers\03-ad-creative-intelligence" } } }

Production Checklist

  • Create OAuth 2.1 apps for each connector and set *_CLIENT_ID plus *_CLIENT_SECRET.
  • Store refresh tokens in a secrets manager, never in repo files.
  • Replace deterministic demo rows in server.py with API adapter calls.
  • Persist raw snapshots and normalized warehouse tables for trend analysis.
  • Add integration tests with recorded fixtures for every connector.
  • Validate every tool in MCP Inspector before publishing.
  • Deploy with a /health route through FastMCP streamable HTTP on Railway or Render.

Metadata

Release files for ad-creative-intelligence-mcp 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ad-creative-intelligence-mcp 0.1.1
File Size Uploaded Provenance
ad_creative_intelligence_mcp-0.1.1.tar.gz 19.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ad-creative-intelligence-mcp 0.1.1
File Interpreter ABI Platform
ad_creative_intelligence_mcp-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 39.2 kB

Release files / ad_creative_intelligence_mcp-0.1.1.tar.gz

Download URL ad_creative_intelligence_mcp-0.1.1.tar.gz
Size 19.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b02ae11613470ae724c1746768c07ca583dda9fac1b28f699c9a28432ca044ef
BLAKE2b-256 checksum
How to use checksums
326353d646c972abd9a0084c33371ac025254f6c37d22a71d3e8ea2f740a2887
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / ad_creative_intelligence_mcp-0.1.1-py3-none-any.whl

Download URL ad_creative_intelligence_mcp-0.1.1-py3-none-any.whl
Size 20.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4eacc647ca5a41f7b8b14ae42d6a9170d78fda6a02dd239af12e80ab3f0cf113
BLAKE2b-256 checksum
How to use checksums
bae54ebb80c9488657f7c957b341e2c804001ac13d67850d73847fc5f99f9f13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Security for ad-creative-intelligence-mcp 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page