Skip to main content

Ad Creative Intelligence MCP

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ad_creative_intelligence_mcp-0.1.1.tar.gz (19.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ad_creative_intelligence_mcp-0.1.1-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

Details for the file ad_creative_intelligence_mcp-0.1.1.tar.gz.

File metadata

File hashes

Hashes for ad_creative_intelligence_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b02ae11613470ae724c1746768c07ca583dda9fac1b28f699c9a28432ca044ef
MD5 1c3aeda1eccc975604cfdad6c560f343
BLAKE2b-256 326353d646c972abd9a0084c33371ac025254f6c37d22a71d3e8ea2f740a2887

See more details on using hashes here.

File details

Details for the file ad_creative_intelligence_mcp-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ad_creative_intelligence_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4eacc647ca5a41f7b8b14ae42d6a9170d78fda6a02dd239af12e80ab3f0cf113
MD5 be63d2d573bf6a3c5eb48aee9586e761
BLAKE2b-256 bae54ebb80c9488657f7c957b341e2c804001ac13d67850d73847fc5f99f9f13

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page