Social

LinkedIn MCP Server

Connect your account, then chat with AI to run tools.

LinkedIn API. Manage company pages, post content, engage with comments and reactions, run ad campaigns, and view analytics. One provider with org, social, and ads tools.

34 tools
Agent guide included
Start Chatting

Opens MCPBundles Studio with this server selected. After sign-in, chat and run tools from the same thread.

Browse all tools

AI Skill
SKILL.md

Domain knowledge for LinkedIn — workflow patterns, data models, and gotchas for your AI agent.

LinkedIn

Single provider covering organization management, social posting/engagement, and advertising.

Workflow

  1. Organizations: List the company pages you administer to obtain numeric IDs. All org tools accept the numeric organization_id directly — no URN construction needed.
  2. Member identity: Read the signed-in member’s profile to get the id suffix, then form urn:li:person:{id} for posting and commenting as yourself.
  3. Posting: Create text or article posts using either a urn:li:person:{id} or urn:li:organization:{id} as the author. Article posts include a link preview card with title, description, and thumbnail auto-extracted from Open Graph tags.
  4. Editing: Update post text after publishing. Get the post_urn from list-posts or create-post.
  5. Resharing: Repost another user's or org's post to your feed with optional commentary using reshareContext.parent in create-post.
  6. Advertising: Start from ad accounts, then campaign groups, campaigns, creatives, and performance analytics in that order.

Entity Model

  • Organization: Company page. Fields: localizedName, vanityName, staffCountRange, industry.
  • Profile: Authenticated user. Returns firstName, lastName, vanityName, id (member URN suffix).
  • Posts: Content by author. Fields: commentary, author, visibility, lifecycleState.
  • Comments/Reactions: On posts. Reaction types: LIKE, PRAISE, EMPATHY, ENTERTAINMENT, INTEREST, APPRECIATION.
  • Ad Accounts: Top-level billing entity. Fields: name, status, currency, servingStatuses.
  • Campaign Groups → Campaigns → Creatives: Ads hierarchy.
  • Analytics: Performance (impressions, clicks, CTR), engagement (likes, shares), video metrics.

URN Formats

  • Member: urn:li:person:XXXXXX
  • Organization: urn:li:organization:12345678
  • Post: urn:li:share:12345678 or urn:li:ugcPost:12345678
  • Image: urn:li:image:XXXXXXXXX (from Images API upload)
  • Document: urn:li:document:XXXXXXXXX (from Documents API upload)
  • Campaign: urn:li:sponsoredCampaign:{id}
  • Geo: urn:li:geo:103644278 (US)

Content Types (via Posts API)

All post types use POST /rest/posts. The content field determines the format:

Typecontent fieldOrganicNotes
Text-onlyomit contentYesHighest algorithm weight for text with no links
Single image{"media": {"id": "urn:li:image:..."}}YesUpload image first via Images API
Multi-image{"multiImage": {"images": [{"id": "urn:li:image:...", "altText": "..."}]}}Yes2–20 images, each uploaded separately
Article link{"article": {"source": "https://...", "title": "...", "description": "..."}}YesLink preview card; OG auto-extract or override
Document/carousel{"media": {"id": "urn:li:document:..."}}YesPDF/PPTX/DOCX → swipeable carousel viewer
Video{"media": {"id": "urn:li:video:..."}}YesUpload via Videos API first
Reshareadd reshareContext.parent (no content)YesRepost with optional commentary
Image Post Workflow
  1. Upload the image with owner URN + source_url (or image_base64) → returns image_urn
  2. Create an image post with one or more image_urns → returns post_urn
  3. Single image = content.media; 2–20 images = content.multiImage
Document/Carousel Post Workflow
  1. Upload the document with owner URN + source_url (or document_base64) → returns document_urn
  2. Create a document post with the document_urn + optional title → returns post_urn
  3. Each page of the PDF/PPTX/DOCX becomes a swipeable slide
Reshare Workflow

Create a reshare post with author (who is resharing) + parent_post_urn + optional commentary. Reshares with commentary get significantly more reach than silent reposts.

Algorithm & Reach (2026 data)

  • External links in body: 40–50% fewer impressions. March 2026 update intensified this.
  • Link in first comment: Reduces penalty to 5–15% (narrowing).
  • Image posts: 87% higher engagement vs text-only. Multi-image: 6.6% engagement rate.
  • Carousels (PDF): Highest dwell time (each swipe = engagement signal). 3–5x more dwell than text.
  • Text-only: ~0.5% engagement rate baseline, but zero link penalty.
  • Golden hour: First 60 minutes determine whether content gets amplified beyond your network.
  • Personal > org: Personal profiles get 5x more engagement and 2.75x more impressions than company pages.
