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 集成