Skip to main content
Glama
charltonmediagroup

LinkedIn Ads MCP Server

LinkedIn Ads MCP 服务器

一个将 Claude (Code 或 Desktop) 连接到 LinkedIn Ads API 的 MCP 服务器,让您能够通过自然语言控制广告系列管理、受众定位、创意上传、分析和账户审计。

功能概述

类别

功能

广告系列

创建、列出、更新广告系列组和广告系列

受众群体

创建/编辑已保存的受众群体,批量地理位置定位切换

广告创意

上传图片和视频,创建广告创意

分析报告

广告系列和创意效果报告,账户摘要

账户审计

10 项账户审计(CTR 下降、预算使用率、缺失转化跟踪等)

批量操作

队列化并执行批量广告系列/组的创建和更新

内置最佳实践强制执行 — 在每次写入操作中,受众扩展和受众网络默认处于禁用状态。

Related MCP server: LinkedIn Profile MCP Server

前置要求

  • Node.js 18+

  • 拥有 Advertising API 访问权限的 LinkedIn 开发者应用(在此申请

  • OAuth 权限范围:r_ads, rw_ads, r_ads_reporting, r_basicprofile

  • 您的 LinkedIn 广告账户 ID

快速开始

git clone <this-repo-url>
cd linkedin-ads-mcp-server
npm install
cp .env.example .env
# Edit .env with your LinkedIn credentials
npm run build
npm start

您应该会看到:LinkedIn Ads MCP server running — 34 tools registered

连接到 Claude

Claude Code (CLI)

添加到您的 ~/.claude/settings.json

{
  "mcpServers": {
    "linkedin-ads": {
      "command": "node",
      "args": ["/path/to/linkedin-ads-mcp-server/dist/index.js"],
      "env": {
        "LINKEDIN_ACCESS_TOKEN": "your_token",
        "LINKEDIN_AD_ACCOUNT_ID": "urn:li:sponsoredAccount:123456789"
      }
    }
  }
}

Claude Desktop

将相同的 mcpServers 代码块添加到 %APPDATA%/Claude/claude_desktop_config.json (Windows) 或 ~/Library/Application Support/Claude/claude_desktop_config.json (macOS)。

更新配置后重启 Claude。

使用方法

连接后,直接与 Claude 对话即可:

  • “列出我的广告系列组”

  • “创建一个名为 Q3 品牌知名度的新广告系列组”

  • “运行完整的账户审计”

  • “显示我本月前 5 名广告系列的分析数据”

  • “将所有已保存受众群体的定位从英国切换到美国”

若要在不重启的情况下定位不同的广告账户,请直接在对话中指定:

  • “列出账户 urn:li:sponsoredAccount:987654321 的广告系列”

完整设置指南

请参阅 SETUP.md 获取详细说明,涵盖:

  1. 创建 LinkedIn 开发者应用

  2. 生成 OAuth 令牌

  3. 关联您的广告账户

  4. 配置 Claude Code / Claude Desktop

  5. 生产环境下的令牌刷新

  6. 升级到标准 API 层级

令牌过期

访问令牌 60 天后过期。请参阅 SETUP.md 第 5 部分了解刷新流程。

许可证

MIT

Install Server
A
license - permissive license
B
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    MCP server for the LinkedIn Marketing API — query campaigns, performance, and Lead Gen Forms from Claude in plain English. 19 read-only tools covering ad accounts, campaigns, creatives, performance analytics, demographics, video analytics, budget pacing, period comparisons, conversions, Lead Gen Forms, audiences, and targeting facets. Built for B2B paid social teams.
    19
    4
  • A
    license
    -
    quality
    D
    maintenance
    An intelligent bridge between Claude and LinkedIn. This MCP server empowers Claude to act as your high-level career consultant, capable of auditing your profile, optimizing your identity, and managing your professional content with real-time API access.
    1
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    MCP server to manage Meta Ads (Facebook/Instagram) campaigns, ad sets, insights, and audiences from Claude Code using natural language.
    9
    7
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    An MCP server that connects AI assistants to LinkedIn's Ad Library API for searching advertisers' sponsored content, job postings, and influencer partnerships.
    MIT

View all related MCP servers

Related MCP Connectors

  • Managed LinkedIn MCP server for AI agents: search, connect, message and enrich on accounts you own.

  • MCP server for LeadDelta — manage LinkedIn connections and CRM data via AI assistants.

  • Hosted Amazon Seller Central and Amazon Ads MCP server for Claude, ChatGPT, Cursor, and agents.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/charltonmediagroup/LICampaignsMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server