Skip to main content
Glama
FilippTrigub

LinkedIn MCP Server

by FilippTrigub

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

Related MCP server: linkedin-mcp-server

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

A
license - permissive license
-
quality - not tested
F
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    D
    maintenance
    Enables ChatGPT and Claude Desktop to post text content directly to your LinkedIn profile using the official LinkedIn UGC Posts API with OAuth 2.0 authentication.
  • A
    license
    A
    quality
    D
    maintenance
    Post to LinkedIn from Claude — create posts, upload images, edit/delete posts, and manage company pages via natural language. Uses the official LinkedIn REST API with OAuth 2.0.
    9
    147
    2
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables Claude Desktop to manage your LinkedIn profile and company pages, including posting, reading posts, and fetching profile information.
    7
    147
    4
    MIT

View all related MCP servers

Related MCP Connectors

  • Give AI agents the LinkedIn tools to find, qualify, engage, and follow up with prospects.

  • Let AI tools securely access your LinkedIn network and DMs

  • Draft, schedule, publish, and analyze your LinkedIn posts from your AI assistant via Taplio.

View all MCP Connectors

Latest Blog Posts

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