# @getmcpads/linkedin-ads-mcp-server [Health: Active]

**Category:** 🎯 Marketing  
**Repository:** https://github.com/get-mcp-ads/linkedin-ads-mcp-server  
**GitHub Stars:** 0  
**npm Downloads (last month):** 898  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/getmcpads-linkedin-ads-mcp-server

## Description
LinkedIn Ads MCP server: 18 read tools, 15 opt-in preview-first writes.

## Tools
Capabilities this server exposes over MCP:

- **linkedin_health_check** — Check the token, the configured accounts it reaches, the reporting endpoint and the API version, without returning the token
- **linkedin_list_ad_accounts** — List the configured ad accounts the member can reach, with currency, status and serving status
- **linkedin_get_account_details** — Read one ad account in full, with the members who hold a role on it
- **linkedin_get_campaign_groups** — List campaign groups with budget, schedule and serving status
- **linkedin_get_campaigns** — List campaigns with status, objective, format, bid, budget and schedule, optionally with targeting
- **linkedin_get_creatives** — List creatives with intended status, review verdict and serving hold reasons
- **linkedin_get_entity** — Read one campaign group, campaign or creative and verify account ownership
- **linkedin_get_setup_guide** — Read the account, supported formats and native write requirements before preparing changes
- **linkedin_get_insights** — Run a report grouped by one pivot, with computed ratios
- **linkedin_run_statistics_report** — Run a report grouped by up to three pivots at once
- **linkedin_get_demographics** — Break delivery down by professional demographics, with names resolved and the limits stated
- **linkedin_get_revenue_attribution** — Read CRM pipeline and closed won revenue attributed to LinkedIn advertising
- **linkedin_validate_query** — Check a pivot and metric combination against the reporting rules, without a request
- **linkedin_get_delivery_status** — Explain why ads are or are not serving, from the account down to the creative
- **linkedin_find_targeting** — Look up native targeting URNs, such as countries or job titles, by name
- **linkedin_list_media** — List the account image or video library with download URLs and processing status
- **linkedin_get_media** — Refresh one image or video URL and verify its library association
- **linkedin_list_ad_creatives** — List the images and videos used by ads, with the actual ad names and landing pages
- **linkedin_create_campaign_group** — Create a DRAFT campaign group
- **linkedin_create_campaign** — Create a DRAFT text ad or sponsored content campaign with budget, bid, targeting and schedule
- **linkedin_create_text_ad** — Create a DRAFT text ad with an image from the account library
- **linkedin_create_media_ad** — Create a DRAFT sponsored image or video ad on a dark post
- **linkedin_update_entity** — Rename, pause or archive, or edit budget, bid, schedule, targeting or text ad content
- **linkedin_rename_campaign_group** — Rename a campaign group, and nothing else
- **linkedin_rename_campaign** — Rename a campaign, and nothing else
- **linkedin_rename_ad** — Rename an ad (creative), and nothing else
- **linkedin_rename_ad_account** — Rename the ad account, and nothing else
- **linkedin_duplicate_ad** — Copy an ad into a verified campaign as DRAFT
- **linkedin_delete_draft_ad** — Delete one DRAFT ad, without touching its post or media
- **linkedin_initialize_upload** — Start an image or video upload to the account library and return a signed receipt
- **linkedin_upload_part** — Upload one part of the file to LinkedIn's signed upload URL
- **linkedin_finalize_upload** — Finalize a video once every part is uploaded
- **linkedin_update_media** — Rename or archive a library image or video

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "linkedin-ads-mcp-server": {
    "command": "npx",
    "args": ["-y","@getmcpads/linkedin-ads-mcp-server"],
    "env": {
      "LINKEDIN_ADS_ACCESS_TOKEN": "",
      "LINKEDIN_ADS_REFRESH_TOKEN": "",
      "LINKEDIN_ADS_CLIENT_ID": "",
      "LINKEDIN_ADS_CLIENT_SECRET": "",
      "LINKEDIN_ADS_ACCOUNT_IDS": "",
      "LINKEDIN_ADS_SCOPES": "",
      "LINKEDIN_ADS_ENABLE_WRITES": "",
      "LINKEDIN_ADS_API_VERSION": ""
    }
  }
}
```

**Requires environment variables:** `LINKEDIN_ADS_ACCESS_TOKEN`, `LINKEDIN_ADS_REFRESH_TOKEN`, `LINKEDIN_ADS_CLIENT_ID`, `LINKEDIN_ADS_CLIENT_SECRET`, `LINKEDIN_ADS_ACCOUNT_IDS`, `LINKEDIN_ADS_SCOPES`, `LINKEDIN_ADS_ENABLE_WRITES`, `LINKEDIN_ADS_API_VERSION` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What @getmcpads/linkedin-ads-mcp-server does

LinkedIn Ads account data becomes available to an MCP client through direct requests to the LinkedIn Marketing API. The server can inspect configured ad accounts, campaign groups, campaigns, creatives, delivery status, targeting terms, media assets, and sponsored content details. Reporting tools cover pivoted performance statistics, professional demographics, CRM pipeline revenue, and closed-won revenue attributed to LinkedIn advertising.

The account allowlist is part of the server configuration: every request is restricted to the numeric ad account IDs supplied at startup. Health checks can report token reachability, configured accounts, the reporting endpoint, and API version without returning the token.

Write operations are disabled by default. When enabled, they can create draft campaign groups, campaigns, text ads, and sponsored image or video ads; update selected entity properties; rename entities; duplicate ads as drafts; delete draft ads; and initialize media uploads. The tools are intended for explicitly selected accounts and preview-first changes.

## How it works

Run the built CLI with Node.js and connect it to an MCP client over stdio. The client invokes named tools, while the server validates configuration and sends API requests to LinkedIn. It does not run an OAuth browser flow or write credentials to disk. If a supported programmatic refresh-token configuration is used, a renewed access token remains in memory for the process lifetime.

Read access and write access depend on both LinkedIn scopes and the member's role on each account. Reporting requires `r_ads_reporting`; general advertising reads use `r_ads` or `rw_ads`; write tools require `rw_ads`. Media-backed sponsored content operations also involve organization scopes. Account roles still determine whether the member can edit, even when the token includes a write scope.

## Setup and configuration

The repository can be installed from source by cloning a release, running `npm ci`, and building with `npm run build`. Configure the MCP client to start `dist/cli.js` with an absolute path. An npm installation can instead use the package's `linkedin-ads-mcp` binary through `npx`.

Set `LINKEDIN_ADS_ACCOUNT_IDS` to one to 100 comma-separated numeric account IDs. Authentication can use `LINKEDIN_ADS_ACCESS_TOKEN`, or a programmatic refresh-token setup with `LINKEDIN_ADS_REFRESH_TOKEN`, `LINKEDIN_ADS_CLIENT_ID`, and `LINKEDIN_ADS_CLIENT_SECRET`. `LINKEDIN_ADS_ENABLE_WRITES=true` is required to expose write tools; the default is read-only. `LINKEDIN_ADS_SCOPES` can declare the scopes granted to the token and causes writes to be rejected when `rw_ads` is absent.

The server supports Node.js 22.23.4, 24.22.1, 26.12.1, or newer releases. `npm run doctor` checks configuration presence and the Node.js release without printing secret values.

## Tools and capabilities

- Inspect account access, account details, roles, campaign groups, campaigns, creatives, and entity ownership.
- Run insights, multi-pivot statistics, demographic breakdowns, revenue attribution, and reporting-query validation.
- Diagnose delivery from account through creative and look up native targeting URNs by name.
- List media assets, refresh individual media URLs, verify library associations, and inspect ads using account media.
- Create draft campaign structures and ads, including text ads with library images and sponsored image or video ads on dark posts.
- Update, rename, duplicate, or remove draft advertising entities, and initialize image or video uploads.

## Limitations and notes

LinkedIn Marketing API access must be granted to an application owned by the operator. Development-tier access limits edits to five administered ad accounts; standard-tier access removes that edit limit. Access tokens last 60 days, while programmatic refresh tokens are available only to approved applications and last a year.

The standalone repository provides native API tools, not the hosted product's creative galleries, MCP Apps interface, Google Sheets exports, or bulk-launch features. Requests go directly to LinkedIn, and the configured account allowlist applies to reads as well as writes. Company Page permissions are also required for media uploads and sponsored image or video ads associated with that Page.

_Full upstream README: https://allmcps.com/mcp/getmcpads-linkedin-ads-mcp-server/readme_

