
LinkedIn MCP Server
MCP server to schedule and publish LinkedIn posts from AI assistants and read their
The repository was last updated 2 days ago and is published under MIT.
LinkedIn MCP Server is a freemium MCP server for social media analytics. It runs locally on your machine and is started by your AI client.
- Pricing
- Freemium
- Platforms
- CLI, API, macOS
- Runs
- Locally
- What it can do
- Can change data (3 tools)
- Access
- Needs a secret key or token
- GitHub stars
- 0
Similar MCP servers
Install
You install MCP servers on a computer. Send yourself the link.
Add with the CLI
Run in a terminal
claude mcp add linkedin-mcp --env BREAKREACH_API_KEY='<BREAKREACH_API_KEY>' -- npx -y @breakreach/linkedin-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"linkedin-mcp": {
"command": "npx",
"args": [
"-y",
"@breakreach/linkedin-mcp"
],
"env": {
"BREAKREACH_API_KEY": "<BREAKREACH_API_KEY>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"linkedin-mcp": {
"command": "npx",
"args": [
"-y",
"@breakreach/linkedin-mcp"
],
"env": {
"BREAKREACH_API_KEY": "<BREAKREACH_API_KEY>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"linkedin-mcp": {
"command": "npx",
"args": [
"-y",
"@breakreach/linkedin-mcp"
],
"env": {
"BREAKREACH_API_KEY": "<BREAKREACH_API_KEY>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"linkedin-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@breakreach/linkedin-mcp"
],
"env": {
"BREAKREACH_API_KEY": "<BREAKREACH_API_KEY>"
}
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add linkedin-mcp --env BREAKREACH_API_KEY='<BREAKREACH_API_KEY>' -- npx -y @breakreach/linkedin-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.linkedin-mcp]
command = "npx"
args = ["-y", "@breakreach/linkedin-mcp"]
env = { BREAKREACH_API_KEY = "<BREAKREACH_API_KEY>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"linkedin-mcp": {
"command": "npx",
"args": [
"-y",
"@breakreach/linkedin-mcp"
],
"env": {
"BREAKREACH_API_KEY": "<BREAKREACH_API_KEY>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "linkedin-mcp": { "command": "npx", "args": [ "-y", "@breakreach/linkedin-mcp" ], "env": { "BREAKREACH_API_KEY": "<BREAKREACH_API_KEY>" } } } }Or run: gemini mcp add -s user -e BREAKREACH_API_KEY='<BREAKREACH_API_KEY>' linkedin-mcp npx -- -y @breakreach/linkedin-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "linkedin-mcp": { "command": "npx", "args": [ "-y", "@breakreach/linkedin-mcp" ], "env": { "BREAKREACH_API_KEY": "<BREAKREACH_API_KEY>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "linkedin-mcp": { "command": "npx", "args": [ "-y", "@breakreach/linkedin-mcp" ], "env": { "BREAKREACH_API_KEY": "<BREAKREACH_API_KEY>" } } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "linkedin-mcp": { "command": "npx", "args": [ "-y", "@breakreach/linkedin-mcp" ], "env": { "BREAKREACH_API_KEY": "<BREAKREACH_API_KEY>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "linkedin-mcp": { "command": "npx", "args": [ "-y", "@breakreach/linkedin-mcp" ], "env": { "BREAKREACH_API_KEY": "<BREAKREACH_API_KEY>" } } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "linkedin-mcp": { "command": "npx", "args": [ "-y", "@breakreach/linkedin-mcp" ], "env": { "BREAKREACH_API_KEY": "<BREAKREACH_API_KEY>" } } } }The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.
Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "linkedin-mcp": { "command": "npx", "args": [ "-y", "@breakreach/linkedin-mcp" ], "env": { "BREAKREACH_API_KEY": "<BREAKREACH_API_KEY>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "linkedin-mcp": { "command": "npx", "args": [ "-y", "@breakreach/linkedin-mcp" ], "env": { "BREAKREACH_API_KEY": "<BREAKREACH_API_KEY>" } } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
BREAKREACH_API_KEYBreakreach API key (Settings → API & MCP), which holds the connected accountRequiredBREAKREACH_WORKSPACEWorkspace slug, when the account has several
About LinkedIn MCP Server
Connects AI assistants such as Claude, ChatGPT and Cursor to a LinkedIn account so posts can be written, queued and published from a chat. Text, images, video and PDF carousels are supported, and scheduling can target a set time, the next free slot, or a draft.
The server runs locally over stdio through npm and needs a Breakreach API key, which holds the connected LinkedIn account. Breakreach handles the LinkedIn OAuth connection, token renewal and the formatting LinkedIn requires, so the server itself is a thin layer over that service.
It suits people who manage their own LinkedIn presence and want to draft, schedule and review post performance without leaving their assistant. It covers personal profiles only; Company Pages are not yet supported, and LinkedIn comments cannot be read or replied to through this server.
Tools this server provides (8)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 3 of 8 tools change data.
From the server's own tool labels and tool names; not verified by us.
- list_linkedin_accountsName suggests: reads
- The connected LinkedIn accounts and their ids. Call it first.
- post_to_linkedinName suggests: changes
- Publish now: text, images, video or a PDF carousel.
- schedule_linkedin_postName suggests: changes
- Put it on the calendar at a time, at the next free slot, or as a draft.
- get_next_linkedin_slotName suggests: reads
- The next free slot in the posting schedule.
- upload_linkedin_mediaName suggests: changes
- A local file to an https URL LinkedIn can fetch.
- list_linkedin_postsName suggests: reads
- Drafts, scheduled, published and failed, with their ids.
- get_linkedin_post_metricsName suggests: reads
- Impressions, likes, comments, shares.
- get_linkedin_account_statsName suggests: reads
- Followers and recent reach per account.
What it does
- Scheduled and immediate publishing
- Posts can go out now, at a chosen time, in the next free schedule slot, or be saved as a draft.
- Rich media posts
- Supports text with images, video, and PDF carousels of 2 to 20 pages.
- Post performance metrics
- Reads impressions, likes, comments and shares for individual posts, plus follower and reach stats per account.
- Automatic text escaping
- Escapes characters LinkedIn reserves so posts with brackets or hyphens are not cut short.
- Multi-workspace support
- A workspace slug can be set as the default when one account holds several workspaces.
Good for
- Turn rough notes into a LinkedIn post and schedule it for a set morning
- Upload a PDF as a carousel document post from a chat session
- Review which recent posts gained the most impressions and engagement
- Check the next free posting slot before queuing content
- Keep an eye on account followers and reach across connected profiles
Pricing
Freemium, from $29 a month
Server is free and MIT licensed; publishing through Breakreach needs a plan from $29/mo
More servers for the same service
LinkedIn MCP Server FAQ
Does the server post without confirmation?
Yes. It publishes directly to the connected account, and nothing has to be approved in the LinkedIn app afterwards.
Can LinkedIn MCP Server post to LinkedIn Company Pages?
Not yet. Company Pages need a separate LinkedIn approval, so only personal profiles can be targeted.
Can LinkedIn MCP Server read or reply to comments?
No. LinkedIn does not offer a public comments API for third parties, so there is no comment reading or reply tool in this server.
What does LinkedIn MCP Server cost to publish?
The server is MIT licensed and free. Reading is free through Breakreach, and publishing needs a plan starting at $29 a month.
How do I add LinkedIn MCP Server to Claude Code?
Run this command in your terminal: claude mcp add linkedin-mcp --env BREAKREACH_API_KEY='<BREAKREACH_API_KEY>' -- npx -y @breakreach/linkedin-mcp
What are the best alternatives to LinkedIn MCP Server?
The closest alternatives to LinkedIn MCP Server are MagicPost LinkedIn MCP Server, SocialMCP, LinkedMCP, Instagram MCP Server and Postmcp MCP Server.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.