adwarp

Start with 1 prompt.

Paste it into Claude Code, Codex or Cursor. Your agent installs Adwarp, walks you through your LinkedIn app and checks the connection.

setup prompt
Set up Adwarp for me. It's the open-source ad agent for LinkedIn Ads and Google Ads: https://github.com/adwarp-dev/adwarp

1. Check that Node.js 20 or newer is installed.
2. Walk me through creating my own LinkedIn developer app with the Advertising API product: https://github.com/adwarp-dev/adwarp/blob/main/docs/linkedin-app.md
3. Save the app's client ID and secret to ~/.adwarp/config.json as clientId and clientSecret.
4. Run "npx -y adwarp auth login" and wait while I approve access in my browser.
5. Add Adwarp to the AI client I'm using right now as an MCP server that runs "npx -y adwarp mcp". In Claude Code that's: claude mcp add adwarp -- npx -y adwarp mcp
6. Check the connection by listing my ad accounts, then save the one I pick as defaultAccountId in ~/.adwarp/config.json.

Don't create or change anything in my ad accounts during setup. LinkedIn campaigns start as drafts, so nothing spends until I turn it on.
adwarp
GitHub

Start with 1 prompt.

Paste it into Claude Code, Codex or Cursor. Your agent installs Adwarp, walks you through your LinkedIn app and checks the connection.

setup prompt
Set up Adwarp for me. It's the open-source ad agent for LinkedIn Ads and Google Ads: https://github.com/adwarp-dev/adwarp

1. Check that Node.js 20 or newer is installed.
2. Walk me through creating my own LinkedIn developer app with the Advertising API product: https://github.com/adwarp-dev/adwarp/blob/main/docs/linkedin-app.md
3. Save the app's client ID and secret to ~/.adwarp/config.json as clientId and clientSecret.
4. Run "npx -y adwarp auth login" and wait while I approve access in my browser.
5. Add Adwarp to the AI client I'm using right now as an MCP server that runs "npx -y adwarp mcp". In Claude Code that's: claude mcp add adwarp -- npx -y adwarp mcp
6. Check the connection by listing my ad accounts, then save the one I pick as defaultAccountId in ~/.adwarp/config.json.

Don't create or change anything in my ad accounts during setup. LinkedIn campaigns start as drafts, so nothing spends until I turn it on.

LinkedIn Ads in Claude.

Adwarp is an open-source MCP server that connects Claude Code and Claude Desktop to LinkedIn Ads. Set it up from your terminal, then ask Claude to size audiences, draft campaigns and pull reports.

$ claude mcp add adwarp -- npx -y adwarp mcp

Read the docs

claude ~ draft

$ claude

> Draft a campaign for VPs of demand gen at 50 USD a day.

adwarp.create_campaign "VP Demand Gen", 50 USD/day: DRAFT

adwarp.create_text_ad 3 variants: DRAFT

01Set up

Set up in 3 steps.

  1. Create your LinkedIn developer app

    Add the Advertising API product. It's free, and approval usually takes a day or 2.

  2. Sign in from your terminal

    Adwarp opens your browser for LinkedIn's approval and stores the token locally.

    npx -y adwarp auth login
  3. Add it to Claude Code

    1 command, and Claude can use all 28 LinkedIn tools.

    claude mcp add adwarp -- npx -y adwarp mcp
Using Claude Desktop instead?

Add Adwarp to your Claude Desktop config and restart the app.

claude_desktop_config.json
{
  "mcpServers": {
    "adwarp": { "command": "npx", "args": ["-y", "adwarp", "mcp"] }
  }
}

02Try these prompts

5 prompts to try first.

claude ~ reach

$ claude

> How many VPs of demand gen at US software companies can we reach?

adwarp.estimate_audience titles + VP + US + software: 2,140 members

03Results

Why running ads from Claude gets better results.

  • Questions get asked

    Checking performance is a sentence in the tool you already have open, so it happens daily instead of monthly.

  • Fixes ship the same day

    The answer and the change happen in 1 conversation, as drafts you approve.

  • Context stays together

    Claude can read your brief, your CSV and your results in the same session.

04FAQ

Questions, answered. From setup to the details.

Ask on GitHub
Is there a LinkedIn Ads connector for Claude?

Not from LinkedIn. Adwarp is an open-source MCP server that gives Claude access to LinkedIn Ads through your own developer app.

Does it work in Claude Desktop?

Yes. Add it to the Claude Desktop config shown above and restart the app.

Does it work in Claude on the web?

Not yet. Claude's web connectors need OAuth, which the hosted endpoint doesn't support yet.

Where are my credentials stored?

In a local folder locked to your user. With the hosted endpoint they travel as headers, are used in memory and are never stored.

Does it run locally or on the hosted endpoint?

Either. Run Adwarp on your machine, or connect Claude Code to the hosted endpoint with your own LinkedIn app credentials. List uploads, CRM audiences and the change journal need your machine.

Does it run locally or on the hosted endpoint?
FeatureLocalHosted
Campaigns, audience sizing, reportingYesYes
Ad Library through the official APIYesYes
CSV list uploadsYesNo
Salesforce audiencesYesNo
HubSpot audiencesYesNo
Change journal and liftYesNo