home / mcp / linkedin mcp server
MCP server for interacting with Linkedin Community Management API, enabling user info retrieval and post creation.
Configuration
View docs{
"mcpServers": {
"fredericbarthelet-linkedin-mcp-server": {
"url": "http://localhost:3001/sse",
"headers": {
"JWT_SECRET": "YOUR_JWT_SECRET",
"LINKEDIN_CLIENT_ID": "YOUR_LINKEDIN_CLIENT_ID",
"LINKEDIN_CLIENT_SECRET": "YOUR_LINKEDIN_CLIENT_SECRET"
}
}
}
}This MCP server lets you interact with LinkedIn’s Community Management API from your own environment. It supports hosting locally or remotely over HTTP+SSE and handles authorization delegation through the Draft Third-Party Authorization Flow, enabling you to fetch user info and create posts on LinkedIn.
You connect a client to this server to access LinkedIn features. Use the HTTP endpoint to stream events and the local runtime to run the server directly on your machine. Available actions include retrieving the currently logged-in user’s profile information and creating new LinkedIn posts.
pnpm install
```
```bash
cp .env.template .env && vi .env
```
```bash
pnpm run devConfiguration uses a simple MCP server setup. You can run the server locally with the provided commands and then point your MCP client to the correct URLs. Debugging is supported via an MCP Inspector, which you can start with a dedicated script.
Fetches information about the currently authenticated LinkedIn user, including name, headline, and profile picture.
Creates a new post on LinkedIn on behalf of the authenticated user.