Adwarp
概览
作者提供的说明(英文原文)
Open-source ad agent for LinkedIn Ads and Google Ads. Drafts campaigns, audiences and reports.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i3 项中通过 2 项依据公开信息检查;尚未扫描代码
- 使用情况i起步阶段↓ 70/周 · ★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 电脑或云端
- 传输方式: stdio, Streamable HTTP
- 分类: 营销与社交媒体
- 你需要填写:ADWARP_LINKEDIN_CLIENT_SECRET, ADWARP_LINKEDIN_REFRESH_TOKEN, X-Adwarp-Linkedin-Client-Id, X-Adwarp-Linkedin-Client-Secret, X-Adwarp-Linkedin-Refresh-Token
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:3 项中通过 2 项
- 在作者的服务器上运行:你向它提出的内容会经过他们的服务器。
- 需要你自己填写:
ADWARP_LINKEDIN_CLIENT_ID,ADWARP_LINKEDIN_CLIENT_SECRET,ADWARP_LINKEDIN_REFRESH_TOKEN,ADWARP_LINKEDIN_DEFAULT_ACCOUNT_ID,X-Adwarp-Linkedin-Client-Id,X-Adwarp-Linkedin-Client-Secret,X-Adwarp-Linkedin-Refresh-Token,X-Adwarp-Linkedin-Account-Id,X-Adwarp-Linkedin-Version
标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
或者在你的电脑上运行
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 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"
}
}
}
}在终端中运行这条命令
claude mcp add --transport http 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'或者在你的电脑上运行
claude mcp add 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运行前请先填写空着的值。
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.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"
}
}
}
}或者在你的电脑上运行
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.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"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/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"
}
}
}
}或者在你的电脑上运行
或者自己复制设置
粘贴到项目中的 .vscode/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"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
ADWARP_LINKEDIN_CLIENT_IDenvLinkedIn app Client ID. Leave unset to use ~/.adwarp from adwarp auth login- LinkedIn app Client Secret. Leave unset to use ~/.adwarp
- Refresh token from adwarp auth login. Leave unset to use ~/.adwarp
ADWARP_LINKEDIN_DEFAULT_ACCOUNT_IDenvLinkedIn ad account used when a call omits oneX-Adwarp-Linkedin-Client-Id必填 HTTP headerYour LinkedIn app Client IDX-Adwarp-Linkedin-Client-Secret机密 必填 HTTP headerYour LinkedIn app Client SecretX-Adwarp-Linkedin-Refresh-Token机密 必填 HTTP headerRefresh token from adwarp auth loginX-Adwarp-Linkedin-Account-IdHTTP headerLinkedIn ad account used when a call omits oneX-Adwarp-Linkedin-VersionHTTP headerLinkedIn API version pin (YYYYMM)
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
服务器要求先登录,才会列出它的工具。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 adwarp-dev 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- ✓ 通过
端点有响应
在 369 毫秒内响应(HTTP 401)
- ! 注意
使用 OAuth 登录
需要你自己复制粘贴密钥或令牌
- … 尚未检查
工具描述中没有隐藏指令
尚未检查;我们会在检查端点时读取工具列表
与“营销与社交媒体”中的其他服务器比较i
- 星标数多于此分类中其他 3631 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 3631 个服务器的 97% 更新
- 基础检查结果等于或优于此分类中其他 3631 个服务器的 51%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Adwarp 安全吗?
它在 3 项适用的基础检查中通过了 2 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
你需要填写:ADWARP_LINKEDIN_CLIENT_SECRET, ADWARP_LINKEDIN_REFRESH_TOKEN, X-Adwarp-Linkedin-Client-Id, X-Adwarp-Linkedin-Client-Secret, X-Adwarp-Linkedin-Refresh-Token
它在我的电脑上运行还是在云端?
两种方式都可以:安装在你的电脑上,或者连接云端版本。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(0.5.0)于昨天进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
有什么可以替代它?
同一分类中有:MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Google Analytics MCP
GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.
BibiGPT YouTube Video Summarizer
AI video summarizer: summarize and transcribe YouTube, Bilibili, TikTok and podcast videos.
作者的 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 term | LinkedIn entity | Google Ads entity | Holds |
|---|---|---|---|
| Campaign | Campaign Group | (none) | status, total/shared budget |
| Ad group | Campaign | Campaign | targeting, budget, bid, schedule, format |
| (none) | (none) | Ad group | keywords and the ads that answer them |
| Ad | Creative | Ad group ad | the rendered ad |
| Audience | DMP Segment | User list | attached 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:
- 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.
- An OAuth client, from a Google Cloud project with the Google Ads API enabled. Use the "Desktop app" type, which accepts any
localhostredirect.
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/adwordsis 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: theadwarpCLI over the same engines, for scripted batch runs.@adwarp/web: Next.js app that hosts the MCP over HTTP on Vercel, athttps://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 theadwarp,adwarp-mcpandliamcommands.
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:
- [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.
- [As a terminal CLI](#option-2-install-the-terminal-cli), a global
adwarpcommand 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)
- Create an app at https://www.linkedin.com/developers/apps. It must be associated with your company's LinkedIn Page.
- On the Products tab, request access:
| Product | Needed for | Required?
只显示了开头部分;其余内容请在仓库中阅读