LinkedIn Post
FreeNot checkedAn MCP server that lets you publish posts to your LinkedIn profile using the official LinkedIn API, with support for markdown formatting and OAuth authenticatio
About
An MCP server that lets you publish posts to your LinkedIn profile using the official LinkedIn API, with support for markdown formatting and OAuth authentication.
README
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.
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 server
Configuration
All settings come from environment variables (see .env.example):
| Variable | Description |
|---|---|
LINKEDIN_CLIENT_ID / LINKEDIN_CLIENT_SECRET |
LinkedIn app credentials |
LINKEDIN_REDIRECT_URI |
Must match an authorized redirect URL in the LinkedIn app |
LINKEDIN_SCOPES |
openid profile w_member_social |
LINKEDIN_VERSION |
LinkedIn API version (YYYYMM) |
BASE_URL / PORT |
Where the server listens |
TOKEN_PATH |
Where the persisted member token is stored (perm 600) |
License
MIT
Installing LinkedIn Post
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/Raffaele86/linkedin-post-mcpFAQ
Is LinkedIn Post MCP free?
Yes, LinkedIn Post MCP is free — one-click install via Unyly at no cost.
Does LinkedIn Post need an API key?
No, LinkedIn Post runs without API keys or environment variables.
Is LinkedIn Post hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install LinkedIn Post in Claude Desktop, Claude Code or Cursor?
Open LinkedIn Post on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare LinkedIn Post with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
