原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Adwarp

作者:adwarp-dev版本 0.5.0i★ 25i电脑或云端
注册名称io.github.adwarp-dev/adwarp

安装方法

What it does

Open-source ad agent for LinkedIn Ads and Google Ads. Drafts campaigns, audiences and reports.

  • Connects 电脑或云端
  • Account or key Cloud: Needs X-Adwarp-Linkedin-Client-Id, X-Adwarp-Linkedin-Client-Secret, X-Adwarp-Linkedin-Refresh-Token, X-Adwarp-Linkedin-Account-Id, X-Adwarp-Linkedin-Version · Local: Needs ADWARP_LINKEDIN_CLIENT_SECRET, ADWARP_LINKEDIN_REFRESH_TOKEN
  • Category 营销与社交媒体

安装

选择你使用的 AI 应用,然后复制设置。

通过 3/5 项检查 · 你的提问会经过开发者的服务器(mcp.adwarp.dev)

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude · 约 5 分钟

需要 Adwarp 的密钥(在开发者网站创建) · 在 claude.ai 或桌面应用设置一次,即可在聊天中使用 · 免费账户可添加 1 个 · Team/Enterprise 方案由所有者(Owner)添加

  1. 注册并创建 Adwarp 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    打开 Adwarp 网站 ↗

  2. 打开 Claude 的 Connectors 页面

    CustomizeConnectors

    CustomizeConnectors1+ Add2https://…3Add4
  3. 点击“+ Add” → “Add custom connector”,填写这 2 项

    把这里的内容复制到 Claude 中同名的输入框,然后点击 Continue

    Name · 名称Adwarp
    Remote MCP server URL · 地址https://mcp.adwarp.dev/api/mcp

    在 Request headers 下添加这个名称和值

    Header 名称X-Adwarp-Linkedin-Client-Id
    值<在这里粘贴你的密钥>
    Header 名称X-Adwarp-Linkedin-Client-Secret
    值<在这里粘贴你的密钥>
    Header 名称X-Adwarp-Linkedin-Refresh-Token
    值<在这里粘贴你的密钥>
    Header 名称X-Adwarp-Linkedin-Account-Id
    值<在这里粘贴你的密钥>
    Header 名称X-Adwarp-Linkedin-Version
    值<在这里粘贴你的密钥>

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

    Authentication 保持 Claude 检测到的设置,然后点击 Add

  4. 在聊天中开启

    +ConnectorsAdwarp

  5. 试一试

    用 Adwarp 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 Adwarp,或回答中出现 Adwarp 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

ChatGPT 暂时无法连接 Adwarp

Adwarp 连接时需要你自己的密钥,但 OpenAI 帮助页面只说明了 OAuth 登录,没有我们能核实的填密钥方式

你可以改用这些方式

A · 使用能连接 Adwarp 的应用

  • 需要 Adwarp 的密钥(在开发者网站创建) · 在 claude.ai 或桌面应用设置一次,即可在聊天中使用 · 免费账户可添加 1 个 · Team/Enterprise 方案由所有者(Owner)添加
  • 需要 Adwarp 的密钥(在开发者网站创建)
  • 需要 Adwarp 的密钥(在开发者网站创建)
  • 需要 Adwarp 的密钥(在开发者网站创建)

B · 营销与社交媒体 类中能连接 ChatGPT 的其他服务器

从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的

可连接 Claude Code · 约 5 分钟

需要 Adwarp 的密钥(在开发者网站创建)

  1. 注册并创建 Adwarp 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    打开 Adwarp 网站 ↗

  2. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  3. 粘贴这条命令并按 Enter

    claude mcp add --transport http --scope user adwarp https://mcp.adwarp.dev/api/mcp --header 'X-Adwarp-Linkedin-Client-Id: your-value' --header 'X-Adwarp-Linkedin-Client-Secret: your-value' --header 'X-Adwarp-Linkedin-Refresh-Token: your-value' --header 'X-Adwarp-Linkedin-Account-Id: your-value' --header 'X-Adwarp-Linkedin-Version: your-value'

    按 Enter 前,把“your-value”改成你的密钥

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  4. 在 Claude Code 中输入 /mcp

    应能看到 Adwarp 在列表中并显示已连接

  5. 试一试

    用 Adwarp 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 Adwarp,或回答中出现 Adwarp 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor · 约 5 分钟

需要 Adwarp 的密钥(在开发者网站创建)

  1. 注册并创建 Adwarp 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    打开 Adwarp 网站 ↗

  2. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  3. 填写你的密钥

    在 Adwarp 的设置中,X-Adwarp-Linkedin-Client-Id, X-Adwarp-Linkedin-Client-Secret, X-Adwarp-Linkedin-Refresh-Token, X-Adwarp-Linkedin-Account-Id, X-Adwarp-Linkedin-Version 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  4. 在 Cursor 中以 Agent 模式打开 AI 聊天

  5. 试一试

    用 Adwarp 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 Adwarp,或回答中出现 Adwarp 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code · 约 5 分钟

需要 Adwarp 的密钥(在开发者网站创建)

  1. 注册并创建 Adwarp 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    打开 Adwarp 网站 ↗

  2. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  3. 填写你的密钥

    在 Adwarp 的设置中,X-Adwarp-Linkedin-Client-Id, X-Adwarp-Linkedin-Client-Secret, X-Adwarp-Linkedin-Refresh-Token, X-Adwarp-Linkedin-Account-Id, X-Adwarp-Linkedin-Version 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  4. 在 VS Code 中以 Agent 模式打开 AI 聊天

  5. 试一试

    用 Adwarp 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 Adwarp,或回答中出现 Adwarp 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

通过网页连接的应用使用的地址

地址https://mcp.adwarp.dev/api/mcp

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 Adwarp 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

通过网页连接

Claude Code

claude mcp add --transport http --scope user adwarp https://mcp.adwarp.dev/api/mcp --header 'X-Adwarp-Linkedin-Client-Id: your-value' --header 'X-Adwarp-Linkedin-Client-Secret: your-value' --header 'X-Adwarp-Linkedin-Refresh-Token: your-value' --header 'X-Adwarp-Linkedin-Account-Id: your-value' --header 'X-Adwarp-Linkedin-Version: your-value'

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "adwarp": {
      "url": "https://mcp.adwarp.dev/api/mcp",
      "headers": {
        "X-Adwarp-Linkedin-Client-Id": "your-value",
        "X-Adwarp-Linkedin-Client-Secret": "your-value",
        "X-Adwarp-Linkedin-Refresh-Token": "your-value",
        "X-Adwarp-Linkedin-Account-Id": "your-value",
        "X-Adwarp-Linkedin-Version": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "adwarp": {
      "type": "http",
      "url": "https://mcp.adwarp.dev/api/mcp",
      "headers": {
        "X-Adwarp-Linkedin-Client-Id": "your-value",
        "X-Adwarp-Linkedin-Client-Secret": "your-value",
        "X-Adwarp-Linkedin-Refresh-Token": "your-value",
        "X-Adwarp-Linkedin-Account-Id": "your-value",
        "X-Adwarp-Linkedin-Version": "your-value"
      }
    }
  }
}

安装在电脑上

Claude Code

claude mcp add --scope user adwarp --env ADWARP_LINKEDIN_CLIENT_ID=your-value --env ADWARP_LINKEDIN_CLIENT_SECRET=your-value --env ADWARP_LINKEDIN_REFRESH_TOKEN=your-value --env ADWARP_LINKEDIN_DEFAULT_ACCOUNT_ID=your-value -- npx -y adwarp mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "adwarp": {
      "command": "npx",
      "args": [
        "-y",
        "adwarp",
        "mcp"
      ],
      "env": {
        "ADWARP_LINKEDIN_CLIENT_ID": "your-value",
        "ADWARP_LINKEDIN_CLIENT_SECRET": "your-value",
        "ADWARP_LINKEDIN_REFRESH_TOKEN": "your-value",
        "ADWARP_LINKEDIN_DEFAULT_ACCOUNT_ID": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "adwarp": {
      "command": "npx",
      "args": [
        "-y",
        "adwarp",
        "mcp"
      ],
      "env": {
        "ADWARP_LINKEDIN_CLIENT_ID": "your-value",
        "ADWARP_LINKEDIN_CLIENT_SECRET": "your-value",
        "ADWARP_LINKEDIN_REFRESH_TOKEN": "your-value",
        "ADWARP_LINKEDIN_DEFAULT_ACCOUNT_ID": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "adwarp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "adwarp",
        "mcp"
      ],
      "env": {
        "ADWARP_LINKEDIN_CLIENT_ID": "your-value",
        "ADWARP_LINKEDIN_CLIENT_SECRET": "your-value",
        "ADWARP_LINKEDIN_REFRESH_TOKEN": "your-value",
        "ADWARP_LINKEDIN_DEFAULT_ACCOUNT_ID": "your-value"
      }
    }
  }
}

需要你填写的值

  • ADWARP_LINKEDIN_CLIENT_ID env
    LinkedIn app Client ID. Leave unset to use ~/.adwarp from adwarp auth login
  • ADWARP_LINKEDIN_CLIENT_SECRET 机密 env
    LinkedIn app Client Secret. Leave unset to use ~/.adwarp
  • ADWARP_LINKEDIN_REFRESH_TOKEN 机密 env
    Refresh token from adwarp auth login. Leave unset to use ~/.adwarp
  • ADWARP_LINKEDIN_DEFAULT_ACCOUNT_ID env
    LinkedIn ad account used when a call omits one
  • X-Adwarp-Linkedin-Client-Id 必填 HTTP header
    Your LinkedIn app Client ID
  • X-Adwarp-Linkedin-Client-Secret 机密 必填 HTTP header
    Your LinkedIn app Client Secret
  • X-Adwarp-Linkedin-Refresh-Token 机密 必填 HTTP header
    Refresh token from adwarp auth login
  • X-Adwarp-Linkedin-Account-Id HTTP header
    LinkedIn ad account used when a call omits one
  • X-Adwarp-Linkedin-Version HTTP header
    LinkedIn API version pin (YYYYMM)

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

每周下载量i
70/周
连接方式
电脑或云端
传输方式
stdio, streamable-http
最新版本i
0.5.0
发布到注册中心i
2026年11月8日
代码最后更新i
2026年11月12日
作者
adwarp-dev
软件包
npm: adwarp
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

通过互联网连接,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

在你的电脑上运行,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

全部应用及其优缺点 →

它能做什么

服务器要求先登录,才会列出它的工具。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月12日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 adwarp-dev 验证,该账户拥有此仓库

  • ✓ 通过

    仍在维护

    代码最后更新于今天

  • ✓ 通过

    有许可证

    使用 MIT

  • ! 注意

    端点有响应

    拒绝访问(HTTP 401),且未提供 OAuth 登录。可能需要密钥,也可能是拦截机器人,尚未确认。

  • ! 注意

    使用 OAuth 登录

    需要你自己复制粘贴密钥或令牌

  • … 尚未检查

    工具描述中没有隐藏指令

    尚未检查;我们会在检查端点时读取工具列表

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

使用 Google 登录后发帖

用户评价

还没有评价

用 Google 登录后写评价

与“营销与社交媒体”中的其他服务器比较i

  • 星标数多于此分类中其他 3830 个服务器的 98%
  • 发布到注册中心的时间比此分类中其他 3830 个服务器的 85% 更新
  • 基础检查结果等于或优于此分类中其他 3830 个服务器的 8%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Adwarp 安全吗?

它在 5 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:X-Adwarp-Linkedin-Client-Id, X-Adwarp-Linkedin-Client-Secret, X-Adwarp-Linkedin-Refresh-Token, X-Adwarp-Linkedin-Account-Id, X-Adwarp-Linkedin-Version, ADWARP_LINKEDIN_CLIENT_SECRET, ADWARP_LINKEDIN_REFRESH_TOKEN

它在我的电脑上运行还是在云端?

两种方式都可以:安装在你的电脑上,或者连接云端版本。

它还在维护吗?

GitHub 仓库最后更新于今天,最新版本(0.5.0)于4天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,因此也能用于支持远程 MCP 的应用,例如 ChatGPT Business 及以上方案。

有什么可以替代它?

同一分类中有:PostHog MCP Server, Openshorts, Google Ads + Meta Ads + SEO/GEO MCP

同类别的其他选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

PostHog MCP Server

Official PostHog MCP Server for product analytics, feature flags, experiments, and more.

作者:PostHog广泛使用★ 4.1万 整个仓库的星标10个月前更新

在云端运行

Openshorts

Turn long videos into viral vertical shorts and publish them to TikTok, Instagram and YouTube.

作者:mutonby广泛使用★ 78243个月前更新

在云端运行

Google Ads + Meta Ads + SEO/GEO MCP

Google Ads, Meta Ads, Google Analytics (GA4) & Search Console MCP server by Ryze AI

作者:irinabuht12-oss广泛使用★ 742531天前更新

在云端运行

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Adwarp

Website · Docs · Install guide · npm package

Adwarp (formerly Liam) is the open-source ad agent for LinkedIn Ads and Google Ads. Create campaigns by talking to Claude (MCP) or from a CLI. Built for go-to-market teams who want to spin up many campaigns from a contact list and a brief, then add creative images themselves. Everything starts switched off: LinkedIn entities are created as drafts and Google entities as paused. A LinkedIn campaign goes live only when you explicitly ask Adwarp to turn it on or switch it on yourself in Campaign Manager, and Google campaigns can only be switched on in the Google Ads UI.

Unofficial and not affiliated with or endorsed by LinkedIn or Google.

Covers creation, matched audiences (including building one straight from Salesforce or HubSpot),

conversion selection, performance reporting/insights, competitor ad intelligence, and a

change journal with before/after lift. See ROADMAP.md for what's shipped

and what's planned next.

What you can do with it

Once Adwarp is connected, you talk to your assistant in plain language. Real requests it handles today, roughly in the order a campaign comes together:

  • "How many VPs of demand gen at US SaaS companies can we reach?" (resolves targeting facets, estimates reach before any money is involved)
  • "Upload this CSV as a matched audience." (auto-cleans columns, hashes emails, keeps names, companies and titles for LinkedIn's people match, converts company domains to URLs)
  • "Build an audience from Salesforce: every contact on an account flagged as a target." (SOQL straight to a matched audience)
  • "Turn our HubSpot target accounts list into a LinkedIn audience." (a HubSpot list or search straight to a matched audience of contacts or companies)
  • "Launch a draft campaign for that audience, $100/day, tracking the demo-booked conversion." (campaign group + campaign + draft ads in one call)
  • "What ads is our biggest competitor running right now, and what offers are they pushing?" (reads the public Ad Library: copy, formats, and EU targeting metadata for any company)
  • "How did retargeting do last month vs the month before?" (trend report with deltas)
  • "Which ads should I pause this week?" (account rollup with top/bottom performers and flags, then pauses the ads you pick, leaving the rest of each ad group running)
  • "Rewrite the copy on the losing ad." (delete + recreate as a fresh draft; LinkedIn ignores edits to a live ad's post)
  • "Did the new headline actually help?" (change journal + before/after lift)

Adwarp resolves the details and reports back the ids. Every capability is also an adwarp CLI command for scripted or batch use.

Put it on a loop

There is no scheduler in Adwarp. Use the one in whatever client you drive it from. Some loops that work well:

  • "Every Monday at 9am, pull last week's performance summary, compare it to the week before, and flag anything that moved more than 20%." (a Claude Code scheduled agent)
  • "Every Friday, check what new ads our top three competitors shipped this week and summarize the angles."
  • "Check the audience match status every few hours and tell me when it clears 300 members." (the minimum for a matched audience to serve)
  • Or skip the assistant entirely and put the CLI in cron: 0 9 * * 1 adwarp report summary -p last_7_days

Hierarchy mapping (the two platforms disagree)

LinkedIn's names are shifted one level from everyone else's, which is the single most common source of confusion when working across both:

Common termLinkedIn entityGoogle Ads entityHolds
CampaignCampaign Group(none)status, total/shared budget
Ad groupCampaignCampaigntargeting, budget, bid, schedule, format
(none)(none)Ad groupkeywords and the ads that answer them
AdCreativeAd group adthe rendered ad
AudienceDMP SegmentUser listattached to targeting

So a LinkedIn "campaign" and a Google "campaign" are not the same thing: Google's campaign holds the budget and targeting (LinkedIn's *campaign group* plus *campaign*), and its ad group holds keywords.

Google Ads

Search campaigns only, creation-first. What is there today:

adwarp google auth login

adwarp google accounts list # proves the token and OAuth client work adwarp google keywords "revops automation" --url https://example.com/product adwarp google conversions list adwarp google launch --brief examples/google-brief.json # dry run adwarp google launch --brief examples/google-brief.json --apply # create it, paused adwarp google campaigns list adwarp google report perf keyword -p last_30_days

A launch creates the budget, campaign, geo and language targeting, ad groups, keywords, and responsive search ads in one atomic mutate: it either lands whole or not at all, so a failure cannot leave half a campaign behind. Every write is validated server-side first, which is a genuine dry run rather than a local guess.

Three house rules are hard-coded, because all three default the wrong way in the UI and quietly waste B2B budget:

  • Search network only. Display expansion and search partners off.
  • Physical presence only. "US" means people in the US, not people anywhere who searched about it.
  • Manual CPC to start. Smart bidding with no conversion history spends unpredictably. Switch in the UI once there is data.
Setup

Google Ads needs two things LinkedIn does not:

  1. A developer token, from a Google Ads manager (MCC) account at ads.google.com/aw/apicenter. A plain client account cannot issue one. Approval usually lands on Explorer access automatically (2,880 production ops/day).

Explorer is not enough for `adwarp google keywords`. Explorer blocks KeywordPlanService, so keyword research needs Basic access (15,000 ops/day), which is a separate application on the same screen. Campaign creation and reporting work fine on Explorer.

  1. An OAuth client, from a Google Cloud project with the Google Ads API enabled. Use the "Desktop app" type, which accepts any localhost redirect.

For the consent screen, do not leave it in "Testing". That status issues refresh tokens that stop working after 7 days. Beyond that it is a trade:

  • Internal (Workspace orgs only) is what Google's OAuth docs recommend for a single-company tool. Simplest, no verification, no 7-day expiry.
  • External + In production is the precondition for *brand verification*, the pilot that cuts Basic Access review from days to hours. The cost is that auth/adwords is a sensitive scope, so a published external app can require full OAuth app verification, potentially slower than the wait it saves.

Internal is the better default for an internal tool. Choose External only if the fast track is worth the verification risk.

Then write ~/.adwarp/google.json:

{

"clientId": "....apps.googleusercontent.com", "clientSecret": "...", "developerToken": "...", "loginCustomerId": "1234567890", "defaultCustomerId": "0987654321", "defaultConversionActionNames": ["Demo Booked"] }

loginCustomerId is the manager account and is only needed when you reach the target account through one. Run adwarp google auth login and you are set. Set up Google Ads in the docs has the same steps, plus the ADWARP_GOOGLE_* environment variables.

Packages

  • @adwarp/shared: the platform-neutral layer: OAuth, credential stores, retry policy, the change journal, period and KPI math.
  • @adwarp/core: LinkedIn REST client, resource modules, CSV + SHA256 hashing, Salesforce and HubSpot readers.
  • @adwarp/google: Google Ads REST client, GAQL reads, atomic mutate builder, Search campaign creation.
  • @adwarp/mcp: MCP server (stdio for local; reused by the hosted app). Primary interface.
  • @adwarp/cli: the adwarp CLI over the same engines, for scripted batch runs.
  • @adwarp/web: Next.js app that hosts the MCP over HTTP on Vercel, at https://mcp.adwarp.dev/api/mcp. It serves no pages: its other paths redirect to adwarp.dev.
  • adwarp: the published npm package. Bundles the CLI and the MCP server behind the adwarp, adwarp-mcp and liam commands.

How it works

Both interfaces are thin layers over the same engine. Every MCP tool and CLI command builds a client via createLinkedInAds() (core/src/client.ts), which loads config plus an auto-refreshing OAuth token provider, then calls a typed resource module (campaigns.ts, audience.ts, report.ts, ...) that wraps LinkedIn's versioned REST API (LinkedIn-Version pinned in config). Input shapes live as zod schemas in core/src/schemas.ts and are reused verbatim as the MCP tool input schemas, so the CLI and MCP can never drift apart.

The drafts-first safety rule is enforced at creation: campaign groups, campaigns, and creatives default to DRAFT status, and going live is always an explicit request (a status of ACTIVE, campaigns update --status ACTIVE --apply, or ad resume --apply). On Google, no create schema can express an enabled status at all. Every write also passes through one HTTP chokepoint that appends to a local change journal (~/.adwarp/changelog.jsonl) for later lift analysis.

AGENTS.md has the full architecture notes and the LinkedIn API gotchas (restli encoding, required fields, DMP audience flow) learned from live testing.

Install

The install guide on adwarp.dev has these steps too, with a setup page for each client: Claude Code, Claude Desktop, Cursor, Codex, Gemini, the CLI, and, through your own endpoint, Meta Muse and Grok Bot.

There are two ways to install Adwarp:

  1. [As an MCP server](#option-1-install-as-an-mcp-server), registered with Claude Code, Claude Desktop, Cursor, Codex, or other MCP clients that can run a local server, so you create campaigns by talking to your assistant. Run it locally, or skip the always-on install entirely and connect to the hosted endpoint with your own credentials.
  2. [As a terminal CLI](#option-2-install-the-terminal-cli), a global adwarp command for running everything from your terminal, scripts, or cron.

Both run against your own LinkedIn developer app, so your credentials and your ad account stay yours. Both come from the same npm package, adwarp. The first two steps are shared: create a LinkedIn app (step 0) and authenticate (step 1). After that, pick your path, or do both; they read the same ~/.adwarp credentials.

Step 0: create a LinkedIn app (once)
  1. Create an app at https://www.linkedin.com/developers/apps. It must be associated with your company's LinkedIn Page.
  2. On the Products tab, request access:

| Product | Needed for | Required?

只显示了开头部分;其余内容请在仓库中阅读