LinkedIn Ads
LinkedIn Ads MCPAdvertising28 actions

LinkedIn Ads MCP Server

Let your AI agents run LinkedIn Ads for you, safely.

A hosted LinkedIn Ads MCP server for Claude, ChatGPT, Cursor and CLI agents. Sign in with LinkedIn, paste one server URL, then report on B2B campaigns by job function and seniority, and build campaigns that start paused.

  • Enable or disable every action, per account. Block your agent from doing dangerous actions.

  • Ask in plain English. Create campaigns, pull reports, find insights and take action in LinkedIn Ads.

  • 28 read and write actions. Every LinkedIn Ads task your agent needs, from reporting to campaign management.

  • Built for teams. Invite your team and share one connected account.

Works with
ChatGPTChatGPTClaudeClaudeClaude CodeClaude CodeCodexCodexGemini CLIGemini CLICursorCursorMistralMistralOpenClawOpenClawHermesHermesPerplexityGrokn8nWindsurfVS CodeZed
ChatGPT
LinkedIn Ads
ChatGPT
connected to LinkedIn Ads MCP
Online
ChatGPT
Actions

Available Actions

28 actions available to automate your LinkedIn Ads workflows.

28 actions

LinkedIn Ads
Write

Create Campaign

Create a new campaign. Created in PAUSED status for safety. politicalIntent, locale, and offsiteDeliveryEnabled are required by LinkedIn.

LinkedIn Ads
Write

Create Campaign Group

Create a new campaign group. Created in ACTIVE status (LinkedIn rejects PAUSED on creation). Campaigns inside are still PAUSED.

LinkedIn Ads
Write

Create Creative Inline

Create a creative with an inline ad post. Supports image, video, carousel (multiImage), lead-gen, and reference (existing UGC post) variants (see body_examples). Created ACTIVE (LinkedIn rejects PAUSED on new creatives); campaign is PAUSED so no ads serve. Flow: get_accounts → upload media (initialize_image_upload or initialize_video_upload + finalize_video_upload) → create_campaign_group → create_campaign → create_creative_inline. For lead-gen attachments, also create_lead_form (or pick from get_lead_forms) and pass leadgenCallToAction.destination.

LinkedIn Ads
Write

Create Lead Form

Create a Lead Generation form. The returned form URN can be attached to a creative via leadgenCallToAction.destination on create_creative_inline. Strings inside content.* (headline, description, question prompts, legalDisclaimer, postSubmissionInfo.message) use the LinkedIn i18n shape: {"localized": {"en_US": "..."}}. Each question has name, question (localized), questionDetails (e.g. textQuestionDetails: {}) and predefinedField (sibling, not nested). content.legalInfo.privacyPolicyUrl is a raw string (not localized). Use get_lead_forms to discover existing forms.

LinkedIn Ads
Write

Finalize Video Upload

Finalize a chunked video upload. Pass the video URN from initialize_video_upload plus the ordered list of ETags returned by each multipart PUT. Returns the finalized video URN ready for use in a creative.

LinkedIn Ads
Read

Get Account Analytics

Retrieve analytics for the entire ad account.

LinkedIn Ads
Read

Get Accounts

List all ad accounts accessible to the authenticated user.

LinkedIn Ads
Read

Get Analytics

Retrieve analytics/performance data for campaigns or creatives.

LinkedIn Ads
Read

Get Budget Pricing

Get bid pricing insights based on targeting criteria.

LinkedIn Ads
Read

Get Campaign

Fetch details for a single campaign.

LinkedIn Ads
Read

Get Campaign Analytics

Retrieve analytics grouped by campaign.

LinkedIn Ads
Read

Get Campaign Group

Fetch details for a single campaign group.

LinkedIn Ads
Read

Get Campaign Group Analytics

Retrieve analytics grouped by campaign group.

LinkedIn Ads
Read

Get Campaign Groups

List campaign groups for an ad account.

LinkedIn Ads
Read

Get Campaigns

List campaigns for an ad account.

LinkedIn Ads
Read

Get Conversions

List conversion tracking rules for an ad account.

LinkedIn Ads
Read

Get Creative

Fetch details for a single creative.

LinkedIn Ads
Read

Get Creative Analytics

Retrieve analytics grouped by creative.

LinkedIn Ads
Read

Get Creatives

List creatives for an ad account.

LinkedIn Ads
Read

Get Demographic Analytics

Retrieve analytics grouped by member demographics.

LinkedIn Ads
Read

Get Lead Forms

List lead generation forms for an ad account.

LinkedIn Ads
Read

Get Revenue Analytics

Retrieve revenue attribution metrics (ROAS, closed opportunities, etc.). Requires CRM integration or manual revenue tracking setup.

LinkedIn Ads
Read

Get Tracking Params

Get UTM tracking parameters for a campaign.

LinkedIn Ads
Write

Initialize Image Upload

Initialize an image upload. Returns uploadUrl and image URN. PUT the raw image bytes to the uploadUrl. Uses the LinkedIn Ads connection (not LinkedIn Pages). Get the owner from get_accounts 'reference' field.

LinkedIn Ads
Write

Initialize Video Upload

Initialize a video upload. Returns uploadInstructions (one or more partUploadUrls) and a video URN. PUT each chunk of bytes to the matching upload URL, capturing each ETag, then call finalize_video_upload. Files >4MB must be uploaded in multiple parts.

