Skip to main content
Glama

LinkedIn MCP Server

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.

Ermöglicht das Posten von Text- und Medieninhalten direkt von Claude Desktop auf LinkedIn mit Unterstützung für Authentifizierung und Sichtbarkeitskontrollen.

  1. Merkmale
    1. Werkzeuge
      1. Aufstellen
        1. Claude Desktop-Konfiguration
          1. Entwicklung
            1. Lizenz

              Related MCP Servers

              • A
                security
                F
                license
                A
                quality
                A connector enabling Claude Desktop or any MCP client to interact with Slack workspaces to post messages and query user lists.
                Last updated -
                2
                21
              • -
                security
                F
                license
                -
                quality
                Enables text manipulation in Adobe InDesign documents via Claude Desktop by providing tools to add, update, remove, and retrieve text content through ExtendScript API.
                Last updated -
                1
                • Apple
              • A
                security
                A
                license
                A
                quality
                Enables Claude to access and analyze LinkedIn profile data through the Model Context Protocol, allowing users to query their LinkedIn information directly within Claude Desktop.
                Last updated -
                4
                MIT License
              • -
                security
                A
                license
                -
                quality
                A browser-based solution that enables programmatic interaction with Medium's content ecosystem despite API deprecation, allowing publishing, retrieving, and searching Medium articles through Claude integration.
                Last updated -
                MIT License

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/FilippTrigub/linkedin-mcp'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server