LinkedIn MCP Server

LinkedIn MCP Server

Enables Claude to interact with LinkedIn for posting, commenting, sharing media, and viewing feed and profile.

Category
Visit Server

README

LinkedIn MCP Server

A Model Context Protocol (MCP) server for LinkedIn integration, allowing Claude to create posts, comment on posts, manage your LinkedIn presence, and share content with media attachments.

Features

  • Post Management: Create, delete, and view LinkedIn posts
  • Media Sharing: Upload and share images/videos with posts
  • Comment System: Comment on LinkedIn posts
  • Feed Management: View your LinkedIn feed
  • Profile Access: Get your LinkedIn profile information
  • Post Engagement: Like and share LinkedIn posts

Prerequisites

  • Node.js 18+
  • LinkedIn Developer Account and Access Token
  • Claude Desktop App

Installation

  1. Clone this repository:
git clone https://github.com/rgthelen/linkedin-mcp-server.git
cd linkedin-mcp-server
  1. Install dependencies:
npm install
  1. Set up LinkedIn API credentials:

    • Go to LinkedIn Developer Portal
    • Create an app or use existing app
    • Generate an access token with appropriate scopes:
      • r_liteprofile (to read profile)
      • r_emailaddress (to read email)
      • w_member_social (to post content)
  2. Configure environment variables:

cp .env.example .env
# Edit .env with your LinkedIn access token
  1. Build the project:
npm run build

Configuration

See CLAUDE.md for detailed Claude Desktop setup instructions.

Available Tools

  • test_linkedin_connection - Test the LinkedIn API connection
  • get_profile - Get your LinkedIn profile information
  • create_post - Create a new LinkedIn post (with optional media)
  • delete_post - Delete a LinkedIn post
  • get_post - Get details of a specific post
  • get_feed - Get posts from your LinkedIn feed
  • comment_post - Comment on a LinkedIn post
  • like_post - Like a LinkedIn post
  • share_post - Share a LinkedIn post

Usage Examples

With Claude Desktop configured, you can ask Claude:

  • "Create a LinkedIn post about my latest project"
  • "Share this image with a caption about AI developments"
  • "Comment on this LinkedIn post with my professional thoughts"
  • "Show me my recent LinkedIn feed"
  • "Get my LinkedIn profile information"

Media Support

The server supports uploading images and videos according to LinkedIn's official API v2 specification:

  • Supported formats: JPG, PNG, GIF (images), MP4, MOV, AVI (videos)
  • Process: Automatic media upload, registration, and post creation
  • Usage: Just provide the file path when creating posts

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured