LinkedIn MCP server for AI agents
Let AI assistants write executive posts, tag partner companies with real LinkedIn URNs, upload PDF document carousels and answer LinkedIn comments. PostSyncer’s MCP server offers 118 tools in one list (your client decides which of them it shows), including dedicated LinkedIn mention lookup.
PostSyncer MCP server
https:// postsyncer.com/ mcp- Get exact company tags from a LinkedIn link, plus teammates and Page followers, with find-linkedin-mentions
- Schedule text, 10-photo posts, MP4 videos, PDF document decks, polls and photo first comments
- Automatic LinkedIn markup escaping plus full B2B impressions, clicks and reach metrics
- Cancel anytime
- Unlimited posts on paid plans
Find the LinkedIn tag for linkedin.com/company/copperleaf-mills, schedule our Q2 supply chain update for Tuesday at 8:30 AM, and drop the full report link in the first comment.
- list-workspacesHalden Coffee (#4815)
- list-accountsLinkedIn Page Halden Coffee (#16236)
- get-brandLoaded B2B founder tone
- find-linkedin-mentions@[Copperleaf Mills](urn:li:organization:90412577)
- create-postScheduled LinkedIn post #81448 + delayed first comment
Scheduled your LinkedIn post for Tuesday at 8:30 AM with Copperleaf Mills tagged as a company and your report link queued as the first comment 1 minute later.
01 Quick start
Connect LinkedIn to your AI agent in three steps
- 1
Connect your AI client to PostSyncer
Install the ChatGPT app or Claude plugin, or add
https://postsyncer.com/mcpin Claude Code, OpenClaw, Cursor, Codex or any remote MCP client. - 2
Authorize profiles or Company Pages
Sign in with OAuth or attach a scoped Bearer API key. Personal LinkedIn profiles and Company Pages in your workspaces become immediately available.
- 3
Tag partners, post decks and reply to comments
Ask your agent to resolve mentions with
find-linkedin-mentions, turn a PDF deck into a swipeable document post, run a poll or reply to comments.
02 MCP tools
MCP tools for LinkedIn
Verified PostSyncer MCP tools for LinkedIn personal profiles and Company Pages, including native URN mention search and B2B engagement reporting.
| Tool | Permission | What it does on LinkedIn |
|---|---|---|
list-accounts | accounts:read | Locate connected LinkedIn personal profile and Company Page IDs. |
find-linkedin-mentions | accounts:read | Find people (tagged before, teammates, Page followers) and companies (by LinkedIn link or short name) as exact @[Name](urn:li:...) tags. |
get-brand | brand:read | Load workspace voice, audience and terminology before drafting executive posts. |
create-post | posts:create / schedule / publish | Draft or schedule LinkedIn posts, PDF/PPTX document carousels, polls, MP4 videos and photo first comments. |
list-comments | comments:read | Read comments synced from LinkedIn profiles and Company Pages. |
create-comment | comments:create | Post a reply from your profile or Company Page, optionally with one photo. |
delete-commentdestructive | comments:delete | Remove a comment on LinkedIn (LinkedIn has no hide-comment action). |
get-analytics-post | analytics:read | Pull impressions, likes, comments, shares, saves, clicks, reach, views and profile_visits. |
03 Prompts and workflows
What to ask your agent on LinkedIn
B2B LinkedIn workflows founders, marketers and developer advocates automate through PostSyncer MCP.
Tag partner companies accurately every time
“Look up the LinkedIn tag for linkedin.com/company/copperleaf-mills, write a partnership announcement in our brand voice, and schedule it for Wednesday at 9 AM.”
find-linkedin-mentionsget-brandcreate-postInserts the exact @[Name](urn:li:organization:ID) tag LinkedIn returns for that company link instead of a plain @mention that tags nobody, while escaping reserved LinkedIn punctuation.
Turn a PDF slide deck into a swipeable LinkedIn carousel
“Find our Q2-Benchmarks.pdf file in the media library, write a crisp 3-paragraph hook, and save a LinkedIn Company Page draft with a link-in-first-comment.”
list-mediaget-brandcreate-postAttaches the PDF as the sole file so LinkedIn renders a swipeable document post and queues the follow-up link cleanly underneath.
Run a 1-week B2B audience poll
“Draft a LinkedIn poll on our Company Page asking engineering leaders which release cadence they prefer, with 4 options running for 1 week.”
list-accountscreate-postValidates the 140-character question, 30-character options and 10,080-minute duration before saving cleanly without conflicting media.
Executive comment reply sprint
“Sync comments on my last 2 LinkedIn posts, summarize the main questions, and draft concise replies for my approval before sending.”
list-postssync-comments-from-platformslist-commentscreate-commentPulls fresh comments across personal profiles and Pages and posts approved replies (with optional photo attachments) directly to LinkedIn.
Why find-linkedin-mentions makes LinkedIn MCP actually work
An AI assistant that writes "@Acme" into a LinkedIn post produces plain unlinked text that never notifies the partner. LinkedIn requires exact URN markup — @[Name](urn:li:person:ID), @[Name](urn:li:organization:ID) or @[Name](urn:li:organizationBrand:ID) — and truncates posts with unescaped brackets or parentheses.
PostSyncer ships find-linkedin-mentions right inside the MCP server so your agent looks up the exact URN tag first, embeds it cleanly in create-post, and lets PostSyncer escape reserved characters automatically. When cross-posting to X or Facebook in the same prompt, PostSyncer strips the URN syntax into plain readable names on the other networks.
PDF document decks, MP4 rules and executive drafting guardrails
Executive personal profiles are high-trust channels where nobody wants an AI agent publishing unreviewed copy. Connect your assistant with a Bearer key restricted to workspaces:read, accounts:read, brand:read, media:read and posts:create: a call to schedule or publish is refused, so every LinkedIn post, PDF carousel or poll waits as a draft on your PostSyncer calendar.
PostSyncer also guides the agent around LinkedIn’s real media constraints: documents (PDF, DOC, DOCX, PPT, PPTX) must be attached alone, polls cannot share a post with media or links, and videos must be MP4 (MOV and WebM return 422).
Comment deletion vs hiding and profile reconnect diagnostics
PostSyncer syncs LinkedIn comments an hour after publish, every 6 hours on day one, then daily through day seven (plus on-demand sync-comments-from-platforms). Because LinkedIn does not expose comment hiding, hide-comment informs the agent that LinkedIn cannot hide comments and to ask before calling delete-comment instead.
For analytics, get-analytics-post returns impressions, clicks, shares, saves, reach, views and profile_visits. If an older LinkedIn profile was authorized before analytics scopes were enabled, the response reports linkedin_reconnect so your agent knows to suggest reconnecting the profile.
Direct REST API
Building LinkedIn publishing into an app or marketing pipeline? Use the REST API
Every LinkedIn MCP tool — including mention lookup, PDF carousels, polls and analytics — is backed by https://postsyncer.com/api/v1.
REST API base URL
https:// postsyncer.com/ api/ v1Calendar and team review
Every agent post lands on your LinkedIn calendar
Drafts and scheduled posts created through MCP show up in PostSyncer with full LinkedIn previews, approval workflows and team notes. If you want a person to review first, leave posts:schedule and posts:publish off the agent's key: it saves drafts, and a schedule or publish call is refused.
AI clients
Connect LinkedIn to the AI tool you use
Every client reaches the same server at https://postsyncer.com/mcp. Each page has that client’s exact setup steps.
- ChatGPTPlugin directory
- ClaudeDirectory plugin
- Claude CodeTerminal
- Claude DesktopDirectory plugin
- Grok BotCustom connector
- OpenClawCommand line
- CursorInstall link
- OpenBotCustom server
- CodexTerminal
- GrokCustom connector
- Gemini CLITerminal
- AntigravityConfig file
- Any MCP clientThe server address, OAuth and API key options
claude mcp add --transport http postsyncer https://postsyncer.com/mcpLimits and plans
What each plan allows
The LinkedIn MCP server is on every plan, Free included. Posts created by your AI agent share your plan’s allowance and 60 requests a minute rate limit.
| Plan | Social accounts | Posts | API posts a day, per network |
|---|---|---|---|
| Free | 2 | 20 a month | Within the 20 |
| Starter$29 a month | 10 | Unlimited | Unlimited |
| Pro$49 a month | 30 | Unlimited | Unlimited |
| Agency$99 a month | 100, then $1/mo each | Unlimited | Unlimited |
Every plan: 60 requests a minute for each PostSyncer user, across all their keys, the API and the MCP server together.
401The API key is missing, wrong or past its end date.403The key lacks the resource:action permission, or the plan limit was reached (plan_limit_reached).422A field failed validation or the network’s rules refused a file, setting or text length.429Too many requests: more than 60 in a minute across your user’s keys, API and MCP together.
Docs
Read more in the docs
- LinkedIn platform guideExact LinkedIn settings, limits and API behavior
- MCP server overviewStreamable HTTP transport, OAuth and API key sign-in
- Connect your MCP clientSetup commands for ChatGPT, Claude, Claude Code, Cursor and Codex
- MCP tools referenceEvery tool name, argument and required permission
- Agent usage guideRecommended call order and safety rules
- LinkedIn @mentions guideHow URN mention tokens work in API and MCP
All 12 networks
Explore every platform MCP server on PostSyncer
Can an AI agent tag people and companies on LinkedIn through MCP?
Yes, for the people and companies LinkedIn lets PostSyncer find: any company by its LinkedIn link or short name, teammates, people who follow your Page and anyone tagged before. Your agent calls find-linkedin-mentions for the exact @[Name](urn:li:...) tag, then passes it to create-post so LinkedIn creates a real clickable mention.
Does LinkedIn MCP work for both personal profiles and Company Pages?
Yes. Both personal LinkedIn profiles and LinkedIn Company Pages connected to your PostSyncer workspace work through the same MCP tools.
Can an agent publish LinkedIn PDF carousels and polls?
Yes. Pass a single PDF, DOC, DOCX, PPT or PPTX file in content[0].media for a swipeable document post, or configure settings.poll for a 1-day to 2-week poll.
Can my agent keep LinkedIn posts as drafts until I approve them?
Yes. Create a Bearer API key with workspaces:read, accounts:read and posts:create, and leave out posts:schedule and posts:publish. A call to schedule or publish is then refused, so the agent saves each post as a draft on your calendar instead.
Can an AI agent hide LinkedIn comments via MCP?
No. LinkedIn does not support hiding comments. hide-comment returns a clear message explaining this, and the agent can use delete-comment (marked destructive) after confirming with you.
Does LinkedIn MCP support first comments with a link or photo?
Yes. Include a second item in content[] with is_first_comment: true and optional media (up to 1 photo) to keep outbound links out of the main LinkedIn body.
Write and schedule better LinkedIn posts with your AI agent.
Connect https://postsyncer.com/mcp with OAuth or a scoped key and start on the Free plan today.
- No card for free
- Cancel anytime
- Unlimited posts on paid plans