MCP ExplorerExplorer

Mcp Server Linkedin

@fredericbartheleton a year ago
28 MIT
FreeCommunity
AI Systems
An MCP Server for Linkedin API

Overview

What is Mcp Server Linkedin

mcp-server-linkedin is an MCP Server designed for interacting with the LinkedIn Community Management API, allowing developers to manage LinkedIn community activities programmatically.

Use cases

Use cases include automating the posting of updates to LinkedIn, retrieving user profile information for analytics, and managing community interactions on LinkedIn.

How to use

To use mcp-server-linkedin, install the required dependencies, set up your environment with LinkedIn client credentials, and run the server. Configure your MCP client to connect to this server using the provided URL.

Key features

Key features include tools for retrieving user information and creating posts on LinkedIn. The server supports both local and remote hosting and utilizes HTTP+SSE transport for communication.

Where to use

mcp-server-linkedin can be used in marketing, social media management, and community engagement applications where interaction with LinkedIn’s API is required.

Content

Linkedin MCP Server

MCP server for interacting with Linkedin Community Management API.

This MCP 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 API product installed and http://localhost:3001/callback added 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

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers