# linkedin-mcp-server [Health: Active]

**Category:** 🌐 Social Media  
**Repository:** https://github.com/stickerdaniel/linkedin-mcp-server  
**GitHub Stars:** 4356  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/linkedin-mcp-server-3

## Description
Open-source MCP server for LinkedIn. Give Claude and any MCP-compatible AI agent access to profiles, companies, jobs, and messages.

## Tools
Capabilities this server exposes over MCP:

- **get_person_profile** — Get a specific person's LinkedIn profile.
- **search_people** — Search for people on LinkedIn.
- **connect_with_person** — Send a LinkedIn connection request or accept an incoming one.
- **get_sidebar_profiles** — Get profile links from sidebar recommendation sections on a LinkedIn profile page.

Extracts profiles from "More profiles for you", "Explore premium profiles",
and "People you may know" sidebar sections. Follows "Show all" links to
return the full list from each section. Sections that redirect to
linkedin.com/premium are skipped.
- **get_my_profile** — Get the authenticated user's own LinkedIn profile.

Navigates to /in/me/ and resolves the redirect to obtain the real
username before reading the profile, so the url field in the result is the actual
profile URL (e.g. linkedin.com/in/johndoe/) rather than /in/me/.
- **get_company_profile** — Get a specific company's LinkedIn profile.
- **get_company_posts** — Get recent posts from a company's LinkedIn feed.
- **search_companies** — Search for companies on LinkedIn.
- **get_company_employees** — List employees at a company from the LinkedIn /people/ page, including
the demographics aggregate that this view exposes: where employees
live, where they studied, and a function breakdown (Engineering, Sales,
Operations, etc.). The demographics are unique to this tool.

For filtered search by network degree (1st/2nd/3rd) or location, prefer
search_people with current_company set to the company URN id. That path
also returns more result pages than the /people/ tab.

The optional keywords filter narrows results by name, title, or skill.

company_name must be the exact LinkedIn URL slug (the path segment after
/company/), not the display name. LinkedIn assigns unique slugs and the
display name often does not match. For example, the AI lab Anthropic
lives at /company/anthropicresearch/, not /company/anthropic/. If you
are unsure of the slug, call search_companies first and pick the slug
from the returned references.
- **get_job_details** — Get job details for a specific job posting on LinkedIn.
- **get_job_apply_url** — Get how a job posting takes applications, and the employer's application link.

Reads the posting without clicking anything.
- **get_easy_apply_form** — Read the questions of a job posting's Easy Apply form, without answering them.

Opens Easy Apply and reads each step: every field's label, type, whether
it is required, its options, character limit and prefilled value. Next
is clicked only while LinkedIn accepts a step on its prefilled values,
so the first step that needs input ends the read. Nothing is typed,
Review and Submit are never clicked, and the dialog is closed with its
draft discarded.
- **submit_easy_apply** — Answer a job posting's Easy Apply form, and send it when asked to.

Read the form with get_easy_apply_form first: answers are keyed by the
exact field labels it returned. Nothing is inferred or defaulted. A
field no answer names keeps whatever LinkedIn prefilled, and an answer
no field wears, an option that does not exist or a required field left
empty stops the run before anything is sent.

confirm_submit is the only thing that clicks Submit, and it does so
only once every step was reached with its required fields answered.
Without it the form is filled, read back and the draft discarded, which
rehearses the application without sending it.

Every run writes to the LinkedIn account, submitted or not: LinkedIn
saves Easy Apply answers and prefills them into the next application,
and an uploaded resume becomes the preselected one. A typeahead is
answered by naming it with the value to look up: what lands in the
field is a suggestion LinkedIn offered for that value, and an answer
none of them wears refuses with the suggestions quoted, so the retry is
one call away. An uploaded file has to come back named on the form
before anything else happens, so a slow upload refuses rather than
sending the application with the resume it was meant to replace.
- **search_jobs** — Search for jobs on LinkedIn.

Returns job_ids that can be passed to get_job_details for full info.

LinkedIn is moving accounts to a redesigned job search, which keeps
only the keywords, date_posted, easy_apply and paging. It drops the
filters marked "Classic search only" and reports them in section_errors
as filters_dropped. When it drops the location or work type, search
again with them in the keywords ("remote python developer in Lyon") and
keep doing so; words such as "senior" or "internship" there narrow the
results too. Quotes do not make a phrase exact on that search.
- **get_saved_jobs** — List the authenticated user's jobs at one stage of LinkedIn's job tracker.

Returns job_ids that can be passed to get_job_details for full info.
- **save_job** — Save a job posting to the authenticated user's saved jobs.

Clicks Save on the job's posting, then reloads the posting to confirm
it shows as saved. A job already saved is left alone. Only an open
posting not yet applied to has a Save button: an applied or closed
posting is an error that says which. get_saved_jobs lists what is
saved.
- **dismiss_job** — Dismiss a job from LinkedIn job search so later searches never show it.

