Introducing AdFlow MCP
AdFlow MCP / request session 01
enter ↵

MCP handshake

Fetching campaign context

reading audience, budget, policy and creative constraints 0.0s
adflow-workspace campaign.plan.ts

01import { campaign } from "@adflow/mcp";

02

03const plan = await campaign.create({

04  objective: "qualified demand",

05  markets: ["DE", "JP", "US", "AU"],

06  dailyBudget: 2400,

07  guardrail: "efficiency-first",

08});

09await plan.validate();

branch: campaign/springUTF-8Ln 9, Col 24● MCP connected

AdFlow MCP / executeplan ready

Plan accepted · orchestration started
markets signals
Market routing04 live
DEGermany / ready
JPJapan / ready
USUnited States / ready
AUAustralia / ready

Autonomous delivery

One brief.
Inspectable
decisions.

01Resolve audience intentdone
02Map creative constraintsdone
03Allocate protected budgetdone
04Launch market variantslive
05Open measurement looplive
Four markets coordinated · twelve audience cells live · delivery verified in 18.4 seconds · budget guard active
adflow-livedelivery.stream.ts

01const stream = campaign.observe();

02

03stream.on("signal", adaptAudience);

04stream.on("spend", protectBudget);

05stream.on("result", scoreOutcome);

06

07await stream.sync();

events 1,482/slatency 42ms● all agents healthy

Performance,continuously re-scored.

Measurement loop

Fetching new performance signals

joining spend, visits, conversions and policy state0.0s
adflow-analyticsperformance.snapshot

01window: "live-02"

02qualifiedVisits: 14_280

03conversionRate: 0.073

04costPerAction: 41.20

05protectedSpend: 18_600

06status: "ahead"

snapshot 02confidence 94%● evidence updated
STATUS AHEADDAILY BUDGET $2,400 PROTECTEDQUALIFIED VISITS +38.4%CPA −21.0%POLICY CLEAR

AdFlow MCP / asklive context

Agent recommendation / confidence 94%

Move 18% of protected budget toward high-intent mobile cohorts · expected CPA improvement 12–16% · keep policy guard active
Projected gain +14.2%Risk level lowGuardrail preserved

AdFlow MCP / applyrecommendation 02

Result window 04

Measured change,
not guesswork.

1.8%
BASE
3.9%
W01
5.6%
W02
7.3%
LIVE

Stayahead.

AdFlow MCP

inspectable campaign orchestration