About
Integrates with LinkedIn to enable direct posting of text and media content with customizable visibility settings through OAuth2 authentication and secure token management.
Details
- Author
- filipptrigub
- Repository
- FilippTrigub/linkedin-mcp
- GitHub stars
- 1
- License
- MIT License
- Categories
- Communication, Other, Productivity, Developer Tools, Workplace, Community, Media, Infrastructure, Security, API
Jump to
- Post text updates to LinkedIn
- Attach images and videos to posts
- Control post visibility (public/connections)
- OAuth2 authentication flow
- Secure token storage
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
LinkedInCommand (node, npx, python, etc.)linkedin-mcpEnvironment-
LINKEDIN_CLIENT_ID
<yours> -
LINKEDIN_REDIRECT_URI
<yours> -
LINKEDIN_CLIENT_SECRET
<yours>
Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
-
LINKEDIN_CLIENT_ID
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
1. Create a LinkedIn Developer App:
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
2. Install
Install pipx if not already installed
pip install pipx
Install linkedin-mcp
pipx install linkedin-mcp
3. Create .env file:
LINKEDIN_CLIENT_ID=your_client_id
LINKEDIN_CLIENT_SECRET=your_client_secret
LINKEDIN_REDIRECT_URI=http://localhost:3000/callback
Add the following configuration to claude-desktop.json:
{
"mcpServers": {
"linkedin-mcp": {
"command": "linkedin-mcp",
"env": {
"LINKEDIN_CLIENT_ID": "<yours>",
"LINKEDIN_CLIENT_SECRET": "<yours>",
"LINKEDIN_REDIRECT_URI": "<yours>"
}
}
}
}
authenticate
Authenticate with LinkedIn.
create_post
Create and share posts optionally with media attachments. Include the file path to the relevant media file to attach it to the post.
- authenticate: Authenticate with LinkedIn
- create_post: Create and share posts optionally with media attachments
- state the file path to the relevant media file to attach it to the post
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"linkedin": {
"env": {
"LINKEDIN_CLIENT_ID": "<yours>",
"LINKEDIN_REDIRECT_URI": "<yours>",
"LINKEDIN_CLIENT_SECRET": "<yours>"
},
"args": [],
"command": "linkedin-mcp"
}
}
}
Linux
{
"env": {
"LINKEDIN_CLIENT_ID": "<yours>",
"LINKEDIN_REDIRECT_URI": "<yours>",
"LINKEDIN_CLIENT_SECRET": "<yours>"
},
"args": [],
"command": "linkedin-mcp"
}
Macos
{
"env": {
"LINKEDIN_CLIENT_ID": "<yours>",
"LINKEDIN_REDIRECT_URI": "<yours>",
"LINKEDIN_CLIENT_SECRET": "<yours>"
},
"args": [],
"command": "linkedin-mcp"
}
Windows
{
"env": {
"LINKEDIN_CLIENT_ID": "<yours>",
"LINKEDIN_REDIRECT_URI": "<yours>",
"LINKEDIN_CLIENT_SECRET": "<yours>"
},
"args": [],
"command": "linkedin-mcp"
}
Post to LinkedIn directly from Claude Desktop with support for text and media attachments.
- Post text updates to LinkedIn
- Attach images and videos to posts
- Control post visibility (public/connections)
- OAuth2 authentication flow
- Secure token storage
- authenticate: Authenticate with LinkedIn
- create_post: Create and share posts optionally with media attachments
- state the file path to the relevant media file to attach it to the post
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
Install Installpipxif not already installed
LINKEDIN_CLIENT_ID=your_client_id LINKEDIN_CLIENT_SECRET=your_client_secret LINKEDIN_REDIRECT_URI=http://localhost:3000/callback
Add the following configuration toclaude-desktop.json:
{ "mcpServers": { "linkedin-mcp": { "command": "linkedin-mcp", "env": { "LINKEDIN_CLIENT_ID": "<yours>", "LINKEDIN_CLIENT_SECRET": "<yours>", "LINKEDIN_REDIRECT_URI": "<yours>" } } } }
Clone the repository and install the package in editable mode:
git clone https://github.com/FilippTrigub/linkedin-mcp.git cd linkedin-mcp uv venv
Run the server from development directory:
{ "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>" } } } }
Schedule and queue text, image, and video posts to many social networks, including LinkedIn, X, Bluesky, Instagram, Facebook, Threads, Tiktok.
AI-powered social media posting across 14 platforms with per-platform content adaptation, scheduling, and 30-day calendar generation
Access the BlueSky social network data via its official API.
Integrates with the HeyReach API for LinkedIn automation and outreach management.
Publish to multiple social networks with only one MCP
The only AI tool that connects directly to a proprietary Reddit outreach network — find your prospects, personalize your pitch, and send thousands of DMs per day.
Groniz — Social Media Connector for AI Agents
Groniz is a remote MCP server that lets AI agents publish and schedule social content across 32+ networks, including X, Instagram, LinkedIn, Facebook, Threads, TikTok, YouTube, Reddit, Pinterest, Bluesky, Mastodon, Telegram, and Discord. It provides a unified interface for managing connected accounts, authentication, platform-specific formatting, and content delivery.
Turn AI tools into your email marketing assistant.
Turn an AI tool into your smart email engine
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





