linkedin-mcp
The first and only LinkedIn MCP server built in Rust. Publish posts to LinkedIn from AI agents (Claude Code, Claude Desktop, or any MCP-compatible client) using the official MCP Rust SDK (rmcp).
Power your agent
การติดตั้งจากผู้เผยแพร่ ไม่ใช่เอนด์พอยต์ของ PlugMCP
URL แบบรีโมตหรือคำสั่งบนเครื่องของคุณ? การติดตั้งสองแบบต่างกันอย่างไร
รันบน PlugMCP
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
เปิดจากผู้เผยแพร่
The first and only LinkedIn MCP server built in Rust. Publish posts to LinkedIn from AI agents (Claude Code, Claude Desktop, or any MCP-compatible client) using the official MCP Rust SDK (rmcp).
MCP server for LinkedIn — publish posts via AI agents. Built in Rust.
Most MCP servers are written in TypeScript (Bun/Node.js). That works fine for a single agent, but in multi-agent environments — where dozens of MCP servers run simultaneously across multiple Claude Code sessions — the resource overhead adds up fast:
In a real-world scenario with 5 Claude Code sessions, each running 4–6 MCP servers, TypeScript runtimes can consume 3–8 GB of RAM just for MCP infrastructure — leaving less for the actual work. We experienced this firsthand: orphaned Bun processes from a Telegram MCP plugin consumed 8 CPU cores and forced fan noise on a MacBook Pro.
Rust MCP servers are single static binaries with no runtime, no garbage collector, and no dependency on Node/Bun/npm. They start instantly, use minimal memory, and disappear cleanly when the session ends.
Download the latest release for your platform from GitHub Releases:
# Example for macOS Apple Silicon:
curl -L https://github.com/gohyperdev/linkedin-mcp/releases/latest/download/linkedin-mcp-aarch64-apple-darwin.tar.gz | tar xz
chmod +x linkedin-mcp
sudo mv linkedin-mcp /usr/local/bin/
Requires Rust 1.75+.
git clone https://github.com/gohyperdev/linkedin-mcp.git
cd linkedin-mcp
cargo build --release
# Binary at: target/release/linkedin-mcp
Before using this MCP server, you need a LinkedIn Developer App with two products enabled.
w_member_social scope (required for posting)openid profile email scopes (required for profile info)http://localhost:3000/callback under Authorized redirect URLsFor full details on LinkedIn OAuth 2.0, see: Authorization Code Flow
Your Client ID and Client Secret are sensitive credentials. Never commit them to git.
LINKEDIN_CLIENT_ID and LINKEDIN_CLIENT_SECRET.env file is in .gitignore — use it for local development~/.config/linkedin-mcp/tokens.json — this file contains your access token, treat it as a secretBefore the MCP tools can post to LinkedIn, you need to authorize the app once. Run the included setup script:
LINKEDIN_CLIENT_ID=your_client_id \
LINKEDIN_CLIENT_SECRET=your_client_secret \
./auth-cli.sh
This will:
localhost:3000/callback — the script catches it~/.config/linkedin-mcp/tokens.jsonThat's it. The token is valid for 60 days and auto-refreshes (refresh token valid 365 days). You only need to re-run auth-cli.sh if both tokens expire.
claude mcp add linkedin-mcp -s user -- \
env LINKEDIN_CLIENT_ID=your_client_id \
LINKEDIN_CLIENT_SECRET=your_client_secret \
/usr/local/bin/linkedin-mcp
Or for a specific project only (-s project):
claude mcp add linkedin-mcp -s project -- \
env LINKEDIN_CLIENT_ID=your_client_id \
LINKEDIN_CLIENT_SECRET=your_client_secret \
/path/to/linkedin-mcp
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"linkedin": {
"command": "/usr/local/bin/linkedin-mcp",
"env": {
"LINKEDIN_CLIENT_ID": "your_client_id",
"LINKEDIN_CLIENT_SECRET": "your_client_secret"
}
}
}
}
Restart Claude Desktop after saving.
Visibility options: PUBLIC (default) or CONNECTIONS (1st-degree only).
linkedin.com/pulse/... with rich-text formatting). The share_article tool shares a URL with a preview card — it's a regular feed post, not a native article.lifecycleState: PUBLISHED. Draft support requires the Community Management API.Tokens are stored at ~/.config/linkedin-mcp/tokens.json:
{
"access_token": "AQV...",
"refresh_token": null,
"expires_at": "2026-06-05T01:06:11Z",
"linkedin_id": "sIhlYJw_ja",
"email": "[email protected]"
}
To revoke access, delete this file and remove the app from LinkedIn Settings > Permitted services.
MIT — see LICENSE.
MCP server for LinkedIn — publish posts via AI agents. Built in Rust.
เครื่องมือ
ยังไม่มีรายการเครื่องมือ เซิร์ฟเวอร์แบบรีโมตจะได้รายการหลังการตรวจสอบสถานะครั้งแรก
FAQ
คัดลอกคอนฟิก stdio สำหรับ Cursor, Claude Desktop, Claude Code หรือ VS Code ได้ในหน้านี้ คอนฟิกนี้ใช้การติดตั้งของผู้เผยแพร่ ไม่ใช่พร็อกซีของ PlugMCP
ระเบียนนี้ไม่ได้ระบุตัวแปรสภาพแวดล้อมที่จำเป็น
Linkedin ทำงานแบบโลคัลผ่าน stdio
ตรวจสอบล่าสุดเมื่อ 2026-10-27 MCP server for LinkedIn — publish posts via AI agents. Built in Rust.