Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

LinkedIn Ads

MCP server by get-mcp-ads Verified · getmcpads.com

Connects LinkedIn Ads accounts to an MCP client so assistants can read campaign data and prepare draft campaigns and ads. Built for advertisers and developers who run it with their own LinkedIn app credentials.

  • Score 80
  • 0 stars
  • 98 a week
  • Apache-2.0
  • Updated

Install LinkedIn Ads

Built from the published package, never by AI.

claude mcp add linkedin-ads -e LINKEDIN_ADS_ACCOUNT_IDS=YOUR_LINKEDIN_ADS_ACCOUNT_IDS -- npx -y @getmcpads/linkedin-ads-mcp-server

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install LinkedIn Ads in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the linkedin-ads block.

About

The LinkedIn Ads MCP server connects an MCP client to LinkedIn Ads accounts. It reads campaign structure, performance and professional demographics, and it can prepare draft campaigns and ads for accounts you explicitly select. It runs locally with your own LinkedIn app credentials and sends requests directly to the LinkedIn Marketing API.

Only ad account IDs listed in LINKEDIN_ADS_ACCOUNT_IDS are accepted, and other accounts are refused before any request. The 18 read tools are available by default. The 15 write tools stay off unless LINKEDIN_ADS_ENABLE_WRITES is set to true, and each write previews first and runs only when repeated with confirm: true. Campaigns and ads are created as DRAFT, and no tool activates delivery. It suits advertisers and developers who want LinkedIn Ads data and draft setup inside an AI assistant.

Written from the project's README and checked against it.

Tools it gives your assistant

  • linkedin_health_checkChecks the token, reachable configured accounts, reporting endpoint and API version without returning the token.
  • linkedin_list_ad_accountsLists the configured ad accounts that the token can reach.
  • linkedin_validate_queryValidates a report query offline before any request is sent.
  • linkedin_get_insightsReads campaign performance insights for a configured ad account.
  • linkedin_run_statistics_reportRuns a statistics report against a configured ad account.
  • linkedin_get_demographicsReads professional demographics for ad campaign reporting.
  • linkedin_get_revenue_attributionReads revenue attribution data for a configured ad account.
  • linkedin_list_ad_creativesLists ad creatives, including the sponsored post behind each sponsored content ad.
  • linkedin_create_media_adCreates a dark post sponsored by an ad, authored by the ad account's Company Page. Write tool.

What you need

  • Node.js 22.23.4, 24.22.1, 26.12.1 or a newer release
  • A LinkedIn developer application with the Advertising API product
  • A LinkedIn member access token with the listed scopes
  • Access to the LinkedIn ad accounts you want to use
  • A LinkedIn role that allows writes, such as ACCOUNT_MANAGER or CAMPAIGN_MANAGER, for write tools
SettingNeededWhat it is
LINKEDIN_ADS_ACCOUNT_IDSEnvironment variableRequiredComma-separated numeric ad account IDs this server may access, 1 to 100. Required even for reads.
LINKEDIN_ADS_ACCESS_TOKENEnvironment variable, secretOptionalMember access token from your own LinkedIn app, with r_ads and r_ads_reporting. Keep it secret.
LINKEDIN_ADS_REFRESH_TOKENEnvironment variable, secretOptionalProgrammatic refresh token. With the client ID and secret, the token is renewed in memory.
LINKEDIN_ADS_CLIENT_IDEnvironment variableOptionalClient ID of your LinkedIn app, needed for refresh.
LINKEDIN_ADS_CLIENT_SECRETEnvironment variable, secretOptionalClient secret of your LinkedIn app, needed for refresh.
LINKEDIN_ADS_SCOPESEnvironment variableOptionalScopes actually granted to the token. When set, writes require rw_ads.
LINKEDIN_ADS_ENABLE_WRITESEnvironment variableOptionaltrue exposes the 15 write tools. Defaults to false.
LINKEDIN_ADS_API_VERSIONEnvironment variableOptionalLinkedIn-Version header as YYYYMM. Defaults to 202608.
LINKEDIN_ADS_LOG_LEVELEnvironment variableOptionaldebug, info, warn or error. Logs go to stderr. Defaults to info.

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Try asking

  • Check which of my LinkedIn ad accounts this token can reach.
  • Show campaign insights for my LinkedIn ad account this month.
  • Draft a LinkedIn sponsored post ad in preview mode before confirming.

Good to know

  • Write tools are disabled by default and need LINKEDIN_ADS_ENABLE_WRITES set to true.
  • Development tier apps can edit only five ad accounts you administer.
  • Audience size estimates, bid forecasts, conversion rules and lead form definitions are not included.
  • Submitted lead data is never exposed.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to LinkedIn Ads

All alternatives →
OpenSEO every-app
100

Provides keyword research, site audits, rank tracking and AI visibility checks through an MCP server for AI assistants. It is aimed at people who find tools like Semrush and Ahrefs too expensive or bloated.

AAA Remote 30k
SEO Skill iannuttall
93

Analyzes Google Search Console, Google Analytics and keyword data so your AI agent can find SEO and AI search gaps. Built for SaaS and B2B teams using Claude Code, Codex, ChatGPT or Cursor.

AAA Local and remote 7.3k/wk
NotFairnowork-studio
93

NotFair is an open-source plugin of SEO, GEO, and marketing skills for AI agents. It also registers one hosted NotFair MCP connection that uses OAuth. It is for marketers and site owners who work with Claude Code, Codex, Cursor, Gemini CLI, and similar agents.

AAA Remote 4.4k
Elmo elmohq
92

Connects AI clients to Elmo, an open-source platform that tracks how AI answer engines mention and cite a brand. It lets assistants read visibility data and manage tracked prompts. It is aimed at marketing, SEO, and agency teams doing answer engine optimization.

AAA Remote 772
Clipwright.io seocombat
91

Clipwright.io turns a script or short brief into a short video, either a talking-actor ad or a faceless video. The assistant gets a free price quote before each render and receives a video URL back.

AAC Local and remote 2.8k/wk
New-Term Radarzhuyansen
91

Reports new AI model, product, tool and repo names as they start to surge, with the generic search terms people use for them. Built for people who make SEO pages, newsletters or directories around new AI terms.

AAA Local 2.3k

Compare with OpenSEO, SEO Skill or NotFair

LinkedIn Ads: common questions

Can this server change my LinkedIn Ads campaigns?

Writes are off by default and preview before running. Campaigns and ads are created as DRAFT, and no tool activates delivery, which happens in Campaign Manager.

Which ad accounts can the server access?

Only the numeric ad account IDs listed in LINKEDIN_ADS_ACCOUNT_IDS. Other accounts are refused before any request, including reads.

Does it need a hosted service?

No. The source says it runs locally and sends requests directly to the LinkedIn Marketing API. A hosted getmcpads option is also described for managed connections.

How do I install LinkedIn Ads?

In Claude Code run claude mcp add linkedin-ads -e LINKEDIN_ADS_ACCOUNT_IDS=YOUR_LINKEDIN_ADS_ACCOUNT_IDS -- npx -y @getmcpads/linkedin-ads-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is LinkedIn Ads the official server?

LinkedIn Ads is published by getmcpads.com from its verified domain in the official MCP Registry.

Is LinkedIn Ads free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is LinkedIn Ads safe to use?

It scores 80 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to LinkedIn Ads?

Similar MCP servers: OpenSEO, SEO Skill, NotFair, Elmo.

Does LinkedIn Ads work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

LinkedIn Ads Install

Add to stack

Loading.