Linkedin MCP Server logo

Linkedin MCP Server

by fredericbarthelet

This MCP server facilitates interaction with the Linkedin Community Management API. It can be hosted locally or remotely using HTTP+SSE transport and implements the Draft Third-Party Authorization Flow for delegated authorization to LinkedIn's OAuth server.

View on GitHub

Last updated: N/A

What is Linkedin MCP Server?

This is an MCP server designed to interact with the LinkedIn Community Management API, allowing developers to build applications that manage LinkedIn communities.

How to use Linkedin MCP Server?

To use this server, you need to install Node 22 and pnpm 10, obtain a LinkedIn client with the Community Management API product installed, and configure the authorized redirect URL. After installing dependencies and setting up the environment variables with your LinkedIn client credentials and a JWT secret, you can run the server and configure your MCP client to use it.

Key features of Linkedin MCP Server

  • HTTP+SSE transport

  • Third-Party Authorization Flow

  • User Info retrieval

  • Post creation

Use cases of Linkedin MCP Server

  • Automating LinkedIn community management tasks

  • Integrating LinkedIn data into other applications

  • Building custom LinkedIn workflows

  • Debugging MCP server interactions with the MCP Inspector

FAQ from Linkedin MCP Server

What is MCP?

MCP stands for Model Context Protocol, a protocol for communication between applications.

What is the Community Management API?

The Community Management API allows you to manage LinkedIn communities programmatically.

What is the Third-Party Authorization Flow?

It's a draft proposal in MCP specs for delegating authorization to a third-party OAuth authorization server like LinkedIn's.

What are the requirements to run this server?

You need Node 22, pnpm 10, and a Linkedin client with Community Management API product installed.

How do I debug this server?

You can use the MCP Inspector to debug the server by running pnpm run inspector and accessing it in your browser.