Ad network for AI agents β monetize MCP servers with contextual ads. 70% revenue share.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Google AdSense for AI agents. Add 3 lines of code to your MCP server. Earn 70% of every ad click.
Live Demo Β· Quick Start Β· MCP Tools Β· Self-Host
Step 1 β Register and get your API key (30 seconds):
Visit the web form: https://agentic-ads-production.up.railway.app/dev/register
Or use the API directly:
Step 2 β Add to your MCP client config:
Step 3 β Call search_ads in your agent and earn on every click:
That's it. You're monetizing.
You built an amazing MCP server. Users love it. But you're not making money.
agentic-ads is the missing monetization layer for the MCP ecosystem. It's like Google AdSense, but for AI agents instead of websites.
Privacy-respecting contextual ads served through MCP tools. Developers earn 70% revenue share (industry-leading). Advertisers reach AI agent users. Everyone wins.
Example: Your MCP server gets 10,000 queries/month where ads make sense.
| Scenario | Impressions/mo | CTR | Clicks/mo | CPC | Your Revenue |
|---|---|---|---|---|---|
| Conservative | 10,000 | 2% | 200 | $0.50 | $70/mo |
| Realistic | 10,000 | 5% | 500 | $0.50 | $175/mo |
| Strong | 10,000 | 8% | 800 | $0.75 | $420/mo |
At 100k queries/month with 5% CTR: $1,750/month passive income.
That's $21,000/year for adding 3 lines of code to your MCP server.
Connect the live server and start calling tools β no approval process, no minimums.
Example flow:
search_ads β gets relevant ads ranked by bid Γ relevanceclick event β you earn $0.35 (70% of $0.50 CPC)Privacy: No user tracking, no profiling, no cookies. Only contextual keyword matching.
70% to you, 30% to platform. Compare:
| Platform | Developer Share |
|---|---|
| agentic-ads | 70% |
| Google AdSense | 68% |
| Amazon Associates | 1-10% |
| Affiliate networks | 5-30% |
POST /api/register β get your API key| Tool | Auth | Description |
|---|---|---|
search_ads | Public | Search for ads by query/keywords/category/geo. Returns ranked results with relevance scores. |
report_event | Developer key | Report impression/click/conversion events. Triggers revenue calculation. |
get_ad_guidelines | Public | Get formatting guidelines for how to present ads naturally to users. |
| Tool | Auth | Description |
|---|---|---|
create_campaign | Advertiser key | Create campaign with budget, objective, pricing model (CPC/CPM/CPA). |
create_ad | Advertiser key | Create ad with creative text, keywords, targeting, link URL. |
get_campaign_analytics | Advertiser key | Get performance metrics (impressions, clicks, conversions, spend, ROI). |
update_campaign | Advertiser key | Update campaign (pause/resume, adjust budget, change targeting). |
list_campaigns | Advertiser key | List all campaigns with summary stats, optional status filter. |
Choose how you want to pay (advertisers) or earn (developers):
| Model | Advertiser Pays | Developer Earns (70%) | When Charged |
|---|---|---|---|
| CPC (Click) | $0.50 per click | $0.35 | User clicks ad link |
| CPM (Impression) | $5.00 per 1000 views | $3.50 | Ad shown to user |
| CPA (Conversion) | $10.00 per conversion | $7.00 | User completes action (purchase, signup, etc.) |
Budget controls: Set total budget + daily caps. Auto-pause when budget exhausted.
To call report_event or advertiser tools, you need an API key.
Option A β Web form (easiest):
Visit https://agentic-ads-production.up.railway.app/dev/register and fill in your details. Your API key is displayed immediately.
Option B β API:
Response:
| Field | Required | Description |
|---|---|---|
name | Yes | Your project or bot name |
email | Yes | Contact email |
project_description | No | Brief description of your MCP server (max 500 chars) |
Use the api_key in the Authorization header: Authorization: Bearer aa_dev_...
Deployed on Railway with persistent storage: The live server at
agentic-ads-production.up.railway.appruns on Railway with a persistent volume β data is preserved across deploys and restarts. To self-host, useDATABASE_PATH=/data/ads.dbpointing to a mounted volume.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/agentic-ads)<a href="https://allmcps.com/mcp/agentic-ads"><img src="https://allmcps.com/api/badge/agentic-ads?style=directory" alt="Agentic Ads on AllMCPs" /></a>