Adsmcp

io.github.Adgentek由 GitHub 帳號 Adgentek 發布v1.0.0更新於 Oct 24, 2026

MCP-native ad server. Monetize AI chatbots and agents with conversational ads.

發布方自己的服務:Ads MCP

已驗證Streamable HTTP可網頁執行資料與分析商業與電商

概覽

AI 產生的概覽

Adgentek 託管的廣告伺服器 MCP,讓 AI 助理在對話中投放情境相關廣告,並追蹤曝光與點擊。

可以做什麼
為對話投放情境廣告,回傳收益最高的匹配廣告或無匹配結果,並提供 markdown、純文字與 HTML 呈現以及用於曝光與點擊追蹤的簽章連結,一次呼叫批次預取最多十個廣告情境,讀取伺服器提供的唯讀文件資源,涵蓋創意格式、整合方式與追蹤規範。
適用情境
適合經營 AI 聊天、搜尋或語音應用的發布者與開發者,希望透過廣告將對話變現,而不必自行建置廣告基礎設施,可使用 Adgentek 的需求、自有直銷廣告或兩者並用。
執行需求
遠端 streamable HTTP 端點 mcp.adgentek.ai,透過 OAuth 或 Authorization 標頭中的 Bearer API 金鑰驗證。投放廣告前需要 Adgentek 發布者帳號、以 adgt_ 開頭的 API 金鑰以及至少一個已啟用的 AI Surface;啟用即時需求需聯絡 Adgentek。
安裝前請注意
需要 Adgentek 發布者帳號與 API 金鑰,須妥善保密。投放廣告並載入曝光像素或點擊連結會將內容類別、意圖與關鍵字主題等衍生訊號傳送給廣告主與需求方,並產生被追蹤的曝光與點擊;簽章的追蹤連結不得修改或繞過。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Adsmcp,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.Adgentek%2Fadsmcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "adsmcp": {
      "type": "http",
      "url": "https://mcp.adgentek.ai/mcp"
    }
  }
}

README

AdsMCP

The ad monetization MCP server for AI applications.

AdsMCP is Adgentek's hosted Model Context Protocol server that enables AI agents and conversational interfaces to serve contextually relevant ads automatically — based on conversation context, user intent, and placement opportunity.

Built on a full ad server stack. Bring live demand from Adgentek, bring your own direct-sold campaigns, or both. No ad tech expertise required.


Before You Start

You need an Adgentek publisher account, an API key, and at least one active AI Surface before ads will serve.

Create your publisher account →

Setup checklist

  1. Create your account at app.adgentek.ai/publishers/auth
  2. Create an AI Surface — in the publisher dashboard, go to Inventory → Surfaces and add at least one surface (e.g. conversational, search, voice). A surface defines where ads can appear and sets your floor eCPM.
  3. Generate an API key — in the publisher dashboard, go to Settings → API Keys and create a key (prefixed adgt_). This key authenticates all MCP requests.

Your account is considered Active once at least one surface is enabled.


Connect

json
{  "mcpServers": {    "adgentek-ads": {      "url": "https://mcp.adgentek.ai/mcp",      "headers": {        "Authorization": "Bearer YOUR_API_KEY_HERE"      }    }  }}

This is the only configuration needed. All MCP-compatible clients support this URL + Headers pattern — no local packages or environment variables required.


Platform-Specific Configuration

The connection config is identical across platforms. Only the file location and wrapper key differ.

Claude Desktop
json
// ~/Library/Application Support/Claude/claude_desktop_config.json  (macOS)// %APPDATA%\Claude\claude_desktop_config.json  (Windows){  "mcpServers": {    "adgentek-ads": {      "url": "https://mcp.adgentek.ai/mcp",      "headers": {        "Authorization": "Bearer YOUR_API_KEY_HERE"      }    }  }}
Claude Code
json
// ~/.claude/settings.json{  "mcpServers": {    "adgentek-ads": {      "url": "https://mcp.adgentek.ai/mcp",      "headers": {        "Authorization": "Bearer YOUR_API_KEY_HERE"      }    }  }}
Cursor
json
// .cursor/mcp.json{  "mcpServers": {    "adgentek-ads": {      "url": "https://mcp.adgentek.ai/mcp",      "headers": {        "Authorization": "Bearer YOUR_API_KEY_HERE"      }    }  }}
VS Code (Copilot MCP)
json
// .vscode/mcp.json{  "servers": {    "adgentek-ads": {      "url": "https://mcp.adgentek.ai/mcp",      "headers": {        "Authorization": "Bearer YOUR_API_KEY_HERE"      }    }  }}
OpenAI Codex
json
{  "mcpServers": {    "adgentek-ads": {      "url": "https://mcp.adgentek.ai/mcp",      "headers": {        "Authorization": "Bearer YOUR_API_KEY_HERE"      }    }  }}

Available Tools

ads.serve

Serves a contextual ad based on the current conversation. Returns the highest-yield ad available for the given context, or null if no ad matched.

Required parameters: conversationId, userKey, surface

Optional parameters: messages, intent, sentiment, depth, language, geo, preferHtml, extras

