linkedin-claude-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@linkedin-claude-mcpShare a LinkedIn post about our new product launch"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
linkedin-mcp
LinkedIn MCP server for Claude — create posts, read profile, get analytics.
Setup
1. Install dependencies
cd Desktop/Repositories/linkedin-mcp
npm install2. Create a LinkedIn App
Go to linkedin.com/developers → Create App
Fill in app name, LinkedIn page, logo
Under Products, add:
✅ Sign In with LinkedIn using OpenID Connect
✅ Share on LinkedIn
Under Auth → Redirect URLs, add:
http://localhost:3000/callbackCopy your Client ID and Client Secret
3. Configure credentials
cp .env.example .envEdit .env and add your Client ID and Client Secret.
4. Authenticate (run once)
node auth.jsThis opens LinkedIn in your browser, you approve access, and the access token is saved to .env automatically.
5. Add to Claude
Edit your Claude desktop config at:
Mac:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"linkedin": {
"command": "node",
"args": ["/Users/ammarshafqat/Desktop/Repositories/linkedin-mcp/index.js"]
}
}
}Restart Claude desktop. You should see the LinkedIn tools available.
Related MCP server: LinkedIn Profile MCP Server
Available Tools
Tool | Description |
| Publish a new post (text, visibility) |
| Get your name, headline, profile URL |
| Fetch your recent posts (up to 50) |
| Delete a post by ID or URN |
| Get impressions, clicks, likes, comments |
| Comment on one of your posts |
Example usage in Claude
"Post this to my LinkedIn: [paste your content]"
"Show me my last 5 LinkedIn posts"
"How many impressions did my last post get?"
Token expiry
LinkedIn access tokens last 60 days. When it expires, just run node auth.js again.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/AmmarShafqat/linkedin-claude-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server