LinkedIn MCP Server

Integrations

  • Provides a development workflow for cloning and contributing to the LinkedIn MCP repository.

  • Offers installation of the LinkedIn MCP package through pipx for isolated Python application management.

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

-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

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

  1. Features
    1. Tools
      1. Setup
        1. Claude Desktop Configuration
          1. Development
            1. License

              Related MCP Servers

              • -
                security
                F
                license
                -
                quality
                A FastMCP-based server that enables programmatic LinkedIn automation and data extraction through browser automation, offering secure authentication and tools for profile operations and post interactions while respecting LinkedIn's rate limits.
                Last updated -
                5
                Python
                • Linux
                • Apple
              • -
                security
                A
                license
                -
                quality
                A Model Context Protocol server that provides comprehensive access to LinkedIn data and functionality, enabling data retrieval and user account management through the HorizonDataWave API.
                Last updated -
                25
                17
                JavaScript
                MIT License
                • Apple
              • -
                security
                A
                license
                -
                quality
                A powerful LinkedIn Profile Analyzer that seamlessly integrates with Claude AI to fetch and analyze public LinkedIn profiles, enabling users to extract, search, and analyze posts data through RapidAPI's LinkedIn Data API.
                Last updated -
                1
                Python
                MIT License
              • -
                security
                F
                license
                -
                quality
                Connects to multiple social media platforms (Twitter/X, Mastodon, LinkedIn), allowing users to create and publish content across platforms through natural language instructions.
                Last updated -
                TypeScript

              View all related MCP servers

              ID: 8oopfv11nm