LinkedIn Ads MCP by AdPlug logo

LinkedIn Ads MCP by AdPlug

Analyze and manage LinkedIn ad accounts, campaigns, creatives, audiences, conversions, and lead forms through MCP tools.

Install LinkedIn Ads MCP by AdPlug

Run the project’s own setup commands, in order.

Setup steps from the project

LinkedIn Ads MCP by AdPlug installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    git clone https://github.com/danielpopamd/linkedin-ads-mcp.git
    
  2. 2. Install
    npm install
    
  3. 3. Install
    npm run build
    
  4. 4. Sign in
    npm run auth
    

Overview

LinkedIn Ads MCP by AdPlug MCP server connects an MCP-compatible client to the LinkedIn Marketing API for advertising analytics and campaign management. It provides tools for account discovery, performance reporting, audience analysis, conversion and lead tracking, and campaign, creative, and image operations. Setup uses a Node.js application, LinkedIn developer credentials, and a local OAuth callback. Reach for it when an agent needs to inspect or modify LinkedIn advertising data through natural-language requests.

Use cases

  • Analyze campaign and creative performance
  • Compare advertising results across time periods
  • Break down audience performance by demographic
  • Track conversions and lead form submissions
  • Create and update LinkedIn campaigns

Key features

  • Campaign, creative, audience, and account reporting
  • Conversion and lead generation metrics
  • Campaign and campaign group management
  • Creative creation and status updates
  • LinkedIn OAuth with automatic token refresh
  • Rate-limit handling with exponential backoff

Tools25

What LinkedIn Ads MCP by AdPlug lets your agent do. Expand a tool for its parameters.

Self-reported~430 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 62d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars44Stargazers on the source repository.
Last commit2mo agoMost recent push to the default branch.
Tools exposed25Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How LinkedIn Ads MCP by AdPlug works

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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about LinkedIn Ads MCP by AdPlug

LinkedIn Ads MCP by AdPlug is an MCP server that connects MCP-compatible clients to the LinkedIn Marketing API. Its main tools list ad accounts, report on campaigns and creatives, analyze audiences, conversions, and leads, compare performance, and create or update campaigns, campaign groups, creatives, and images.

Install Node.js 18 or newer, clone the repository, run `npm install` and `npm run build`, copy `.env.example` to `.env`, and add the LinkedIn credentials. Then run `npm run auth`, authorize the app in a browser, configure the built server in the MCP client, and restart the client.

It requires a LinkedIn Developer App with Advertising API access, plus its client ID and client secret. The app also needs the local redirect URL `http://localhost:3000/callback`, and the connected user needs access to the relevant LinkedIn advertising accounts.

Yes. The README identifies Cursor as a client for the hosted AdPlug connector, while the self-hosted server is described as compatible with MCP clients. Configure Cursor with the built Node.js server and provide the required LinkedIn credentials and OAuth authorization.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewLinkedIn Ads MCP by AdPlug AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/linkedin-ads-mcp-by-adplug?style=directory)](https://allmcps.com/mcp/linkedin-ads-mcp-by-adplug)
HTML Embed
<a href="https://allmcps.com/mcp/linkedin-ads-mcp-by-adplug"><img src="https://allmcps.com/api/badge/linkedin-ads-mcp-by-adplug?style=directory" alt="LinkedIn Ads MCP by AdPlug on AllMCPs" /></a>