LinkedIn Ads
Write

Update Campaign

Partial update of a campaign. Only provided fields are updated; omitted fields remain unchanged.

LinkedIn Ads
Write

Update Campaign Group

Partial update of a campaign group. Only provided fields are updated; omitted fields remain unchanged.

LinkedIn Ads
Write

Update Creative

Partial update of a creative. Use 'intendedStatus' to control creative status (not 'status').

Compare

LinkedIn Ads MCP servers compared: hosted vs official

LinkedIn has not published an official MCP server. Your options are to build on the LinkedIn Marketing APIs yourself, run an open-source community server, or use a hosted server like InsightfulPipe.

API accessSign in with LinkedIn; API access is handled for youApply for the Advertising API and pass LinkedIn's review
HostingHosted by InsightfulPipeYou build, host and secure the server
MaintenanceMaintained by InsightfulPipeKeep up with LinkedIn's versioned API releases
Actions28 actions for analytics, campaign groups, campaigns, creatives, media uploads and lead gen formsUp to you
ControlsPer-account action controls, Read-only connections, restricted team access, new campaigns pausedUp to you
Other platformsGoogle Ads, Meta Ads, GA4 and 40+ more MCP servers, plus a CLILinkedIn only
Overview

What you can do with the LinkedIn Ads MCP

The InsightfulPipe LinkedIn Ads MCP server is a hosted Model Context Protocol server for LinkedIn Campaign Manager. Sign in with LinkedIn, choose your ad accounts and add the server URL to Claude, ChatGPT, Cursor, Claude Code, Gemini CLI or Codex.

ClaudeLinkedIn AdsAcme StoreRead-only
Ask about your LinkedIn Ads account…
01B2B performance reporting

B2B performance reporting

Get impressions, clicks, spend, leads and conversions by account, campaign group, campaign or creative over any date range.

See all LinkedIn Ads actions
ClaudeLinkedIn AdsAcme StoreRead-only
Ask about your LinkedIn Ads account…
02Audience insights

Audience insights

Break down results by professional demographics such as job function, seniority, industry and company size to see who your ads actually reach.

See all LinkedIn Ads actions
ClaudeLinkedIn AdsAcme StoreRead-only
Ask about your LinkedIn Ads account…
03Creative comparison

Creative comparison

Compare creatives within a campaign and find the ones worth scaling or pausing.

See all LinkedIn Ads actions
28
actions
one server URL
18
read actions
reports, audits, research
10
write actions
create, update, manage
Setup

How to connect the LinkedIn Ads MCP server

Add the server URL to your AI client, then sign in with your InsightfulPipe account to authorize access. The server is hosted, so there is nothing to install.

MCP server URL

https://linkedin-ads.insightfulmcp.com/

Connect LinkedIn Ads to Claude

Fastest: add InsightfulPipe from the Claude Directory

One click connects the full InsightfulPipe MCP with all your connected accounts. To add a server scoped to LinkedIn Ads only, follow the steps below.

Open Claude Directory

Or add the LinkedIn Ads server manually:

  1. 01
    Copy the server URL:
    https://linkedin-ads.insightfulmcp.com/
  2. 02
    Open Claude connector settings (Customize > Connectors), click + and then Add custom connector.
  3. 03
    Paste the URL and click Add.
  4. 04
    Click Connect, then click Authorize access in the browser.

Start a new chat, click +, open Connectors and turn the connector on to use it.

The Free plan can add one custom connector. On Team and Enterprise plans, an Owner first adds it under Organization settings > Connectors, then each member clicks Connect in Customize > Connectors.

Watch the setup tutorial

Playbook

Prompts and skills that run on the LinkedIn Ads MCP

Copy a prompt into any connected client, or install a Claude skill that chains the actions for you.

Prompt

What was cost per lead by campaign last month?

Lead efficiency by campaign

Skill

Social Ads Budget Allocator

Claude skill that compares efficiency across Meta, TikTok, LinkedIn, Pinterest, X and Snapchat ads and recommends how to reallocate social budget.

Prompt

Break down impressions and clicks by job function for our ABM campaign

Professional demographic breakdown

Skill

Cross-Platform Budget Allocator

Claude skill that splits ad budget across Google, Meta, TikTok, LinkedIn and Microsoft Ads using marginal returns, constraints and scenarios.

Prompt

Which creatives have the highest CTR in the Q3 demand gen campaign group?

Creative comparison

Skill

LinkedIn Ads Auditor

Claude skill that audits LinkedIn Ads for B2B advertisers: CPL, targeting, lead quality, lead gen forms, creative, bidding and cost per customer.

Prompt

Show spend and conversions by campaign group for the last 90 days

Campaign group rollup

Skill

LinkedIn Ads B2B Optimizer

Claude skill for LinkedIn Ads B2B lead gen and ABM: objectives, targeting, campaign structure, ad formats, lead gen forms and content strategy.

Prompt

What bid range does LinkedIn suggest for this campaign's audience?

Bid and budget pricing

HAVE QUESTIONS?

Frequently asked questions

A LinkedIn Ads MCP server connects LinkedIn Campaign Manager to AI assistants through the Model Context Protocol. Your assistant can then analyze B2B ad performance and, with write access, build and update campaigns.

Ready to connect your data?

Join hundreds of agencies and brands using InsightfulPipe to connect marketing data to AI.

Start a free trial today.