Flywheel: Personal + Org Page Growth
  1. Post from personal profile (7k reach) → native text or image, no external links
  2. Org page reshares the personal post (builds org content library, reaches org followers)
  3. Org page posts product content (releases, blog articles) → personal profile reshares with founder commentary
  4. Both grow together: personal posts drive org page followers (people see company in title, visit page)

Gotchas

  • Listing personal posts: Requires restricted r_member_social. Use organization_id with list-posts instead.
  • Article posts: Pass article_url to create-post for a link preview card. Title and description auto-extract from OG tags but can be overridden. The API does NOT scrape OG tags automatically — you should set title/description explicitly.
  • Image upload required first: You must upload the image before creating an image post. Same for documents.
  • Ads delete: Only DRAFT entities can be deleted. Active must be archived first.
  • Follower counts: Use the dedicated follower count or follower stats tools with the numeric organization_id.
  • Reshare author: The author on a reshare is who is resharing, not the original poster.

Tools in this Server (34)

Linkedin Ads Create Creative

Create a Sponsored Content ad creative from an existing LinkedIn post. Promotes an org post as a paid ad within a campaign. Workflow: (1) create a pos...

Linkedin Ads Get Ad Accounts

List or get LinkedIn ad accounts. Pass account_id to retrieve a single account, or omit to list all. Returns account name, status, currency, type, ser...

Linkedin Ads Get Analytics

Get LinkedIn ad performance analytics. Returns impressions, clicks, CTR, spend (costInLocalCurrency), conversions, engagement rate, likes, comments, s...

Linkedin Ads Get Audience Counts

Forecast audience reach for LinkedIn ad targeting criteria. Returns estimated audience size for your targeting combination. Combine location, industry...

Linkedin Ads Get Campaign Groups

List or get campaign groups for a LinkedIn ad account. Campaign groups organize campaigns by objective or shared budget. Pass campaign_group_id for a ...

Linkedin Ads Get Campaigns

List or get campaigns for a LinkedIn ad account. Pass campaign_id for a single campaign with full details (targeting, budget, schedule), or omit to li...

Linkedin Ads Get Creatives

List or get ad creatives for a LinkedIn ad account. Creatives are the actual ad content (text, images, videos) attached to campaigns. Pass creative_id...

Linkedin Ads Upsert Campaign

Create or update a LinkedIn ad campaign. Pass campaign_id to update (partial update — only fields you pass are changed). Omit campaign_id to create a ...

Linkedin Ads Upsert Campaign Group

Create or update a LinkedIn ad campaign group. Pass campaign_group_id to update (partial update — only fields you pass are changed). Omit campaign_gro...

Linkedin Create Document Post

Create a LinkedIn carousel post from an uploaded document (PDF, PPTX, DOCX). Each page becomes a swipeable slide — the highest-engagement organic form...

Linkedin Create Image Post

Create a LinkedIn post with one or more images. Upload images first with linkedin_upload_image to get image URNs. 1 image creates a single-image post;...

Linkedin Get Follower Stats

Get detailed follower demographic breakdowns for a LinkedIn organization. Returns follower counts segmented by industry, seniority, job function, geog...

Linkedin Get Organization

