# LinkedIn Ads MCP by AdPlug [Health: Active]

**Category:** 🎯 Marketing  
**Repository:** https://github.com/danielpopamd/linkedin-ads-mcp  
**GitHub Stars:** 44  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/linkedin-ads-mcp-by-adplug

## Description
LinkedIn Ads MCP server: 10 tools for campaigns, creatives, audiences, lead forms. Writes preview.

## Tools
Capabilities this server exposes over MCP:

- **list_ad_accounts** — List all accessible LinkedIn ad accounts
- **get_account_details** — Get detailed account configuration and settings
- **get_campaign_performance** — Campaign metrics with all standard KPIs including audience penetration and average dwell time
- **get_creative_performance** — Ad-level metrics with engagement, video stats, and average dwell time
- **get_campaign_groups** — List campaign groups with aggregated performance
- **list_campaigns** — List all campaigns including drafts and paused with zero impressions
- **get_audience_demographics** — Performance by job function, industry, seniority, company size, country, region
- **get_audience_reach** — Unique member reach, frequency, and native audience penetration metrics
- **list_saved_audiences** — View matched and lookalike audiences
- **get_conversion_performance** — Conversion metrics by conversion action
- **list_conversions** — View conversion tracking rules and configuration
- **get_lead_gen_performance** — Lead form submissions and cost per lead
- **list_lead_forms** — View lead gen form configurations
- **compare_performance** — Compare metrics between time periods or entities
- **get_daily_trends** — Daily time-series data for trend analysis
- **create_campaign_group** — Create a new campaign group for organizing campaigns
- **update_campaign_group** — Update campaign group status, budget, name, or end date
- **delete_campaign_group** — Delete a campaign group
- **create_campaign** — Create a new campaign with targeting, budget, and objective
- **update_campaign** — Update campaign status, budget, targeting, or bid amount
- **delete_campaign** — Delete a campaign
- **create_creative** — Create a creative from an existing post/share
- **create_inline_ad** — Create an ad with inline content (text, image, CTA) in one call
- **update_creative_status** — Activate, pause, or archive a creative
- **upload_image** — Upload an image for use in ads (PNG, JPG, GIF)

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/danielpopamd/linkedin-ads-mcp), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
git clone https://github.com/danielpopamd/linkedin-ads-mcp.git
```

2. Install:

```sh
npm install
```

3. Install:

```sh
npm run build
```

4. Sign in:

```sh
npm run auth
```

## Documentation

## What LinkedIn Ads MCP by AdPlug does

LinkedIn Ads MCP by AdPlug MCP server exposes LinkedIn advertising data and management actions through the Model Context Protocol. It connects to the LinkedIn Marketing API and lets an MCP client work with accessible ad accounts, campaigns, campaign groups, creatives, audiences, conversions, and lead generation forms.

The read tools cover account configuration, campaign and creative performance, demographic breakdowns, audience reach, saved audiences, conversion rules, lead form results, period comparisons, and daily trends. Reports can include standard advertising measures such as spend, impressions, clicks, CTR, reach, frequency, engagements, CPM, CPC, conversions, conversion rate, cost per conversion, audience penetration, and average dwell time.

Write operations cover creating, updating, and deleting campaign groups and campaigns; creating creatives and inline ads; changing creative status; and uploading PNG, JPG, or GIF images.

## How it works

The server runs locally as a Node.js application and communicates with the MCP client over the client’s configured server connection. Authentication uses LinkedIn OAuth. After the initial authorization, the server can access the user’s available LinkedIn ad accounts, and token refresh is handled automatically before expiration. API rate-limit responses are handled with exponential backoff.

An agent can call individual tools directly or combine them into analysis workflows. For example, it can list campaigns, retrieve a selected date range, compare that range with an earlier period, and inspect demographic or creative results. The same interface can then be used to create or update campaign resources when account permissions and LinkedIn API access allow it.

## Setup and configuration

LinkedIn Ads MCP by AdPlug MCP server requires Node.js 18 or newer, a LinkedIn Company Page, and a LinkedIn Developer App with Advertising API access. LinkedIn may need to approve that API product before the server can use it.

A typical self-hosted setup is:

1. Clone the repository.
2. Run `npm install` and `npm run build`.
3. Copy `.env.example` to `.env`.
4. Set `LINKEDIN_CLIENT_ID` and `LINKEDIN_CLIENT_SECRET`.
5. Run `npm run auth` and authorize the application in the browser.
6. Add the built server entry point to the MCP client configuration and restart the client.

The LinkedIn developer application must include `http://localhost:3000/callback` as an authorized redirect URL. The README provides a Claude Desktop configuration using Node.js and the built `dist/index.js` file.

## Tools and capabilities

Available tools include:

- List ad accounts, account settings, campaign groups, campaigns, saved audiences, conversions, and lead forms.
- Retrieve campaign, creative, conversion, lead-generation, audience-demographic, and audience-reach metrics.
- Compare performance across time periods or entities and retrieve daily time-series data.
- Create, update, and delete campaign groups and campaigns.
- Create creatives from existing posts, create inline ads, and change creative status.
- Upload images for advertising use.

## Limitations and notes

Access depends on the permissions granted to the LinkedIn Developer App and the connected user. Advertising API access and a LinkedIn Company Page are prerequisites for the documented setup. The server is self-hosted, so the operator must provide Node.js, credentials, OAuth authorization, and MCP client configuration. The available data and actions are limited to what LinkedIn exposes through the connected advertising account and API access.

_Full upstream README: https://allmcps.com/mcp/linkedin-ads-mcp-by-adplug/readme_

