Back to Browse

Linkedin MCP Server

Marketing & SocialUse Caution3.2MCP RegistryLocal
Free

Server data from the Official MCP Registry

LinkedIn MCP server: post and schedule text, images, video or a PDF carousel, read metrics.

About

LinkedIn MCP server: post and schedule text, images, video or a PDF carousel, read metrics.

Security Report

3.2
Use Caution3.2High Risk

The server is a thin wrapper that sends posts and metadata to the Breakreach API using a bearer key read from an environment variable, which matches its stated LinkedIn purpose and category. The main concern is the upload_linkedin_media tool, which reads any absolute local path without restriction and uploads its contents to a third-party service, so a prompt-injected or misdirected request could exfiltrate sensitive files. Secondary issues are a configurable base URL that can receive the bearer token and publishing that happens without confirmation. Supply chain analysis found 6 known vulnerabilities in dependencies (0 critical, 4 high severity). Package verification found 1 issue.

6 files analyzed · 12 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

File System Read

Reads files on your machine. Normal for tools that analyze or process local data.

env_vars

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Breakreach API key (Settings → API & MCP), which holds the connected accountRequired

Environment variable: BREAKREACH_API_KEY

Workspace slug, when the account has severalOptional

Environment variable: BREAKREACH_WORKSPACE

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "linkedin-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@breakreach/linkedin-mcp@0.1.0"
      ],
      "env": {
        "BREAKREACH_API_KEY": "your-breakreach-api-key-here",
        "BREAKREACH_WORKSPACE": "your-breakreach-workspace-here"
      }
    }
  }
}

Some servers take additional arguments. See the repository for details.

Documentation

View on GitHub

From the project's GitHub README.

LinkedIn MCP Server

Publish to LinkedIn, schedule posts, attach images, video or a PDF carousel, and read what each post did, from Claude, ChatGPT, Cursor or any client that speaks the Model Context Protocol.

You: turn these notes into a LinkedIn post and schedule it for Tuesday morning
Claude: [schedule_linkedin_post] Scheduled for Dec 2, 8:30.

The post goes out through the LinkedIn API on a connected account. Nothing has to be confirmed in the LinkedIn app afterwards.

Install

The server runs over stdio and needs one environment variable: a Breakreach API key, which is what holds your connected LinkedIn account. Create one free at breakreach.com, connect LinkedIn, then take the key from Settings → API & MCP.

Claude Code

claude mcp add linkedin --env BREAKREACH_API_KEY=br_your_key -- npx -y @breakreach/linkedin-mcp

Claude Desktop — claude_desktop_config.json

{
  "mcpServers": {
    "linkedin": {
      "command": "npx",
      "args": ["-y", "@breakreach/linkedin-mcp"],
      "env": { "BREAKREACH_API_KEY": "br_your_key" }
    }
  }
}

Cursor — ~/.cursor/mcp.json, same block as above.

ChatGPT, and anything that wants a remote server: ChatGPT connectors cannot run a local command, so point it at the hosted Breakreach server instead, https://api.breakreach.com/mcp, which covers LinkedIn and 19 other networks behind OAuth. Setup per client: breakreach.com/agents.

Tools

ToolWhat it does
list_linkedin_accountsThe connected LinkedIn accounts and their ids. Call it first.
post_to_linkedinPublish now: text, images, video or a PDF carousel.
schedule_linkedin_postPut it on the calendar at a time, at the next free slot, or as a draft.
get_next_linkedin_slotThe next free slot in the posting schedule.
upload_linkedin_mediaA local file to an https URL LinkedIn can fetch.
list_linkedin_postsDrafts, scheduled, published and failed, with their ids.
get_linkedin_post_metricsImpressions, likes, comments, shares.
get_linkedin_account_statsFollowers and recent reach per account.

Every tool is named after the network, so an assistant reaches for the right one without being told which server to use. Set BREAKREACH_WORKSPACE if the account has several workspaces and you want one of them by default.

What LinkedIn allows, and what this does about it

These are the platform's rules, not ours, and they are the part that usually breaks a home-made integration:

  • Commentary is escaped. LinkedIn's post format reserves a set of characters, and an unescaped parenthesis truncates the post at that character. Text is escaped before it is sent, so a post with brackets, a colon or a hyphen arrives whole.
  • Hashtags are sent in LinkedIn's own entity form, so they are clickable rather than plain text.
  • PDF carousels hold 2 to 20 pages, and the file is what LinkedIn shows as a document post.
  • Tokens last about 60 days. An account whose token is close to expiring comes back from list_linkedin_accounts with a warning, and has to be reconnected before it can publish.
  • Personal profiles. Company Pages need a separate LinkedIn approval, which is not live yet, so a Page cannot be targeted today.
  • LinkedIn has no public comments API for third parties, so there is no read-and-reply tool here. The hosted server covers comments on the networks that do allow it.

Why a single-network server

An assistant handed two dozen tools spread over twenty networks spends its first turn working out which one it wants. Handed post_to_linkedin, it posts. If you do want every network in one place (LinkedIn, Instagram, TikTok, X, YouTube, Facebook, Threads, Pinterest, Bluesky, Reddit, Telegram, Discord, Slack, Mastodon, WordPress, Ghost, Dev.to, Hashnode, Tumblr, Google Business Profile), that is the hosted server at https://api.breakreach.com/mcp.

Sister servers, same shape: instagram-mcp, tiktok-mcp.

Questions people actually ask

Is it free? This server is MIT licensed and free. It talks to Breakreach, where reading is free and publishing needs a plan, from $29 a month.

Does it post without me confirming? Yes. It is a direct publish on the connected account.

Can it scrape profiles or send connection requests? No. It publishes and reads your own posts. Nothing here touches someone else's profile or inbox.

Can it run without Breakreach? No. The OAuth app, the 60-day token refresh, the commentary escaping and the document upload flow live there. A LinkedIn integration is mostly that work, not the HTTP call.

Build it yourself

npm install
npm run build
node scripts/smoke.mjs   # MCP handshake, then the tool list

MIT licensed. Issues and pull requests welcome.

Reviews

No reviews yet

Be the first to review this server!