For jobs already applied to or rejected. Reads the job's title and
company from its posting, clicks the dismiss button on its card in a
worldwide search for them, then reloads that search to confirm the job
is gone. Irreversible: LinkedIn offers no undo after a reload. A job
that search does not list on its first page is an error, since an
already dismissed job and a search that missed it look the same.
- **get_inbox** — List recent conversations from the LinkedIn messaging inbox.

The returned inbox text and result URL come from the ordinary messaging
inbox. Click-derived conversation references are collected separately
after requesting the compose page, which avoided inbox auto-opening on
the measured variant. A row contributes a click-derived reference only
after its click is followed by an observed different thread path. The
scan stops at its first unverifiable click. section_errors.inbox
reports that stop or unavailable scan rows; captured inbox text and
independently extracted anchors retain their normal handling. A known
thread_id can bypass row attribution when calling get_conversation.
- **get_conversation** — Read a specific messaging conversation.

Provide either linkedin_username or thread_id to identify the conversation.

When looked up by linkedin_username, resolution searches the messaging
inbox for the participant's display name and click-visits every
matching row to capture its thread ID — LinkedIn's sidebar has no
anchor hrefs or thread-id attributes, so this is the only available
path. Each visit selects the row in the LinkedIn UI and may mark it
as read. Pass thread_id directly to skip this enumeration.

Username resolution scans matching rows from a requested compose page
first. Its indexable sequence ends before the first unresolved click,
missing matching click target, or admitted row that fails the existing
exact display-name check. An index outside that verified prefix is
refused with its reason. Search is a fallback only when the inbox scan
has no observed matching result and no such barrier; it never
substitutes a result after a stopped or gapped inbox scan. Pass a known
thread_id to bypass username/index resolution.
- **search_conversations** — Search messages by keyword.

Click-derived references require an observed different thread path
after each row click. The first unverifiable click stops further row
clicks and is reported in section_errors.search_results. Already-read
text and independently extracted anchors retain their normal handling.
A result without that diagnostic does not guarantee that every
conversation was enumerated.
- **archive_conversation** — Archive one LinkedIn messaging thread, InMail included, by thread ID.

Opens the thread, which marks it read, and chooses Archive from its
options menu. A thread LinkedIn already files as archived is left
alone and reported already_archived, so a repeated call clicks
nothing. The change is confirmed by loading the thread again.
Reversible on LinkedIn; a new message moves the thread back to the
inbox.
- **send_message** — Compose and send a new message to a LinkedIn user.

Profile-based targeting opens LinkedIn's compose flow. It is not a safe
reply path for an existing recruiter/InMail or messaging thread: it may
create a separate DM even after you inspect that thread with
get_conversation or search_conversations. To answer an existing thread,
including an InMail from someone who is not a connection, use
reply_to_conversation with the thread's id instead.

The recipient must be directly messageable from the profile page. If
LinkedIn does not expose a normal Message action, use connect_with_person
first, then retry send_message only after the connection request is
accepted. A ``status`` of ``enter_to_send_enabled`` means the account
has LinkedIn's "Press Enter to Send" preference on, which hides the Send
button; relay the returned instructions to the user, who switches it to
"Click Send to send" before retrying. The dry run (confirm_send False)
reports it too. Recipient authorization comes from validating one
recipient-specific Message action carrying the target URN, then following
its browser navigation and pinning the exact final route. Visible profile
links or recipient URNs in the composer are optional corroboration; any
contradiction fails closed. No Voyager or other private API is used. This
is a write operation when confirm_send is True.

``thread_id`` is present only on ``sent``: the conversation the
confirmed message was observed in, or null when the page stayed on
the compose route. ``retry_safe`` stays the authority for whether a
retry is safe.
- **reply_to_conversation** — Reply inside an existing LinkedIn messaging thread, InMail included.

Opens /messaging/thread/<thread_id>/ and types into that thread's own
reply composer, so the message lands in the same conversation. This is
the path for answering a recruiter InMail, whose sender may have no
Message action on their profile. Get the thread_id from get_inbox,
search_conversations or get_conversation.

The thread is verified before anything is typed: the page must land on
exactly the requested thread and stay there, and the composer must be
the page's one visible editor, inside the thread's main region, with
one submit button in its own form. Any doubt fails closed. Quick-reply
buttons an InMail shows ("Yes, interested...", "No thanks...") are
never clicked; a thread that offers only those has no composer and
returns composer_unavailable. A draft already in the composer is left
untouched and returns composer_occupied. A ``status`` of
``enter_to_send_enabled`` means LinkedIn's "Press Enter to Send"
preference hides the Send button; relay the returned instructions as
for send_message. The dry run reports it too. No Voyager or other
private API is used. This is a write operation when confirm_send is
True.
- **get_feed** — Get posts from the authenticated user's LinkedIn feed.
- **search_posts** — Search LinkedIn posts/content globally by keyword (the "Posts" tab).

