LinkedIn MCP Server
v0.1.1LinkedIn MCP server: post and schedule text, images, video or a PDF carousel, read metrics.
Values you need
| Variable | What it is | |
|---|---|---|
BREAKREACH_API_KEY | required secret | Breakreach API key (Settings → API & MCP), which holds the connected account |
BREAKREACH_WORKSPACE | optional | Workspace slug, when the account has several |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add linkedin-mcp -e 'BREAKREACH_API_KEY=<BREAKREACH_API_KEY>' -- npx -y @breakreach/linkedin-mcp@0.1.0Add to
claude_desktop_config.json{
"mcpServers": {
"linkedin-mcp": {
"args": [
"-y",
"@breakreach/linkedin-mcp@0.1.0"
],
"command": "npx",
"env": {
"BREAKREACH_API_KEY": "<BREAKREACH_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"linkedin-mcp": {
"args": [
"-y",
"@breakreach/linkedin-mcp@0.1.0"
],
"command": "npx",
"env": {
"BREAKREACH_API_KEY": "<BREAKREACH_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "BREAKREACH_API_KEY",
"id": "breakreach-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"linkedin-mcp": {
"args": [
"-y",
"@breakreach/linkedin-mcp@0.1.0"
],
"command": "npx",
"env": {
"BREAKREACH_API_KEY": "${input:breakreach-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.linkedin-mcp]
command = "npx"
args = ["-y", "@breakreach/linkedin-mcp@0.1.0"]
env = { "BREAKREACH_API_KEY" = "<BREAKREACH_API_KEY>" }For AI agents
- Ask the user for: BREAKREACH_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: list_linkedin_accounts, get_linkedin_account_stats, post_to_linkedin, schedule_linkedin_post, get_next_linkedin_slot, upload_linkedin_media, list_linkedin_posts, get_linkedin_post_metrics.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json