Get full details for a LinkedIn organization (company page). Returns name, vanity name, description, website, industry, employee count range (staffCou...

Linkedin Get Org Follower Count

Get the total follower count for a LinkedIn organization. Returns firstDegreeSize (the total number of followers). Much faster than linkedin_get_follo...

Linkedin Get Page Stats

Get page view statistics for a LinkedIn organization page. Returns lifetime and time-bound views, unique visitors, and button clicks broken down by pa...

Linkedin Get Share Stats

Get aggregate post engagement statistics for a LinkedIn organization. Returns total impressions, unique impressions, clicks, likes, comments, shares, ...

Linkedin List Managed Orgs

List LinkedIn organizations the authenticated user manages, enriched with details. Returns each org's ID, name, vanity name, role, and follower count....

Linkedin Lookup Org

Look up a LinkedIn organization by its vanity name (URL slug). Example: vanity_name='mcpbundles' finds the org at linkedin.com/company/mcpbundles. Ret...

Linkedin Reshare Post

Reshare (repost) an existing LinkedIn post to your feed or an org page's feed. Add commentary for a 'repost with thoughts' (higher reach) or omit for ...

Linkedin Social Create Comment

Create a comment on a LinkedIn post as a member or organization. Requires w_member_social scope for personal comments, w_organization_social for org c...

Linkedin Social Create Post

Create a post on LinkedIn as a member or organization. Supports text-only posts and article posts with link preview cards. For article posts, pass art...

Linkedin Social Delete Comment

Delete a comment from a LinkedIn post. You must be the comment author or post owner. This action is permanent. Get the comment_id from linkedin_social...

Linkedin Social Delete Post

Delete a LinkedIn post permanently. You must be the post author or an org admin. This action cannot be undone. Get the post_urn from linkedin_social_l...

Linkedin Social Get Connections Count

Get the number of 1st-degree LinkedIn connections for the authenticated member. Returns {firstDegreeSize: N}. Only works for your own connections (not...

Linkedin Social Get Metadata

Get aggregate social metadata for a LinkedIn post. Returns total like count, comment count, share count, and reaction breakdown in a single lightweigh...

Linkedin Social Get Post

Get a specific LinkedIn post by its URN. Returns post content (commentary), author URN, visibility, lifecycle state, creation timestamp, and distribut...

Linkedin Social Get Profile

Get the authenticated user's LinkedIn profile. Returns firstName, lastName, vanityName, headline, profilePicture, and the person URN (id field — const...

Linkedin Social Get Reactions

Get reactions on a LinkedIn post. Returns who reacted, their reaction type (LIKE, PRAISE, etc.), and timestamps. For just the total count without indi...

Linkedin Social List Comments

List comments on a LinkedIn post. Returns each comment's text, author URN, creation timestamp, and reply count. Supports pagination via count and star...

Linkedin Social List Posts

List posts by an organization on LinkedIn. Returns post URNs, content (commentary), visibility, lifecycle state, and creation timestamps. Supports pag...

Linkedin Social React To Post

React to a LinkedIn post as a member or organization. Supports LIKE, PRAISE (celebrate), EMPATHY (love), ENTERTAINMENT (funny), INTEREST (insightful),...

Linkedin Social Update Post

Update the text of an existing LinkedIn post. You must be the post author or an admin of the authoring organization. Get the post_urn from linkedin_so...

Linkedin Upload Document

Upload a document (PDF, PPTX, DOCX) to LinkedIn for use as a carousel post. Each page of the document becomes a swipeable slide. Provide either a sour...

Linkedin Upload Image

Upload an image to LinkedIn for use in posts. Provide either a source_url (image URL to download) or image_base64 (raw base64 data). Returns an image ...

Frequently Asked Questions

What is the LinkedIn MCP server?

LinkedIn API. Manage company pages, post content, engage with comments and reactions, run ad campaigns, and view analytics. One provider with org, social, and ads tools. It provides 34 tools that AI agents can use through the Model Context Protocol (MCP).

How do I connect LinkedIn to my AI agent?

Add the MCPBundles server URL to your MCP client configuration (Claude Desktop, Cursor, VS Code, etc.). The URL format is: https://mcp.mcpbundles.com/bundle/linkedin. Authentication is handled automatically.

How many tools does LinkedIn provide?

LinkedIn provides 34 tools that can be called by AI agents, along with a SKILL.md that gives your AI agent domain knowledge about when and how to use them.

What authentication does LinkedIn require?

LinkedIn uses One-click sign in. LinkedIn requires credentials. Connect via MCPBundles and authentication is handled automatically.

Setup Instructions

Connect LinkedIn to any MCP client in minutes

https://mcp.mcpbundles.com/bundle/linkedin

What is MCP?

Model Context Protocol lets AI tools call external capabilities securely through a single URL. This bundle groups tools behind an MCP endpoint that many clients can use.

Use this bundle in 3 steps

  1. Copy the MCP URL above
  2. Open your AI tool and add a new MCP/connector
  3. Paste the URL and follow any auth prompts

Claude Desktop Users

Skip the manual setup! Use the .mcpb file format for one-click installation. Check the Claude Desktop tab for setup instructions.

Pick your tool tab for exact steps

Select ChatGPT, Cursor, Claude Code, or another tab for copy-paste config.

Ready to use LinkedIn?

Sign in to connect your credentials and start running tools from the chat.

LinkedIn MCP Server & Skill — 34 Tools