
Agentic Ads
io.github.nicofains1由 GitHub 帳號 nicofains1 發布v0.1.2更新於 Oct 24, 2026
Ad network for AI agents — monetize MCP servers with contextual ads. 70% revenue share.
發布方自己的服務:agentic.no
概覽
面向 AI 代理的廣告聯播網:讓助理搜尋情境廣告、回報曝光與點擊事件,並管理廣告主的廣告活動與預算。
- 可以做什麼
- 依查詢字詞、關鍵字、類別或地區搜尋廣告,取得附相關性分數的排序結果,並提供自然呈現廣告的格式指引。回報曝光、點擊或轉換事件,觸發開發者的收益計算。建立與更新廣告主的廣告活動,設定預算、計價模式和定向條件,並可暫停或恢復。建立廣告,填寫創意文案、關鍵字、連結網址和類別。列出廣告活動並檢視曝光、點擊、轉換、花費和 ROI 等成效資料。
- 適用情境
- 適合希望在使用者詢問產品或服務推薦時顯示贊助結果來變現的 MCP 伺服器開發者,也適合想針對 AI 代理使用者建立並追蹤廣告活動的廣告主。
- 執行需求
- 可使用遠端 HTTP 端點,或透過 npx 以 Node.js 執行本機 npm 套件。回報事件和使用廣告主工具需要註冊表單或 API 回傳的 API 金鑰,以 Authorization Bearer 標頭傳送,或在 stdio 模式下透過 AGENTIC_ADS_API_KEY 設定。自架需要經 DATABASE_PATH 或 --db 參數指定 SQLite 資料庫路徑。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Agentic Ads,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.github.nicofains1%2Fagentic-ads/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"agentic-ads": {
"type": "http",
"url": "https://agentic-ads-production.up.railway.app/mcp"
}
}
}README
Agentic Ads
Google AdSense for AI agents. Add 3 lines of code to your MCP server. Earn 70% of every ad click.
[npm version] [Tests] [License: MIT] [MCP] [Node]
Live Demo · Quick Start · MCP Tools · Self-Host
Quick Start
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.
Why This Exists
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.
The Problem
- 16,000+ MCP servers exist. Almost none monetize.
- Developers spend weeks building useful tools, earn $0.
- Users ask agents for product recommendations → agents scrape the web → brands can't reach them.
The Solution
Privacy-respecting contextual ads served through MCP tools. Developers earn 70% revenue share (industry-leading). Advertisers reach AI agent users. Everyone wins.
Revenue Calculator
Example: Your MCP server gets 10,000 queries/month where ads make sense.
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.
Detailed Integration Guide
For MCP Developers (Earn Money)
Connect the live server and start calling tools — no approval process, no minimums.
For Advertisers (Reach AI Users)
How It Works
Example flow:
- User asks your agent: "best running shoes for marathon"
- Your agent calls
search_ads→ gets relevant ads ranked by bid × relevance - Agent shows ad naturally: "Ultraboost 24 — $126 (30% off) at Adidas.com (Sponsored)"
- User clicks → you report
clickevent → you earn $0.35 (70% of $0.50 CPC)
Privacy: No user tracking, no profiling, no cookies. Only contextual keyword matching.
Why MCP Developers Love This
1. Industry-Leading Revenue Share
70% to you, 30% to platform. Compare:
2. Zero Setup Friction
- No contracts, no minimums, no approval delays
- Register in seconds via
POST /api/register→ get your API key - Add 1 MCP server to your config → start earning in 5 minutes
3. Privacy-Respecting
- No user tracking or profiling
- No cookies, no browser fingerprinting
- Only contextual keyword matching (like early Google AdWords)
- Your users' privacy stays intact
4. You Control What Ads Show
- Agent decides which ads (if any) to show
- Full user context stays local (never sent to ad server)
- Relevance threshold in your hands
- Users can opt out ("no ads please")
5. Transparent Analytics
- Real-time revenue tracking
- See exactly what you earned, when, and why
- No black-box algorithms or hidden fees
MCP Tools (8 Total)
For Developers (Consumer Side) — 3 Tools
For Advertisers (Publisher Side) — 5 Tools
Pricing Models
Choose how you want to pay (advertisers) or earn (developers):
Budget controls: Set total budget + daily caps. Auto-pause when budget exhausted.
Getting Your API Key
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:
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.
Installation
Option 1: Connect to Live Server (Easiest)
Add to your MCP client config (Claude Desktop, Cursor, Windsurf, etc.):
Health check: https://agentic-ads-production.up.railway.app/health
Option 2: Local stdio (Development)
Option 3: Self-Host (Production)
Flags:
Environment Variables:
DB Persistence: Set DATABASE_PATH to a path on a persistent volume. On first run with an empty DB, demo campaigns are auto-seeded. See DEPLOY.md for full deployment guide (Railway recommended for free persistent storage).
Integration Examples
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
Cursor / Windsurf
Custom TypeScript Agent
Streamable HTTP Session Management
When calling the live server over HTTP, you must manage MCP sessions manually. Here's a complete example using raw fetch:
Key points:
- The
mcp-session-idheader is returned oninitializeand must be sent on all subsequent requests - Auth (
Authorization: Bearer ...) is set per-session — all tool calls in that session inherit it - The server uses SSE (Server-Sent Events) format — parse the
data:line from the response - See
examples/demo-mcp-serverfor a full working example
Architecture
Key Features:
- Privacy: No user tracking, contextual matching only
- Relevance:
score = relevance² × bidFactor × quality_score(relevance dominates) - Atomicity: Event insert + stats update + revenue split in single SQLite transaction
- Rate Limiting: Per-key sliding window (60-120 req/min depending on tool)
- Auth: SHA-256 hashed API keys, role-based access control
- Testing: 270 tests across 13 files, all passing
Demo: Full Flow
Output:
How Developers Get Paid
When your MCP server reports a click event on a CPC ad, 70% of the bid goes to you — tracked atomically in our database. Once your balance reaches $10, email [email protected] with your developer_id and your preferred payment method (PayPal or USDC on Polygon). We verify your balance and send payment within 5 business days. Automated Stripe payouts are on the roadmap for when the network scales.
FAQ
For Developers
Q: How do I get an API key? A: Register via the REST endpoint:
Use the returned api_key as Authorization: Bearer aa_dev_... in your MCP requests.
Q: Do I HAVE to show ads? A: No. You control which ads to show. Only show ads if they genuinely add value to the user. Agent autonomy is a feature.
Q: What if my users hate ads?
A: Follow the guidelines from get_ad_guidelines: max 1-2 ads per response, always disclose "sponsored", respect opt-out ("no ads please").
Q: Is this production-ready? A: Yes. 270 passing tests, live at https://agentic-ads-production.up.railway.app, MIT license.
Q: What MCP clients are supported? A: Any MCP client supporting stdio or Streamable HTTP. Tested with Claude Desktop, Cursor, Windsurf, custom agents.
For Advertisers
Q: How do I create ads?
A: Use the create_campaign and create_ad MCP tools with an advertiser API key. See smoke-test.ts for examples.
Q: How is my budget protected? A: Budget tracking is atomic (SQLite transaction). When budget exhausted → campaign auto-pauses. No overspend.
Q: Can I track conversions?
A: Yes, use CPA pricing model + report_event with event_type: 'conversion'. Add UTM params to your link URL for attribution.
Q: What targeting options exist? A: MVP has keywords (exact + partial match), categories, geo (country-level), and language. Semantic matching coming in Phase 2.
General
Q: Do you track users? A: No. We only receive anonymized keyword queries from agents. No user IDs, no cookies, no profiling. Privacy-first.
Q: How do you prevent fraud? A: MVP uses API key auth + rate limiting + trust-based reporting. Phase 2 adds anomaly detection heuristics (see issue #47).
Q: Is this open source? A: Yes, MIT license. Fork it, self-host it, contribute to it.
Roadmap
- MVP — 8 MCP tools, keyword matching, billing, auth, 270 tests
- Deployed — Live at https://agentic-ads-production.up.railway.app
- Marketplace Listings — Submit to Anthropic Registry, Smithery, Glama, PulseMCP (Week 1)
- Dashboard REST API — Web UI for advertisers/developers (#40)
- Fraud Detection — Anomaly heuristics (#47)
- Semantic Matching — Embeddings-based relevance (Phase 2)
- A/B Testing — Ad creative variants (#41)
- Stripe Payouts — Automated developer payments (Phase 3)
Contributing
We follow the GitHub Issues workflow:
- Check if an issue exists for your idea
- If not:
gh issue create --title "Your idea" - Get approval before starting work
- Branch:
feature/#N-description - Commit:
feat(#N): description - PR to
main
See CLAUDE.md for detailed guidelines.
Documentation
- CLAUDE.md — Development guidelines
- bulloak.md — Behavioral specification (source of truth for tests)
- docs/PRD.md — Full Product Requirements Document
- scripts/smoke-test.ts — Reference implementation
Support
- GitHub Issues: https://github.com/nicofains1/agentic-ads/issues
- Discussions: (coming soon)
- Discord: (coming soon — join MCP Developers community)
License
MIT — see LICENSE for details.
Why This Matters
AI agents are eating the web. Users ask agents instead of searching Google. Agents answer instead of websites.
The old internet: Users browse websites → see ads → advertisers reach users.
The new internet: Users ask agents → agents scrape websites → advertisers can't reach users.
agentic-ads fixes this. It's the ad layer for the agent economy.
And you — the MCP developer — earn 70% of the revenue for being the intermediary.
The opportunity: 16,000+ MCP servers, almost none monetize. You can be first.
Built with Model Context Protocol (MCP) — the open standard for connecting AI agents to tools.
Live demo: https://agentic-ads-production.up.railway.app
Get started: Add the MCP server to your config, earn your first dollar this week.
來源:README.md,提交 5273a36
工具
0版本歷史
1- v0.1.2最新Sep 16, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具必需15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Agentic 整合
agentic.no
no.agentic官方發布者
一個遠端 MCP 端點,協助助理依模型尋找 AI 推論的 GPU 賣家,並依價格由低到高排序,透過 x402 按次付費。
Agentic Engineering Periodic System
academy.ase官方發布者
使用編碼代理建立軟體的實踐,每項實踐都附帶一個可在你的程式碼庫中檢查的測試。AI 翻譯
Agentic RL: Credit Assignment and CLI Agents
space.hf.hoyant-su-agentic-rl官方發布者
讓助理依監督方式、critic 與任務設定篩選代理強化學習方法,並取得來源連結與 BibTeX。

Agentic Video
由 GitHub 帳號 tlq5l 發布
本機 stdio MCP 伺服器,讓只能讀文字與圖片的助理檢查影片檔:聯絡表、轉錄、剪接點、響度與影音同步檢查。

Agentic Os
由 GitHub 帳號 kinnister 發布
唯讀、不執行任何操作的 MCP 伺服器,向助理提供 agentic-os 的治理、SDLC 與品質工程方法論。