Skip to main content
Glama
Eldasoky1

LinkedIn MCP

by Eldasoky1

LinkedIn MCP Server

Programmable LinkedIn Automation via Playwright and the Model Context Protocol.

TypeScript Node.js Playwright MCP Protocol

📌 Overview

This MCP server exposes LinkedIn as a programmable platform via Playwright browser automation. It provides 20 strictly typed tools across profile management, connections, messaging, feed interaction, and job searching. All interactions are driven by automating a real Chromium browser against LinkedIn's web UI, entirely bypassing unofficial APIs.

Related MCP server: LinkedIn MCP Server

🏗️ Architecture

graph TD
    Host[MCP Host / Claude Desktop] <-->|JSON-RPC over stdio| MCP[LinkedIn MCP Node.js Server]
    
    subgraph Core Automation Engine
        MCP --> SessionMgr[Session & Cookie Manager]
        MCP --> Tools[20 Typed Action Tools]
        Tools --> Playwright[Playwright API]
    end
    
    Playwright -->|CDP Commands| Chrome[Non-Headless Chromium]
    Chrome <-->|Web Traffic| LI[(LinkedIn Web Platform)]

🚀 Getting Started

Prerequisites

  • Node.js 20+

  • A LinkedIn Account

  • Environment configuration

Setup

# Install dependencies
npm install

# Build the project
npm run build

# Configure environment
cp .env.example .env

Edit your .env to include dummy/example credentials or your real credentials if deploying locally:

LINKEDIN_EMAIL=example@example.com
LINKEDIN_PASSWORD=your_password
COOKIES_PATH=./linkedin_cookies.json

(Note: Session cookies are persisted automatically after the first successful login).

🛠️ Tool Ecosystem

👤 Profile Tools

  • get_my_profile / get_my_profile_full

  • get_person_profile / get_person_profile_full

✏️ Profile Editing (ProseMirror compatible)

  • update_profile_text / edit_headline

  • add_experience_block / add_skill

🤝 Networking Pipeline

  • search_people / connect_with_person

  • smart_connect: Autonomous multi-phase networking pipeline (Scrape -> Search -> Score -> Reach Out).

💬 Messaging & Feed

  • get_inbox / send_message

  • get_feed / get_company_posts / create_post

  • search_jobs / get_job_details

⚙️ Technical Highlights

  • Anti-Bot Circumvention: Utilizes non-headless Chromium instances to mimic legitimate user interaction.

  • ProseMirror Handlers: Gracefully handles LinkedIn's complex TipTap/ProseMirror rich-text editors for post creation and profile updates.

  • Dry-Run Safety: All mutating endpoints support a dryRun boolean, executing form logic while bypassing the final submit action.

  • Session Resilience: Implements automated login detection and session recovery loops with explicit CAPTCHA abortion.

A
license - permissive license
-
quality - not tested
C
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

  • A
    license
    A
    quality
    D
    maintenance
    An MCP server for LinkedIn automation that enables users to search for jobs, retrieve profile details, manage connections, and read or send messages. It leverages Playwright and Browserbase to interact with LinkedIn through an existing authenticated browser session.
    Last updated
    6
    3
    1
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    High-performance autonomous MCP server that turns LinkedIn into an API for AI workflows, enabling profile management, job search, content posting, and document generation.
    Last updated
    1
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    MCP server for LinkedIn automation that enables AI agents to perform LinkedIn actions (search, inbox, feed, jobs, etc.) safely with human-like evasion and two-phase commit preview.
    Last updated
    3
    2
    MIT

View all related MCP servers

Related MCP Connectors

  • Managed LinkedIn MCP server for AI agents: search, connect, message and enrich on accounts you own.

  • MCP server for LeadDelta — manage LinkedIn connections and CRM data via AI assistants.

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

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/Eldasoky1/linkedin-mcp'

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