LinkedIn MCP Server

LinkedIn MCP Server

Enables posting text and media content directly to LinkedIn from Claude Desktop with support for authentication and visibility controls.

Category
Visit Server

README

LinkedIn MCP Server

Post to LinkedIn directly from Claude Desktop with support for text and media attachments.

Features

  • Post text updates to LinkedIn
  • Attach images and videos to posts
  • Control post visibility (public/connections)
  • OAuth2 authentication flow
  • Secure token storage

Tools

  • authenticate: Authenticate with LinkedIn
  • create_post: Create and share posts optionally with media attachments
    • state the file path to the relevant media file to attach it to the post

Setup

  1. Create a LinkedIn Developer App:

    Visit https://www.linkedin.com/developers/apps
    Create new app
    Add product permissions: Log In to LinkedIn and Share on LinkedIn 
    Configure OAuth redirect URL: http://localhost:3000/callback
    
  2. Install Install pipx if not already installed

    pip install pipx
    

    Install linkedin-mcp

    pipx install linkedin-mcp
    
  3. Create .env file:

    LINKEDIN_CLIENT_ID=your_client_id
    LINKEDIN_CLIENT_SECRET=your_client_secret
    LINKEDIN_REDIRECT_URI=http://localhost:3000/callback
    

Claude Desktop Configuration

Add the following configuration to claude-desktop.json:

{
  "mcpServers": {
    "linkedin-mcp": {
      "command": "linkedin-mcp",
      "env": {
        "LINKEDIN_CLIENT_ID": "<yours>",
        "LINKEDIN_CLIENT_SECRET": "<yours>",
        "LINKEDIN_REDIRECT_URI": "<yours>"
      }
    }
  }
}

Development

Clone the repository and install the package in editable mode:

git clone https://github.com/FilippTrigub/linkedin-mcp.git
cd linkedin-mcp
uv venv

Run the server from development directory:

{
  "mcpServers": {
    "linkedin-mcp": {
       "command": "uv",
      "args": [
        "--directory",
        "absolute\\path\\to\\linkedin-mcp",
        "run",
        "-m",
        "linkedin_mcp.server"
      ],
      "env": {
        "LINKEDIN_CLIENT_ID": "<yours>",
        "LINKEDIN_CLIENT_SECRET": "<yours>",
        "LINKEDIN_REDIRECT_URI": "<yours>"
      }
    }
  }
}

License

MIT License

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
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
Qdrant Server

Qdrant Server

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

Official
Featured