F
licenseNot graded
qualityD
maintenanceEnables ChatGPT and Claude Desktop to post text content directly to your LinkedIn profile using the official LinkedIn UGC Posts API with OAuth 2.0 authentication.
-
直接从 Claude Desktop 发布到 LinkedIn,支持文本和媒体附件。
将文本更新发布到 LinkedIn
将图片和视频附加到帖子中
控制帖子可见性(公开/连接)
OAuth2 身份验证流程
安全令牌存储
Related MCP server: linkedin-mcp-server
authenticate :通过 LinkedIn 进行身份验证
create_post :创建并分享带有媒体附件的帖子
说明相关媒体文件的文件路径,以便将其附加到帖子中
创建 LinkedIn 开发者应用程序:
Visit https://www.linkedin.com/developers/apps
Create new app
Add product permissions: Log In to LinkedIn and Share on LinkedIn
Configure OAuth redirect URL: http://localhost:3000/callback安装 如果尚未安装pipx ,请安装
pip install pipx安装 linkedin-mcp
pipx install linkedin-mcp创建.env文件:
LINKEDIN_CLIENT_ID=your_client_id
LINKEDIN_CLIENT_SECRET=your_client_secret
LINKEDIN_REDIRECT_URI=http://localhost:3000/callback向claude-desktop.json添加以下配置:
{
"mcpServers": {
"linkedin-mcp": {
"command": "linkedin-mcp",
"env": {
"LINKEDIN_CLIENT_ID": "<yours>",
"LINKEDIN_CLIENT_SECRET": "<yours>",
"LINKEDIN_REDIRECT_URI": "<yours>"
}
}
}
}克隆存储库并以可编辑模式安装包:
git clone https://github.com/FilippTrigub/linkedin-mcp.git
cd linkedin-mcp
uv venv从开发目录运行服务器:
{
"mcpServers": {
"linkedin-mcp": {
"command": "uv",
"args": [
"--directory",
"absolute\\path\\to\\linkedin-mcp",
"run",
"-m",
"linkedin_mcp.server"
],
"env": {
"LINKEDIN_CLIENT_ID": "<yours>",
"LINKEDIN_CLIENT_SECRET": "<yours>",
"LINKEDIN_REDIRECT_URI": "<yours>"
}
}
}
}MIT 许可证
This server cannot be deployed
Schedule and publish LinkedIn posts to profiles and company pages from AI agents.
Draft LinkedIn posts in your voice, then schedule or publish them through LinkedIn's official API.
LinkedIn outreach, commenting, scheduling, and data via Claude and human approval gates.
Draft, check and schedule posts to your connected social accounts from Claude, ChatGPT or Cursor.