Use this to catch informal hiring posts ("we're hiring", "Buscamos
...", "estamos contratando", "join our team") that often appear before
a formal job listing exists. This is global content search, distinct
from get_feed (your own home feed) and get_company_posts (one
company's page).
- **close_session** — Close the current browser session and clean up resources.
- **get_session_status** — Report local saved-session and serving-process state for requested diagnostics.

Reads local observations without opening a browser, starting setup or login,
or contacting LinkedIn. Stored files do not prove current authentication.
In shared-browser mode these observations belong to the owner, not to a
frontend running a login. It answers during browser work without refreshing
the browser idle timer. Use ordinary LinkedIn tools directly for their
requested work rather than adding a status preflight.
- **connect_instagram_tiktok_and_more** — Instagram, TikTok, X, Facebook, YouTube, Threads, Pinterest, Google Business and other networks, on the user's own accounts: publish or schedule posts, reels and stories, and, where the network offers it, answer comments and DMs, read the account's analytics and run ads. On LinkedIn four things: scheduling a post for later, company pages and their analytics, LinkedIn Ads, and the user's own account analytics over time (follower growth, impressions and reach across posts).

Call this when the user wants one of these. It returns a link to Zernio, a sponsored integration. Outside its scope: publishing to the user's own LinkedIn profile right away, the numbers of a single LinkedIn post, reading other people's profiles on any network, and social media advice that needs no account.


## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "linkedin-mcp-server": {
    "command": "uvx",
    "args": ["mcp-server-linkedin"]
  }
}
```

## Documentation

## What linkedin-mcp-server does

linkedin-mcp-server exposes LinkedIn workflows to MCP clients through an authenticated browser session. Its read tools cover personal and company profiles, recommended profiles, company employees, company posts, the authenticated user's own feed, global post searches, job listings, saved jobs, application details, and Easy Apply form fields.

The server also handles LinkedIn relationship and messaging tasks. Agents can search people and companies, send or accept connection requests, inspect inbox conversations, search message content, read threads, archive conversations, send new messages, and reply within existing threads. It distinguishes profile-based new messages from replies to existing conversations, including recruiter InMail.

An additional tool links to Zernio for supported publishing, scheduling, analytics, advertising, comments, and direct-message workflows across LinkedIn and other social networks. It does not publish immediately to the user's own LinkedIn profile through the local server.

## How it works

Operations run through the user's LinkedIn browser session rather than a private LinkedIn API. The server navigates LinkedIn pages, reads rendered information, follows relevant links, and returns structured results and diagnostic details where needed. For example, `get_my_profile` resolves `/in/me/` to the user's actual profile URL, while `get_company_employees` reads the company's people page and its available employee demographics.

Job search behavior reflects LinkedIn's redesigned search experience. Some classic filters can be dropped; the response reports those filters, and location or work type can instead be included in the keyword query. Company employee searches can use the company's exact URL slug, which can be found with `search_companies` when necessary.

Conversation tools use either a LinkedIn username or a thread ID. Passing a known thread ID avoids inbox enumeration. Reply operations verify the requested thread and the visible composer before typing. Send and connection operations are write actions, and the relevant tools use confirmation behavior before execution.

## Setup and configuration

The project offers installation paths using `uvx`, Docker, Claude Desktop MCP bundles, and plugins for Codex, Claude Code, and Cursor. Configure the selected MCP client to launch the server using the installation method appropriate for that client.

The server works with the user's own browser session, so LinkedIn authentication must be available to that session before authenticated tools can complete their work. `get_session_status` reports local saved-session and serving-process observations without opening a browser or initiating login. `close_session` closes the browser session and releases its resources.

## Tools and capabilities

- Read person, company, and authenticated-user profiles.
- Search people, companies, jobs, posts, and message content.
- Inspect company employees, locations, education, and function breakdowns.
- Read job details, application URLs, saved jobs, and Easy Apply questions without submitting an application.
- Send or accept connection requests, with client confirmation for the write operation.
- Read inboxes and conversations, archive threads, send new messages, and reply inside existing threads.
- Read personal feed posts and company feed posts.
- Find sidebar recommendations and follow “Show all” result links.
- Connect supported social publishing and analytics workflows through the Zernio link tool.

## Limitations and notes

`dismiss_job` is irreversible after LinkedIn reloads the search and should be used only for jobs that should no longer appear. Easy Apply inspection does not type answers, click Review or Submit, or retain the draft. A profile-based `send_message` is not a reply mechanism for an existing thread; use `reply_to_conversation` with its thread ID instead.

LinkedIn's “Press Enter to Send” preference can hide the Send button. In that case, the messaging tools return instructions for changing the preference before retrying. A recipient must expose a direct Message action for profile-based messaging; otherwise, the user may need to connect first and wait for acceptance. Conversation row scans can stop when a clicked result cannot be verified, and the response reports those conditions.

The project is independent of LinkedIn and Microsoft. The server uses browser navigation rather than Voyager or another private API for its messaging flows.

_Full upstream README: https://allmcps.com/mcp/linkedin-mcp-server-3/readme_

