# LinkedIn MCP Server

> LinkedIn MCP Server is a freemium MCP server for social media analytics. MCP server to schedule and publish LinkedIn posts from AI assistants and read their. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Starting price:** $29 a month
- **Platforms:** CLI, API, macOS, Windows, Linux
- **Repository:** https://github.com/breakreach/linkedin-mcp
- **GitHub stars:** 0
- **License:** MIT
- **MCP Registry name:** com.breakreach/linkedin-mcp
- **Categories:** [social media analytics](https://ai-powered.com/categories/social-media-analytics)
- **Listing updated:** 2026-12-04

## About

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.

## Features

- **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

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add linkedin-mcp --env BREAKREACH_API_KEY='<BREAKREACH_API_KEY>' -- npx -y @breakreach/linkedin-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

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

### Claude Desktop (claude_desktop_config.json)

```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.

### Cursor (~/.cursor/mcp.json)

```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.

### VS Code (~/.copilot/mcp-config.json)

```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.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add linkedin-mcp --env BREAKREACH_API_KEY='<BREAKREACH_API_KEY>' -- npx -y @breakreach/linkedin-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.linkedin-mcp]
command = "npx"
args = ["-y", "@breakreach/linkedin-mcp"]
env = { BREAKREACH_API_KEY = "<BREAKREACH_API_KEY>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```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

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```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 (~/.config/devin/mcp_config.json)

```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 (cline_mcp_settings.json)

```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 (Zed settings.json)

```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 (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "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.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```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 (~/.kiro/settings/mcp.json)

```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.

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

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_accounts` (name suggests: reads): The connected LinkedIn accounts and their ids. Call it first.
- `post_to_linkedin` (name suggests: changes): Publish now: text, images, video or a PDF carousel.
- `schedule_linkedin_post` (name suggests: changes): Put it on the calendar at a time, at the next free slot, or as a draft.
- `get_next_linkedin_slot` (name suggests: reads): The next free slot in the posting schedule.
- `upload_linkedin_media` (name suggests: changes): A local file to an https URL LinkedIn can fetch.
- `list_linkedin_posts` (name suggests: reads): Drafts, scheduled, published and failed, with their ids.
- `get_linkedin_post_metrics` (name suggests: reads): Impressions, likes, comments, shares.
- `get_linkedin_account_stats` (name suggests: reads): Followers and recent reach per account.

## 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.

## Alternatives

- [MagicPost LinkedIn MCP Server](https://ai-powered.com/mcp/magicpost-linkedin-mcp-server): MagicPost LinkedIn MCP Server is a freemium MCP server for social media analytics.
- [SocialMCP](https://ai-powered.com/mcp/socialmcp): SocialMCP is a freemium MCP server for social media analytics.
- [LinkedMCP](https://ai-powered.com/mcp/linkedmcp): LinkedMCP is a free MCP server for social media analytics.
- [Instagram MCP Server](https://ai-powered.com/mcp/instagram-mcp-server-2): Instagram MCP Server is a freemium MCP server for social media analytics.
- [Postmcp MCP Server](https://ai-powered.com/mcp/postmcp-mcp-server): Postmcp MCP Server is a freemium MCP server for productivity.
- [Amelia Vibe](https://ai-powered.com/mcp/amelia-vibe): Amelia Vibe is an MCP server for social media analytics.
- [Podawaa LinkedIn](https://ai-powered.com/mcp/podawaa-linkedin): Podawaa LinkedIn is a freemium MCP server for social and gratitude.
- [Universal LinkedIn MCP Server](https://ai-powered.com/mcp/universal-linkedin-mcp-server): Universal LinkedIn MCP Server is an open-source MCP server for mcp data access.

---
Source: https://ai-powered.com/mcp/linkedin-mcp-server-3