javascript
const result = await callTool('ads.serve', {  conversationId: 'conv_abc123',  userKey:        'user_456',  surface:        'conversational',  messages: [    { role: "user",      content: "What CRM works best for a small sales team?" },    { role: "assistant", content: "For small teams, a few options stand out..." },    { role: "user",      content: "Which ones integrate with Google Workspace?" }  ],  intent:    'research',  sentiment: 65,  depth:     3,  language:  'en',  geo:       'US'});
if (result.ad) {  displayAd(result.ad.render.markdown);  // Impressions: embed ad.impression_url as a 1x1 pixel in the browser  // Clicks: use ad.click_url as the CTA link href}

Surface types: conversational, search, voice, creative, web

Intent values: purchase, research, support, informational


ads.prefetch

Batch-request up to 10 ad contexts in a single call. Each item in the batch uses the same parameters as ads.serve.

Required: batch (array, max 10 items — each requiring conversationId, userKey, surface)

javascript
const results = await callTool('ads.prefetch', {  batch: [    { conversationId: 'conv_1', userKey: 'user_456', surface: 'conversational', messages: [...] },    { conversationId: 'conv_2', userKey: 'user_456', surface: 'search',         messages: [...] }  ]});
// results.ads            — array of ad objects (null where no ad matched)// results.prefetched_count — number of ads returned// results.truncated       — true if your batch exceeded the 10-item limit

Ad Response Format

When ads.serve returns a matched ad:

json
{  "ad": {    "id": "ad_abc123",    "title": "Product Title",    "content": "Description text",    "cta": "Learn More",    "click_url": "https://api.adgentek.ai/.../click?...",    "impression_url": "https://api.adgentek.ai/.../pixel.gif?...",    "render": {      "markdown": "## Title\n\nContent\n\n[CTA](click_url)",      "plain": "Title - Content - CTA",      "html": "<div>...</div>"    }  },  "targeting_scores": { ... }}

When no ad matched:

json
{  "ad": null,  "reason": "no_eligible_ads",  "targeting_scores": { ... }}

Tracking

Impression and click tracking is handled via the URLs provided in every ad response. These work in any rendering context — browser, in-app webview, or embedded UI.

  • Impressions: Load ad.impression_url as a 1×1 pixel image when the ad is displayed
  • Clicks: Use ad.click_url as the CTA link href (signed redirect to advertiser destination)
html
<!-- Impression pixel --><img src="{ad.impression_url}" width="1" height="1" style="display:none" alt="" />
<!-- Click link --><a href="{ad.click_url}" target="_blank" rel="noopener noreferrer">{ad.cta}</a>

Do not modify or bypass these URLs — they are signed and time-limited.


MCP Resources

The server exposes read-only documentation as MCP resources:

URIDescription
resource://adgentek/creative-guideCreative format guidelines and JS creative structure
resource://adgentek/integration-guidePlatform setup and response format reference
resource://adgentek/tracking-specBrowser tracking requirements and fraud prevention

Full Ad Server — Bring Your Own Ads

AdsMCP is not a demand source with an MCP interface bolted on. It is a full ad server.

Publishers can:

  • Use Adgentek's live demand — we have established relationships across programmatic, performance, and direct demand channels, with more being added continuously
  • Bring your own campaigns — upload direct-sold advertiser deals and serve them through the same ads.serve call
  • Layer in additional ad sources — connect your own demand partners alongside Adgentek's, with automatic yield optimization across all of them

Your inventory. Your demand relationships. One unified server.


Privacy Architecture

User conversations are private. Raw conversation content is never shared with advertisers, demand partners, or third parties.

AdsMCP transmits only derived signals to ad buyers — the minimum information required to match a relevant ad:

What advertisers receiveWhat stays in your app
IAB content categoryFull conversation content
Intent classificationUser messages
Keyword themesSession context

Go Live

  1. Create your publisher account and generate an API key
  2. Create at least one AI Surface in the publisher dashboard (Inventory → Surfaces)
  3. Add the MCP config to your AI application using the connection snippet above
  4. Contact [email protected] to verify your integration and activate live demand

About Adgentek

AdsMCP is built and operated by Adgentek.

Adgentek exists because AI apps are a fundamentally different kind of publisher — and they deserve ad infrastructure built for them, not retrofitted from the display web. Conversational interfaces have richer intent signals, longer engagement sessions, and none of the legacy constraints that shaped how traditional ad tech was built.

Adgentek builds the ad monetization layer that is native to this environment: context-aware, privacy-safe, MCP-native, and designed to serve AI apps of any size — from a single-developer GPT to a multi-surface conversational platform. Our demand relationships span programmatic, direct, and performance channels, and publishers can layer in their own ad sources alongside ours.

If you are building an AI app and want ad revenue without building ad infrastructure, AdsMCP is what you are looking for.

[email protected] — adgentek.ai

來源:README.md,提交 070f04e

工具

0
該伺服器需要 API 金鑰等憑證,因此 SourceWeft 無法在沒有憑證的情況下讀取其工具,也未收錄。

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 75%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。

其他 Adsmcp 整合