Linkedin Ads MCP server
MCP server for LinkedIn Campaign Manager — campaigns, creatives, and analytics
0 stars58 downloads/wk
Reviews
Write oneNobody has reviewed Linkedin Ads yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Linkedin Ads tools (7)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
linkedin_ads_account_performanceGet account-level aggregate performance metrics for a date range. Good for high-level summaries.
linkedin_ads_analyticsFlexible analytics query with custom pivot, fields, and filters. Use for demographic breakdowns, device splits, creative performance, etc.
linkedin_ads_campaign_performanceGet campaign-level performance metrics (impressions, clicks, spend, conversions, leads, engagement, video views) for a date range. This is the main reporting tool for weekly slides.
linkedin_ads_get_client_contextGet the current client context based on working directory. Call this first to confirm which LinkedIn Ads account you're working with.
linkedin_ads_list_accountsList all active LinkedIn Ad Accounts the authenticated user has access to.
linkedin_ads_list_campaign_groupsList campaign groups for a LinkedIn Ad Account.
linkedin_ads_list_campaignsList campaigns for a LinkedIn Ad Account, with optional status and campaign group filters.
Public scan report
scanner v0.1.10 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan11 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 19 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Linkedin Ads compares
Against every graded Sales and outbound MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 83/100
- higher than 73% of 876 Sales and outbound servers
- Tools
- 7
- the typical Sales and outbound server has 8
- Tools that change things
- 0%
- typical: 11%. Fewer write tools means less an agent can break
- Downloads a week
- 58
- more than 47% of 156 Sales and outbound servers with a package
What its tools let an agent do: 7 read
Install Linkedin Ads in Claude Code, Cursor or VS Code
Runs npx -y mcp-linkedin-ads on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add linkedin-ads -- npx -y mcp-linkedin-ads
What the publisher says
From the Linkedin Ads repository's README, as published. We do not edit it. Read it on GitHub
LinkedIn Ads MCP Server
Production-grade MCP server for LinkedIn Campaign Manager API. Enables Claude to manage LinkedIn ad accounts, campaigns, ad sets, and creatives with full read/write support.
Features:
- 7 tools -- production-tested
- Multi-account management (multiple LinkedIn ad accounts)
- Campaign and campaign group listing
- Account and campaign performance analytics
- Flexible pivot-based reporting (demographics, device, creative breakdowns)
- Landing page click-based CTR (not total clicks)
Stats:
- ⭐ Production-proven: active campaigns under management
- 📊 Multi-client: Flowspace, Forcepoint, Neon One
- 🔄 CTR accuracy: Uses landingPageClicks (not total clicks with engagement)
- ✅ Full test coverage: 40+ contract tests
Installation
npm install mcp-linkedin-adsConfiguration
Security: Never share your .mcp.json file or commit it to git -- it may contain API credentials. Add .mcp.json to your .gitignore.
- Get OAuth credentials:
- Go to LinkedIn Developer Portal
- Create a new app with "Sign In with LinkedIn" + "Marketing Developer Platform"
- Scopes: rads, rwads, wmembersocial, rorganizationsocial, worganizationsocial
- Create config.json:
cp config.example.json config.json- Fill in your credentials:
{
"oauth": {
"client_id": "YOUR_CLIENT_ID",
"client_secret": "YOUR_CLIENT_SECRET"
},
"clients": {
"default": {
"account_id": "YOUR_AD_ACCOUNT_ID",
"name": "My Account"
}
}
}- Set environment variables (recommended for production):
export LINKEDIN_ADS_CLIENT_ID="your_client_id"
export LINKEDIN_ADS_CLIENT_SECRET="your_client_secret"
export LINKEDIN_ADS_ACCESS_TOKEN="your_access_token"Environment variables
Read-only by default
The LinkedIn Ads MCP currently ships with read-only tools only. The write-mode gate is already in place so that any future create/update/pause/enable/remove tool is hidden from ListTools and refused at call time unless LINKEDINADSMCP_WRITE=true is set in the MCP server environment. This mirrors the Google Ads MCP gate and matches the pattern being rolled out to Bing / Reddit / Meta. Motivation: prevent a casual LLM request from mutating production ad accounts without the operator explicitly opting in.
Usage
Start the server
npm startUse with Claude Code
Add to ~/.claude.json:
{
"mcpServers": {
"linkedin-ads": {
"type": "http",
"url": "http://localhost:3001"
}
}
}Claude Desktop: Add to ~/Library/Application Support/Claude/claudedesktopconfig.json (macOS) or %APPDATA%\Claude\claudedesktopconfig.json (Windows).
Example API Calls
// Get client context
linkedin_ads_get_client_context({ working_directory: "/path/to/project" })Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Linkedin Ads: common questions
- Is Linkedin Ads MCP server safe?
- Mostly: it is graded B (83/100). Read the Linkedin Ads safety report
- How do I install Linkedin Ads?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Linkedin Ads need an API key?
- Yes. The registry entry asks for
LINKEDIN_CLIENT_SECRET,LINKEDIN_ACCESS_TOKEN. - Is Linkedin Ads maintained?
- The last commit was 56 days ago (2026-09-09). The latest release is v1.0.2.
- What can I use instead of Linkedin Ads?
- Servers from other publishers that do the same job: Adwarp MCP server, Nevent MCP server and Ads Manager by AdKit: Google Ads, Meta Ads, TikTok Ads, LinkedIn Ads MCP server.
- How does Linkedin Ads compare with other Sales and outbound MCP servers?
- safety score 83/100 (higher than 73% of 876 Sales and outbound servers); tools 7 (the typical Sales and outbound server has 8); tools that change things 0% (typical: 11%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Linkedin Ads
Same job from other publishers: the closest match first, then the best rated.
- AdwarpOpen-source ad agent for LinkedIn Ads and Google Ads. Drafts campaigns, audiences and reports.not reviewedEstablishedA
- Nevent MCPTalk to your live-events CRM (campaigns, analytics, paid ads, segments) in Claude and ChatGPT.not reviewedGrowingA
- Ads Manager by AdKit: Google Ads, Meta Ads, TikTok Ads, LinkedIn AdsPPC advertising on Google Ads, Meta Ads (Facebook Ads), TikTok Ads, LinkedIn Ads, Reddit Ads & more.not reviewedGrowingA
LinkedIn Ads MCP by AdPlugLinkedIn Ads MCP server: 10 tools for campaigns, creatives, audiences, lead forms. Writes preview.not reviewedGrowingA
OmentirFind LinkedIn prospects, draft outreach, and run human-paced campaigns from your AI agent.not reviewedGrowingA