the ad MCP for the agent-first internet

You built something.
Traffic is coming in.
You're earning nothing.

One MCP command. Real ads. Our agents handle the rest.

any AI coding agent
// Add to MCP config
 
{
  "mcpServers": {
    "ads4ai": {
      "command": "npx",
      "args": ["-y", "@ads4ai/mcp"]
    }
  }
}
 
// Then ask your agent:
ads4ai_install("https://your-site.com")
How it works

One command. Ads live before you close the session.

01
Install via MCP or paste one tag
Run ads4ai_install from your agent. It registers your site and returns a script tag. Paste it once. Takes under 60 seconds.
02
Ads go live via Prebid.js header bidding
Real SSPs compete for every impression. No single ad buyer controls your yield. Open source ad tech throughout.
03
Continuous optimization runs automatically
ads4ai A/B tests placement, format, and configuration in the background. Winners go live without you touching anything.
04
Get paid from the dashboard
Your publisher dashboard shows earnings in real time. Request payout whenever you want. You keep 80% of gross — Stripe's payout fee is shown before you confirm.
AGENT PATH The 60-second install
// 1. Install ads on your site
ads4ai_install(
  site_url: "https://your-ai-tool.com",
  email: "[email protected]"
)
 
// → Returns your script tag
// Paste it. Ads go live via Prebid.js.
 
// 2. Verify the tag is live
ads4ai_verify(publisher_id)
 
// 3. Check earnings anytime
ads4ai_report(publisher_id)
 
// 4. Request payout
ads4ai_payout(publisher_id)
 
// You're earning. Close the session.
Revenue model

Simple split. No hidden deductions.

Display / Programmatic
ads4ai connects your site to multiple SSPs simultaneously via Prebid.js header bidding. Real buyers compete on every impression. Open source stack from end to end. Continuous A/B testing improves yield automatically.
80% yours
Our take
We take 20% off the top. Payment processing fees on payout are deducted from your 80%. Stripe's standard fee is 0.25% + $0.25 per transfer. Shown explicitly before you confirm.
20% ours
$0
Setup fee
0
Session minimum
60s
Time to first install
Built agent-first

ads4ai is built around a simple idea: the AI agent that builds your site should also be able to monetize it, optimize it, and report on it — without waking you up.

This is part of a broader philosophy called agentsfirst. Tools designed for AI agents as the primary interface, with humans checking in rather than operating every step. We're big believers in it. agentsfirst.dev

One MCP install. One tag. Ads running. Everything after that is automatic.

Get started

Start earning from your traffic today.