Linkedin MCP Server
fredericbarthelet/linkedin-mcp-server · 40 stars · TypeScript
MCP server An MCP Server for Linkedin API
Install
The repo has no one-line install. Follow its README.
Files
Linkedin MCP Server
MCP server for interacting with Linkedin Community Management API.
This MCP server:
- Can be hosted locally or remotely : uses HTTP+SSE transport defined in MCP
- Implements the Draft Third-Party Authorization Flow from MCP specs to delegate authorization to LinkedIn's OAuth authorization server
⚠️ Disclaimer: The Third-Party Authorization Flow proposal status is currently in draft. The only MCP client, to my knowledge, that currently implements this specification of the protocol is the MCP Inspector
Features
Tools
user-info- Get current logged in user infos (name, headline and profile picture)create-post- Create a new post on LinkedIn
Installation
Follow those instructions to run Linkedin MCP server on your host. You'll need to provide your own Linkedin client.
Requirements
- Node 22 (
lts/jod) - pnpm 10
- a Linkedin client with
Community Management APIproduct installed andhttp://localhost:3001/callbackadded to the authorized redirect URLs
Instructions
- Install dependencies:
pnpm install
- Create env file and populate with your Linkedin client credentials and a random string secret value for
JWT_SECRET:
cp .env.template .env && vi .env
- Run the server:
pnpm run dev
- Configure your favorite MCP client to use this new server:
{
"mcpServers": {
"linkedin": {
"url": "http://localhost:3001/sse"
}
}
}
Debugging
Start the MCP Inspector to debug this server, which is available as a package script:
pnpm run inspector
Access the inspector in your browser at http://localhost:5173
Acknowledgment
- Den Delimarsky that bravely gave a first shot at this new authorization flow with Microsoft Entra ID and detailed his results in his blog post: https://den.dev/blog/auth-modelcontextprotocol-entra-id/
- Matt Pocock and his always welcome neat TS tricks specifically in the context of writting your own MCP server on AI Hero: https://www.aihero.dev/publish-your-mcp-server-to-npm
Facts
- Kind
- MCP server
- Group
- Uncategorized
- Stars
- 40
- Language
- TypeScript
- Last push
- 2025-03-19
- Forks
- 5
- 1REAio.github.morluto/reaReverse engineer anything from your terminal or agent with one CLI and MCP server.125.3k
- 2com.browser-use/browser-usecom.browser-use/browser-useControl a real Chrome browser to complete any task: fill forms, extract data, book flights.117.7k
- 3World Monitorapp.worldmonitor/mcpLive markets, conflicts, country risk, chokepoints, energy, and China decision signals. 93 tools.88.3k
- 4Scrapling MCP Serverd4vinci/scrapling🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scraplingdev86.9k
- 5Everythingmodelcontextprotocol/serversThis MCP server attempts to exercise all the features of the MCP protocol. It is not intended to be a useful server, but rather a test server for builders of MCP clients. It implements prompts, tools, resources, sampling, and more to showcase MCP capabilities.85.8k
- 6Fetchmodelcontextprotocol/serversA Model Context Protocol server that provides web content fetching capabilities. This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.85.8k