LinkedIn Post 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 Post MCPpost a LinkedIn update 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 Post MCP
An MCP (Model Context Protocol) server that lets an MCP client (e.g. Claude) publish posts to a LinkedIn profile via the official LinkedIn API.
How it works
3-legged OAuth (member token) against LinkedIn (
openid profile w_member_social) — the member authorizes once, the resulting access/refresh token is persisted locally and refreshed automatically.FastMCP server, HTTP transport on
/sse. Authentication towards the MCP client is expected to be handled upstream (e.g. by an MCP gateway); here OAuth is only towards LinkedIn.Tools: import an existing token, run the interactive OAuth flow, post a text post (supports markdown formatting → LinkedIn richtext), inspect token state.
Related MCP server: @isteam/linkedin-mcp
Setup
See SETUP.md for the full LinkedIn app configuration (credentials, redirect URI, scopes) and server deployment.
Quick start
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
cp .env.example .env # then fill in LINKEDIN_CLIENT_ID / LINKEDIN_CLIENT_SECRET
python oauth_cli.py auth # interactive 3-legged OAuth
python server.py # start the MCP serverConfiguration
All settings come from environment variables (see .env.example):
Variable | Description |
| LinkedIn app credentials |
| Must match an authorized redirect URL in the LinkedIn app |
|
|
| LinkedIn API version (YYYYMM) |
| Where the server listens |
| Where the persisted member token is stored (perm 600) |
License
MIT
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
- 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/Raffaele86/linkedin-post-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server