原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

LinkedIn Ads MCP by AdPlug

作者:danielpopamd版本 1.0.0i★ 42i在云端运行
注册名称io.github.danielpopamd/linkedin-ads-mcp

安装

概览

作者提供的说明(英文原文)

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

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在云端运行
  • 传输方式: Streamable HTTP
  • 分类: 营销与社交媒体

安装

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

安装之前

你需要

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

适用于网页版、桌面版和手机版 Claude:

  1. 打开 Settings → Connectors
  2. 点击 Add custom connector
  3. 粘贴下面的地址,然后点击 Add
  4. 如果要求登录,请登录作者的服务
SettingsConnectors1+ Add2https://…3
https://api.adplug.app/mcp/linkedin-ads

在终端中运行这条命令

claude mcp add --transport http linkedin-ads https://api.adplug.app/mcp/linkedin-ads

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "linkedin-ads": {
      "url": "https://api.adplug.app/mcp/linkedin-ads"
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "linkedin-ads": {
      "type": "http",
      "url": "https://api.adplug.app/mcp/linkedin-ads"
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

ChatGPT 只能连接互联网上的服务器:

  1. 打开网页版 ChatGPT → Settings → Connectors (Apps)
  2. 点击 Create 或 Add(部分套餐需要先在 Advanced 中开启 Developer mode)
  3. 粘贴下面的地址,起个名字,然后保存
  4. 如果要求登录,请登录作者的服务
SettingsConnectors1+ Create2https://…3
https://api.adplug.app/mcp/linkedin-ads

菜单名称可能因套餐和版本不同而略有差异。

你的选择通过 Cookie 保存在这台设备上,无需账户。

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • ✓ 通过

    仍在维护

    代码最后更新于2个月前

  • ✓ 通过

    有许可证

    使用 MIT

  • ✓ 通过

    端点有响应

    在 144 毫秒内响应(HTTP 401)

  • ✓ 通过

    使用 OAuth 登录

    声明支持 OAuth 登录,你的 AI 应用可以带你去登录

  • … 尚未检查

    工具描述中没有隐藏指令

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

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

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

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

常见问题

LinkedIn Ads MCP by AdPlug 安全吗?

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

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

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

它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。

它还在维护吗?

GitHub 仓库最后更新于2个月前,最新版本(1.0.0)于2个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。

有什么可以替代它?

同一分类中有:MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer

替代选择

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

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

MCP YouTube Transcript

作者:jkawamoto

An MCP server retrieving transcripts of YouTube videos

在你的电脑上运行★ 495MIT10天前更新
安装

Google Analytics MCP

作者:surendranb

GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.

在你的电脑上运行★ 244MIT10天前更新
安装

AI video summarizer: summarize and transcribe YouTube, Bilibili, TikTok and podcast videos.

在云端运行★ 137MIT11天前更新
安装

作者的 README

打开 README

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

LinkedIn Ads MCP Server

An MCP (Model Context Protocol) server that enables Claude AI to access and analyze your LinkedIn Ads data. Built for marketers, founders, and growth teams who want to leverage AI for campaign optimization, performance reporting, and data-driven advertising decisions.

[!TIP]

Want this without any setup? From the same author: [AdPlug](https://adplug.app?utm_source=github&utm_medium=referral&utm_campaign=linkedin-ads-mcp&utm_content=readme-tip) is the hosted LinkedIn Ads MCP. Sign in with OAuth (no LinkedIn developer app, no credentials to manage), connect Claude, ChatGPT, or Cursor in about two minutes, and get Google Ads and Microsoft Ads on the same connector. Read tools are free; every write is previewed before it runs. This open-source server stays free and self-hosted.


Quick Install (No Coding Required!)

Don't want to deal with technical stuff? Just copy one of the prompts below and paste it into Claude. The AI will do everything for you!


Option 1: Install with Claude Code (Recommended)

If you have Claude Code installed, just copy and paste this entire prompt:

Click to expand the Claude Code installation prompt

I want you to install the LinkedIn Ads MCP server so I can analyze my LinkedIn advertising data. Please do the following:
  1. FIRST, check if Node.js is installed by running node --version. If not installed, tell me to install it from https://nodejs.org first.
  1. Clone the repository to my home directory:
  • cd ~
  • git clone https://github.com/danielpopamd/linkedin-ads-mcp.git
  • cd linkedin-ads-mcp
  1. Install dependencies and build:
  • npm install
  • npm run build
  1. Create the .env file with placeholder values:
  • cp .env.example .env
  1. NOW IMPORTANT - Ask me for my LinkedIn API credentials:
  • Ask: "Please provide your LinkedIn Client ID (from https://www.linkedin.com/developers/apps)"
  • Ask: "Please provide your LinkedIn Client Secret"
  1. Update the .env file with the credentials I provide.
  1. Set up Claude Desktop configuration:
  • Read the current Claude Desktop config file:
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%/Claude/claude_desktop_config.json
  • Add the linkedin-ads MCP server to mcpServers (merge with existing config if any): { "mcpServers": { "linkedin-ads": { "command": "node", "args": [" /linkedin-ads-mcp/dist/index.js"], "env": { "LINKEDIN_CLIENT_ID": " ", "LINKEDIN_CLIENT_SECRET": " " } } } }
  • Replace with the actual path (e.g., /Users/username)
  • Replace the env values with my actual credentials
  1. Run the authentication flow:
  • npm run auth
  • This will open my browser - tell me to authorize the app with LinkedIn
  1. Tell me to restart Claude Desktop to activate the MCP server.
  1. After restart, confirm setup by telling me to ask Claude: "List my LinkedIn ad accounts"

If you don't have my LinkedIn API credentials yet, first explain how to get them:

  • Go to https://www.linkedin.com/developers/apps
  • Create a new app (need a LinkedIn Company Page)
  • Go to Products tab and request "Advertising API" access
  • Go to Auth tab and add redirect URL: http://localhost:3000/callback
  • Copy the Client ID and Client Secret

Start now!


Option 2: Install with Claude Desktop (Chat-Based)

If you're using Claude Desktop directly (without Claude Code), copy this prompt to start a guided setup:

Click to expand the Claude Desktop guided setup prompt

I want to install the LinkedIn Ads MCP server to analyze my LinkedIn advertising data with Claude. I'm not technical, so please guide me step by step with simple instructions.

Please walk me through:

  1. Check Prerequisites
  • Do I have Node.js installed? (Tell me how to check and where to download if needed)
  • Do I have a LinkedIn Developer App? (If not, guide me through creating one at https://www.linkedin.com/developers/apps)
  1. Get LinkedIn API Access Walk me through:
  • Creating a LinkedIn Developer App
  • Requesting Advertising API access (Products tab)
  • Adding the redirect URL: http://localhost:3000/callback (Auth tab)
  • Finding my Client ID and Client Secret
  1. Download and Install Give me the exact commands to run in my terminal (one at a time):
  • How to open Terminal (Mac) or Command Prompt (Windows)
  • Clone the repository
  • Install dependencies
  • Build the project
  1. Configure Claude Desktop
  • Tell me exactly where the config file is located
  • Give me the exact JSON to add (with placeholders for my credentials)
  • Show me how to edit the file
  1. Authenticate with LinkedIn
  • What command to run
  • What to do when the browser opens
  1. Test the Setup
  • Tell me to restart Claude Desktop
  • Give me a test question to ask

Please start with step 1 and wait for my response before moving to the next step. Use simple language and assume I've never used a terminal before.


What You'll Need Before Installing

Before using either installation method, you'll need:

  1. Node.js (version 18 or higher) - Download here
  2. A LinkedIn Company Page - Required to create a developer app
  3. LinkedIn Developer App with Advertising API access - Create one here
Getting LinkedIn API Credentials (5-10 minutes)
  1. Go to LinkedIn Developer Portal
  2. Click "Create App"
  3. Fill in:
  • App name: "My LinkedIn Ads Analytics" (or anything you want)
  • LinkedIn Page: Select your company page
  • App logo: Upload any square image
  1. After creating, go to "Products" tab → Request "Advertising API" (approval takes 1-5 days)
  2. Go to "Auth" tab → Add redirect URL: http://localhost:3000/callback
  3. Copy your Client ID and Client Secret - you'll need these!

Created By

[Daniel Popa](https://danielpopa.me) - Performance Marketing Consultant & AI Automation Specialist

I help ambitious startups scale profitably through paid ads, conversion rate optimization, and data-driven growth strategies. With 10+ years in performance marketing and $100M+ in managed ad budgets, I now focus on implementing AI workflows and automation to improve marketing efficiency and performance.

This tool was built to bridge the gap between LinkedIn's advertising data and AI-powered analysis, making it easier for marketers to get actionable insights through natural language conversations with Claude.

  • Website: danielpopa.me
  • Focus: Performance Marketing, AI Automation, Growth Strategy

Manual Installation (For Developers)

If you prefer to install manually or want more control, follow the instructions below.


What This Does

This MCP server connects Claude Desktop (or any MCP-compatible client) to the LinkedIn Marketing API, allowing you to:

  • Query campaign performance using natural language
  • Analyze audience demographics to understand who's engaging with your ads
  • Track conversions and leads across your LinkedIn campaigns
  • Compare performance between time periods, campaigns, or campaign groups
  • Get AI-powered insights on your advertising data
Example Conversations with Claude
"Show me campaign performance for the last 30 days"

"Which job functions are responding best to my ads?" "Compare this week's performance vs last week" "What's my cost per lead for the lead gen campaigns?" "Which creatives have the best CTR?" "Show me the daily trend for conversions"


Features

  • 25 Specialized Tools - Covering accounts, campaigns, creatives, audiences, conversions, analytics, and full campaign management (create, update, delete)
  • Comprehensive Metrics - Every report includes: Spend, Impressions, Clicks, CTR, Reach, Frequency, Engagements, Engagement Rate, CPM, CPC, Conversions, Conversion Rate, Cost per Conversion, Audience Penetration, and Average Dwell Time
  • Single OAuth Authentication - Authenticate once and access all your LinkedIn ad accounts
  • Automatic Token Refresh - Tokens refresh automatically before expiration
  • Rate Limit Handling - Built-in exponential backoff for API rate limits
  • Human-Readable Names - Demographic data shows actual names (not IDs) for seniorities, job functions, industries, and more

Prerequisites

1. LinkedIn Developer App

Before using this MCP server, you need to set up a LinkedIn Developer application:

  1. Go to LinkedIn Developer Portal
  2. Click "Create App"
  3. Fill in your app details:
  • App name: e.g., "My LinkedIn Ads Analytics"
  • LinkedIn Page: Select your company page
  • App logo: Upload a logo (required)
  1. Note your Client ID and Client Secret
2. Request Advertising API Access
  1. In your app, go to the "Products" tab
  2. Select "Advertising API"
  3. Submit the request form with your business justification
  4. Wait for approval (typically 1-5 business days)
3. Configure OAuth
  1. Go to the "Auth" tab in your app
  2. Add this redirect URL: http://localhost:3000/callback
  3. Verify these OAuth 2.0 scopes are available:
  • r_ads - Read ad accounts
  • r_ads_reporting - Read reporting data
  • rw_ads - Create and manage campaigns, creatives, and ads
  • r_organization_social - Read organization posts (for creative content)

Installation

# Clone the repository

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

Install dependencies

npm install

Build the project

npm run build

Create your environment file

cp .env.example .env

Edit .env with your LinkedIn credentials:

LINKEDIN_CLIENT_ID=your_client_id

LINKEDIN_CLIENT_SECRET=your_client_secret


Authentication

Run the authentication flow to get your access tokens:

npm run auth

This will:

  1. Open your browser to LinkedIn's OAuth page
  2. Ask you to authorize the application
  3. Store your tokens locally in ~/.linkedin-ads-mcp/tokens.json
  4. Tokens are valid for 60 days and auto-refresh

Claude Desktop Setup

Add this to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{

"mcpServers": { "linkedin-ads": { "command": "node", "args": ["/full/path/to/linkedin-ads-mcp/dist/index.js"], "env": { "LINKEDIN_CLIENT_ID": "your_client_id", "LINKEDIN_CLIENT_SECRET": "your_client_secret" } } } }

Important: Replace /full/path/to/linkedin-ads-mcp with the actual path where you cloned this repository.

After updating the config, restart Claude Desktop for the changes to take effect.


Available Tools

Account Management
ToolDescription
list_ad_accountsList all accessible LinkedIn ad accounts
get_account_detailsGet detailed account configuration and settings
Campaign & Creative Performance
ToolDescription

| get_campaign_performance | Campaign metrics with all standard KPIs including audience penetration and a

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

问 PopNx