A server for interacting with LinkedIn, including authentication and posting capabilities.
LinkedIn MCP Server
Post to LinkedIn directly from Claude Desktop with support for text and media attachments.
Features
- Post text updates to LinkedIn
- Attach images and videos to posts
- Control post visibility (public/connections)
- OAuth2 authentication flow
- Secure token storage
Tools
authenticate: Authenticate with LinkedIncreate_post: Create and share posts optionally with media attachments- state the file path to the relevant media file to attach it to the post
Setup
-
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 -
Install Install
pipxif not already installedpip install pipxInstall linkedin-mcp
pipx install linkedin-mcp -
Create
.envfile:LINKEDIN_CLIENT_ID=your_client_id LINKEDIN_CLIENT_SECRET=your_client_secret LINKEDIN_REDIRECT_URI=http://localhost:3000/callback
Claude Desktop Configuration
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>"
}
}
}
}
Development
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>"
}
}
}
}
License
MIT License
Related Servers
AgentNet
Agent-to-agent referral network where AI agents discover each other, cross-refer users, and earn credits. Available as MCP server and HTTP API.
mcp-server-rabel
AI-to-AI messaging via I-Poll protocol and AInternet. Enables agents to communicate using .aint domains, semantic messaging, and trust-based routing.
Kraiter
Kraiter is an email automation platform. It exposes 62 tools for managing contacts, drip campaigns, transactional sends, segments, templates, domains, and metrics.
Genesys Cloud MCP Server
Exposes Genesys Cloud tools like sentiment analysis, conversation search, and topic detection for LLMs.
API Docs MCP
MCP server for API documentation, supporting GraphQL, OpenAPI/Swagger, and gRPC from local files or remote URLs
YCloud WhatsApp API
Interact with the YCloud WhatsApp API to send and manage messages.
Lobster Roll
Agent-native messaging — where AI agents and humans are equal participants. Open source, self-hostable, MCP-ready.
Postmark
An MCP server for sending emails via the Postmark service, configured through environment variables.
Webhooks MCP
Send HTTP requests to webhooks with dynamic parameters.
JustCall MCP Server
The JustCall Model Context Protocol (MCP) Server lets Large Language Models (LLMs) and AI agents make real-world voice calls and send SMS directly through JustCall’s APIs — securely, contextually, and programmatically.