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.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityStale
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

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

Related MCP Connectors

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.
    6
    15
    1
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Fully featured MCP server that provides automation tools for LinkedIn, supporting browser-based scraping and API-based operations for content management, media uploads, and reactions.
    6
    3
    MIT
  • A
    license
    Not graded
    quality
    C
    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.
    13
    2
    MIT
  • A
    license
    B
    quality
    C
    maintenance
    Playwright-powered MCP server for LinkedIn that automates jobs, profile edits, messaging, network actions, and feed posts using a real logged-in browser session.
    36
    Apache 2.0

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