adtech-mcp-server
Generates SHA-256 hashed event payloads for Meta Conversions API (CAPI), enabling deterministic preparation of ad event data for Meta advertising.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@adtech-mcp-server Audit last week's ROAS anomalies across my Meta campaigns"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
adtech-mcp-server
A Model Context Protocol (MCP) TypeScript SDK v2 server (@modelcontextprotocol/server + zod/v4) that equips any MCP-compatible AI host (Gemini, Claude Code, Cursor, VS Code) with deterministic AdTech & Growth Engineering tools: ROAS anomaly auditing, Meta CAPI SHA-256 payload generation, and e-commerce LTV/CAC payback math.
Why Deterministic MCP Tools Matter for AdTech
Related MCP server: genpark-creator-paid-amplification-roi-synthesizer-skill
Protocol Architecture
flowchart LR
Host["AI Host / Cursor / Claude / Gemini"] -->|"JSON-RPC 2.0 stdio"| Server["McpServer v2"]
Server -->|"Zod v4 Validation"| T1["audit_roas_anomalies"]
Server -->|"Zod v4 Validation"| T2["build_meta_capi_event"]
Server -->|"Zod v4 Validation"| T3["calculate_ltv_cac_payback"]Quick Start
git clone https://github.com/stephanocamoretti-dotcom/adtech-mcp-server.git
cd adtech-mcp-server
npm install
npm run build
npm run inspectScaling Ideas for Production
Streamable HTTP Transport: Swap
serveStdiofor the MCP v2 HTTP/Hono adapter with OAuth 2.1 bearer verification so remote agency teams can share one hosted AdTech MCP endpoint.Live Meta & Google Ads Connectors: Connect
audit_roas_anomaliesdirectly to Meta Insights APIv27.0and Google Ads GAQL queries for real-time portfolio diagnostics inside chat.MCP Resources & Prompts: Expose brand-specific target CPA/ROAS guardrails as MCP Resources (
adtech://clients/{id}/targets).
References
Available Tools
3 toolsaudit_roas_anomaliesA
Detects abnormal ad spend velocity (Z-Score) and ROAS/CPA breaches for Meta Ads or Google Ads campaigns.
Inputs: spend (required), revenue (required), conversions (required), campaignName (required), +2 more.
build_meta_capi_eventA
Normalizes and SHA-256 hashes PII into a Meta Conversions API (Graph v27.0) event payload with deterministic event_id and EMQ score.
Inputs: email, phone, value, fbclid, +3 more.
calculate_ltv_cac_paybackB
Calculates e-commerce gross-profit LTV, LTV:CAC ratio, Day-1 contribution margin, and max scaling CAC ceiling.
Inputs: aov (required), cac (required), grossMarginPct (required), repeatPurchaseRate (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool targets a clearly different job: statistical anomaly detection on ROAS/spend, constructing a Meta CAPI event payload, and LTV/CAC unit-economics modeling. There is no overlap in inputs, outputs, or intent, so an agent can select without confusion.
All three names use a consistent snake_case verb_noun pattern (audit_, build_, calculate_) with domain-specific qualifiers. The verb variation reflects genuinely different actions rather than inconsistency.
Three tools is at the low end for an adtech server and the three functions feel somewhat like a grab bag rather than one cohesive workflow. Each tool is substantive and earns its place, but the surface is thin.
The server covers anomaly detection, CAPI event building, and LTV/CAC math, but lacks obvious adjacent operations: fetching campaign metrics from Meta/Google, budget pacing or reallocation recommendations, and any alerting or remediation after an anomaly is detected. Detection without follow-through leaves dead ends.
Maintenance
Related MCP Connectors
60+ Meta Ads tools for AI agents: audits, campaign management, audiences and CAPI tracking.
Hosted MCP server for marketing agencies: connect Google Ads, GA4, Search Console, Meta, LinkedIn and more to Claude or ChatGPT. Pull reports and make changes via OAuth login, no setup.
Remote MCP for Shopify, Meta Ads, Google Ads and TikTok Ads with human approval for writes
One hosted MCP for Google, Meta, LinkedIn, TikTok, Reddit, Microsoft and Apple ads, with approvals.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceHosted MCP server that gives AI agents read and write access to your full marketing & ecommerce stack — Google Analytics, Search Console, Google & Meta Ads, Shopify, WooCommerce, Shopware, Slack and LinkedIn. 100+ tools across 10 connectors. BYOK, OAuth 2.1.-

genpark-creator-paidofficial
FlicenseNot gradedqualityBmaintenanceEnables modeling and synthesis of creator paid amplification ROI, spark ads performance, and whitelisted return on ad spend (ROAS) for influencer marketing campaigns. It provides deterministic, zero-dependency calculations through MCP for use by AI agents and automation workflows.8-- AlicenseBqualityBmaintenanceCookieless web analytics your AI agent can read. Self-host it on your own Cloudflare account (Workers + D1) and read visits, sources, pages, countries and custom events over MCP. Prefer hosted? https://a.measuremy.site/mcp (OAuth sign-in, no key).201MIT
- AlicenseAqualityBmaintenanceDeterministic marketing math for AI agents: 62 engines that compute LTV:CAC, CAC payback, pipeline coverage, A/B test significance, budget allocation, pricing and retention from your own numbers. Runs locally with Node 18+, makes no network calls and stores no data.51MIT