经 AI Skill Hub 精选评估,linkedin-mcp-server MCP工具 获评「强烈推荐」。已获得 1.9k 颗 GitHub Star,这款MCP工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.2 分,适合有一定技术背景的用户使用。
linkedin-mcp-server MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
linkedin-mcp-server MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/stickerdaniel/linkedin-mcp-server
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"linkedin-mcp-server-mcp--": {
"command": "npx",
"args": ["-y", "linkedin-mcp-server"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 linkedin-mcp-server MCP工具 执行以下任务... Claude: [自动调用 linkedin-mcp-server MCP工具 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"linkedin-mcp-server_mcp__": {
"command": "npx",
"args": ["-y", "linkedin-mcp-server"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
<p align="left"> <a href="https://pypi.org/project/mcp-server-linkedin/" target="_blank"><img src="https://img.shields.io/pypi/v/mcp-server-linkedin?color=blue" alt="PyPI"></a> <a href="https://github.com/stickerdaniel/linkedin-mcp-server/actions/workflows/ci.yml" target="_blank"><img src="https://github.com/stickerdaniel/linkedin-mcp-server/actions/workflows/ci.yml/badge.svg?branch=main" alt="CI Status"></a> <a href="https://github.com/stickerdaniel/linkedin-mcp-server/actions/workflows/release.yml" target="_blank"><img src="https://github.com/stickerdaniel/linkedin-mcp-server/actions/workflows/release.yml/badge.svg?branch=main" alt="Release"></a> <a href="https://github.com/stickerdaniel/linkedin-mcp-server/blob/main/LICENSE" target="_blank"><img src="https://img.shields.io/badge/License-Apache%202.0-%233fb950?labelColor=32383f" alt="License"></a> </p>
Give your AI agents access to LinkedIn through your own browser session. Read profiles, research companies, find jobs, and manage conversations and connection requests.
This is an independent open-source project, not affiliated with LinkedIn or Microsoft. LinkedIn is a trademark of LinkedIn Corporation, used here only to identify the service this software interacts with.
<br/> <details open> <summary><strong>LinkedIn MCP Sponsor</strong></summary> <br/> <a href="https://cadenza.page/?utm_source=github&utm_medium=readme&utm_campaign=oss_sponsor&utm_content=banner" target="_blank"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://github.com/user-attachments/assets/e7dc04a7-4b2c-4f8f-bffa-77895f02a9b4"> <img src="https://github.com/user-attachments/assets/8b8ffaf4-ac80-4943-bb14-88562d636a35" alt="Cadenza, hosted LinkedIn MCP for your AI assistant" width="100%"> </picture> </a>
Prefer not to run a server? Cadenza is the hosted LinkedIn MCP server for your agents, on web, desktop, and mobile, with 100+ actions across LinkedIn Classic, Sales Navigator, and Recruiter. Request limits are built in, with per-minute and daily budgets you can fine-tune for each action.
Use code <strong>FOUNDING20</strong> for 20% off your first year. <a href="https://cadenza.page/?utm_source=github&utm_medium=readme&utm_campaign=oss_sponsor&utm_content=cta">Try Cadenza →</a>
<br/>
<a href="https://golink.onl/unipile-banner" target="_blank"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://github.com/user-attachments/assets/c2e7f3b4-6812-4f28-8728-10f882a44e0e"> <img src="https://github.com/user-attachments/assets/89ab8932-ae79-41c2-8416-a699e924218b" alt="Unipile, one API for every LinkedIn feature" width="100%"> </picture> </a>
This MCP server is supported by Unipile. Unipile is the fully managed cloud option for developers: a hosted LinkedIn API for Classic, Sales Navigator, and Recruiter that handles auth, sessions, and infrastructure for you.
Try Unipile free for 7 days → </details>
---
<a id="installation-methods"></a>
uv sync uv sync --group dev
| Tool | Description |
|---|---|
get_person_profile | Read profile sections such as experience, education, skills, projects, and posts. |
get_my_profile | Read your own profile, with the same section selection as other profiles. |
connect_with_person | Send a connection request with an optional note, or accept an incoming one. |
get_sidebar_profiles | Find recommended profile links, including people you may know. |
get_inbox | List recent inbox conversations, with links to open individual threads. |
get_conversation | Read a conversation's messages using a LinkedIn username or thread ID. |
search_conversations | Search messages by keyword and return links to matching conversation threads. |
send_message | Send after confirmation; profile targets may open a new DM ([#483](https://github.com/stickerdaniel/linkedin-mcp-server/issues/483)). |
get_company_profile | Read company information, with optional sections for posts and open jobs. |
get_company_posts | Read recent posts from a company's feed, with links to the original posts. |
search_companies | Find companies by keyword and return links to their LinkedIn profiles. |
get_company_employees | Find company employees, optionally filtered by name, title, or skill. |
search_jobs | Find job postings by keyword and location, with job IDs for reading details. |
get_saved_jobs | List your saved job postings, with job IDs for looking up their details. |
search_people | Find people by keyword, location, connection degree, and current company. |
get_job_details | Read a job posting's description, requirements, and company details. |
get_job_apply_url | Check whether a job uses Easy Apply or links to an employer's application. |
get_feed | Read recent posts from your home feed, with links to the original posts. |
search_posts | Search posts by keyword, optionally limited to the past day, week, or month. |
close_session | Close the shared browser session without deleting your saved login. |
<br/> <br/>
Prerequisites: Install uv.
Add to your MCP client's mcpServers configuration
{
"mcpServers": {
"mcp-server-linkedin": {
"command": "uvx",
"args": ["mcp-server-linkedin@latest"],
"env": { "UV_HTTP_TIMEOUT": "300" }
}
}
}
The @latest tag turns on automatic updates, which keep the server working with LinkedIn's current page structure. The server starts quickly and prepares the shared Patchright Chromium browser cache in the background under ~/.linkedin-mcp/patchright-browsers. On the first tool call that needs authentication, it reuses a LinkedIn session from a signed-in local browser if it finds one, and otherwise opens a LinkedIn login browser window.
AI agent? Get a quick confirmation from the user before enabling automatic updates.
[!NOTE] Early tool calls may return a setup/authentication-in-progress error until browser setup or login finishes. If you prefer to create a session explicitly, run uvx mcp-server-linkedin@latest --login.
<details> <summary><b>🔧 Configuration</b></summary>
<details> <summary>Transport modes</summary>
stdio</details>
<details> <summary>CLI options</summary>
Session:
--login - Open a browser to sign in and save the session--import-from-browser [BROWSER] - Reuse a session from a locally signed-in Chromium browser (chrome, chromium, brave, edge, arc, vivaldi, helium, yandex, whale, coccoc, opera, opera_gx, auto). Bare flag picks auto, the most recently used browser with a live LinkedIn session.--auto-import / --no-auto-import - Import a session from a signed-in local browser on the first tool call that needs one, before falling back to manual login (default: on). Skipped in Docker, behind a proxy, and on a non-loopback HTTP bind. On macOS the keychain may prompt once.--logout - Clear the stored session--login-viewer - Docker only: show the --login browser at a token-protected URL on port 6080 (see Authentication)--user-data-dir PATH - Browser profile directory (default: ~/.linkedin-mcp/profile). Rotating or clearing a session deletes this directory and its parent, which holds the stored cookies and derived profiles.--claim-profile-root - Take over a profile directory the server will not claim on its own, such as one whose parent already holds other files. Needed once per directory.Transport:
--transport {stdio,streamable-http} - Force the transport mode (default: stdio)--host HOST / --port PORT / --path PATH - HTTP server address (defaults: 127.0.0.1, 8000, /mcp)Timeouts:
--timeout MS - Timeout for a single page operation (default: 5000)--tool-timeout SECONDS - Timeout for a whole tool call (default: 180). Raise it for calls that read many pages, slow networks, or a cold-start browser.--login-timeout SECONDS - How long the login browser waits for you to finish signing in (default: 1800; 0 = no limit). --login-viewer ends the session after 30 minutes either way.--login-inline-wait SECONDS - How long a tool call waits for a login to finish before telling the model to retry (default: 25, max 45; 0 = return at once)Shared browser:
--browser-wait SECONDS - How long to wait for another server process to hand over the shared browser (default: 25, max 45; 0 = report busy at once). Only matters with several MCP clients running at once.--browser-min-hold SECONDS - Shortest time this process keeps the shared browser before handing it over (default: 20). Clamped to 3 seconds below --browser-wait, so raise that one along with it. Higher means fewer browser restarts but longer waits for other clients.--browser-idle-timeout SECONDS - Close an idle browser and release the profile after this long without a tool call (default: 600; 0 = keep it open)Browser:
--no-headless - Show the browser window (useful for debugging)--chrome-path PATH - Path to a Chrome/Chromium executable--proxy-server URL - Route browser traffic through a proxy, as scheme://host:port. Set it up before --login; see Using a proxy.Other:
--log-level {DEBUG,INFO,WARNING,ERROR} - Logging level (default: WARNING)</details>
<details> <summary>Import a session from your everyday browser</summary>
If you are already signed into LinkedIn in Chrome, Chromium, Brave, Edge, Arc, Vivaldi, Helium, Yandex, Naver Whale, Cốc Cốc, Opera, or Opera GX, you can skip the manual --login step and reuse that session:
```bash
.mcpb artifact from releases.mcpb file to install it into Claude DesktopOn startup, the MCP Bundle prepares the shared Patchright Chromium browser cache in the background. On the first tool call that needs authentication, the server reuses a LinkedIn session from a signed-in local browser if it finds one, and otherwise opens a LinkedIn login browser window.
[!NOTE] Early tool calls may return a setup/authentication-in-progress error until browser setup or login finishes. Retry the tool call once the browser download or sign-in completes.
<details> <summary><b>❗ Troubleshooting</b></summary>
<details> <summary>First-time setup behavior</summary>
~/.linkedin-mcp/patchright-browsers/~/.linkedin-mcp/patchright-browsers/, and let the next launch download the current browser.DLL load failed while importing _greenlet: install the Microsoft Visual C++ Redistributable, or reinstall a bundle pinning greenlet 3.5.5 or newer, whose published Windows wheels carry the C++ runtime inside the extension again. A bundle pinning greenlet 3.3.1 through 3.5.4 needs MSVCP140.dll from that redistributable, which neither the python.org installer nor the uv-managed builds carry, and a greenlet built from source can need it at any version. The server names this itself on startup, and only after checking that the loader cannot produce that DLL. Reported as greenlet#525, fixed in greenlet#526.</details>
<details> <summary>Login issues</summary>
--loginuvx mcp-server-linkedin@latest --login which opens a browser where you can solve captchas manually. See the uvx setup for prerequisites.</details>
<details> <summary>Timeout issues</summary>
--timeout 10000 or TIMEOUT=10000 (milliseconds, default 5000).--tool-timeout 300 or TOOL_TIMEOUT=300 (seconds, default 180).AUTO_IMPORT_FROM_BROWSER / --auto-import) instead of forcing a manual login. On macOS the keychain may prompt once for Safe Storage access. If no importable browser session exists, it falls back to opening a login window and waits up to LOGIN_INLINE_WAIT seconds (default 25, max 45; --login-inline-wait) so a quick sign-in resolves in one call. If the wait elapses, the tool returns a pending signal and the model retries in about 30 seconds. Neither the auto-import nor the inline wait applies under Docker or when the server is bound to a non-loopback HTTP host. Create the session on the host with --login, or use the explicit Docker --login --login-viewer command.</details>
<details> <summary>Told to run <code>--login</code> on the host when you already did</summary>
LINKEDIN_MCP_CONTAINER=false to override the detection; true forces the opposite.</details>
</details>
<br/> <br/>
Run in a terminal
codex plugin marketplace add stickerdaniel/linkedin-mcp-server
codex plugin add linkedin-mcp-server@linkedin-mcp-server
The plugin runs the latest server release. On the first tool call that needs authentication, the server reuses a LinkedIn session from a signed-in local browser or opens a login window.
[!NOTE] Early tool calls may return a setup/authentication-in-progress error until browser setup or login finishes. Retry the tool call once the browser download or sign-in completes.
<br/> <br/>
Run in a terminal
claude plugin marketplace add stickerdaniel/linkedin-mcp-server
claude plugin install linkedin-mcp-server@linkedin-mcp-server
The plugin runs the latest server release. On the first tool call that needs authentication, the server reuses a LinkedIn session from a signed-in local browser or opens a login window.
[!NOTE] Early tool calls may return a setup/authentication-in-progress error until browser setup or login finishes. Retry the tool call once the browser download or sign-in completes.
<br/> <br/>
From the Cursor Marketplace: open Customize in the sidebar, search for LinkedIn MCP, and choose Install. The plugin bundles the LinkedIn skill.
One-click MCP install (server only, without the skill):
Both run the latest server release. On the first tool call that needs authentication, the server reuses a LinkedIn session from a signed-in local browser or opens a login window.
[!NOTE] Early tool calls may return a setup/authentication-in-progress error until browser setup or login finishes. Retry the tool call once the browser download or sign-in completes.
<br/> <br/>
<details> <summary><strong>I know what I'm doing</strong></summary>
Prerequisites: Make sure Docker is installed and running.
<details> <summary><b>🔧 Configuration</b></summary>
<details> <summary>Transport modes</summary>
stdio</details>
<details> <summary>CLI options</summary>
Session:
--auto-import / --no-auto-import - Import a session from a signed-in local browser on the first tool call that needs one, before falling back to manual login (ignored in Docker). On macOS the keychain may prompt once.--logout - Clear the stored session and every profile derived from it--login-viewer - With --login, show the login browser at a token-protected URL on port 6080. Needs the profile mount from Authentication.--user-data-dir PATH - Browser profile directory (default: ~/.linkedin-mcp/profile). Rotating or clearing a session deletes this directory and its parent, which holds the stored cookies and derived profiles.--claim-profile-root - Take over a profile directory the server will not claim on its own, such as one whose parent already holds other files. Needed once per directory.Transport:
--transport {stdio,streamable-http} - Force the transport mode (default: stdio)--host HOST / --port PORT / --path PATH - HTTP server address (defaults: 127.0.0.1, 8000, /mcp)Timeouts:
--timeout MS - Timeout for a single page operation (default: 5000)--tool-timeout SECONDS - Timeout for a whole tool call (default: 180). Raise it for calls that read many pages, slow networks, or a cold-start browser.--login-timeout SECONDS - How long the login browser waits for you to finish signing in (default: 1800; 0 = no limit). --login-viewer ends the session after 30 minutes either way.--login-inline-wait SECONDS - How long a tool call waits for a login to finish before telling the model to retry (default: 25, max 45; 0 = return at once)Shared browser:
--browser-wait SECONDS - How long to wait for another server process to hand over the shared browser (default: 25, max 45; 0 = report busy at once). Only matters with several MCP clients running at once.--browser-min-hold SECONDS - Shortest time this process keeps the shared browser before handing it over (default: 20). Clamped to 3 seconds below --browser-wait, so raise that one along with it. Higher means fewer browser restarts but longer waits for other clients.--browser-idle-timeout SECONDS - Close an idle browser and release the profile after this long without a tool call (default: 600; 0 = keep it open)Browser:
--chrome-path PATH - Path to a Chrome/Chromium executable (rarely needed in Docker)--proxy-server URL - Route browser traffic through a proxy, as scheme://host:port. Set it up before --login; see Using a proxy.Other:
--log-level {DEBUG,INFO,WARNING,ERROR} - Logging level (default: WARNING)[!NOTE] Plain--loginstill has no visible window in Docker. Add--login-viewerand publish127.0.0.1:6080:6080only for the one-shot login command. Docker is already headed by default, so--no-headlesschanges nothing. The experimental--daemonis ignored in Docker because its owner can outlive the virtual display.
</details>
<details> <summary>HTTP mode</summary>
HTTP Mode Example (for web-based MCP clients):
Bash / macOS / Linux:
docker run -it --rm \
-v ~/.linkedin-mcp:/home/pwuser/.linkedin-mcp \
-p 127.0.0.1:8080:8080 \
stickerdaniel/linkedin-mcp-server:latest \
--transport streamable-http --host 0.0.0.0 --port 8080 --path /mcp
PowerShell (Windows):
$sessionDir = Join-Path $env:USERPROFILE ".linkedin-mcp"
docker run -it --rm `
-v "${sessionDir}:/home/pwuser/.linkedin-mcp" `
-p 127.0.0.1:8080:8080 `
stickerdaniel/linkedin-mcp-server:latest `
--transport streamable-http --host 0.0.0.0 --port 8080 --path /mcp
Both halves of that are needed, and they do different jobs. --host 0.0.0.0 makes the server reachable inside the container: a process bound to 127.0.0.1 in there cannot be reached through a published port at all. The 127.0.0.1: in front of -p is what limits it outside, to this machine. Drop that prefix and Docker publishes on every interface, which puts an endpoint with no authentication on your network. The server cannot tell the two apart, so it warns either way.
Loopback publishing limits this to the machine, not to the container. Other containers on the same host can still reach it through host.docker.internal wherever that name resolves, which is the default on Docker Desktop and OrbStack but not on native Linux Docker.
Runtime server logs are emitted by FastMCP/Uvicorn.
The HTTP server answers requests addressed to localhost or to the address it is bound to, and refuses others with 421. That is what stops a website you merely visit from pointing a domain at this server and using your LinkedIn session through your own browser.
Reaching the server by any other name is refused, including a machine name on your network and the public name in front of a reverse proxy. Either have the proxy rewrite the upstream Host to the backend address, or name the host you serve it under:
FASTMCP_HTTP_ALLOWED_HOSTS='["mcp.example"]'
That permits exactly that name and keeps refusing everything else. The endpoint still has no authentication, so anything reachable beyond your own machine belongs behind something that provides it.
Test with mcp inspector:
@modelcontextprotocol/inspectorStreamable HTTP as Transport TypeURL to http://localhost:8080/mcp</details>
</details>
<details> <summary><b>❗ Troubleshooting</b></summary>
<details> <summary>Docker issues</summary>
docker ps~/.linkedin-mcp: an older rootful Docker run may have created the directory as root. Fix it with sudo chown -R "$(id -u):$(id -g)" ~/.linkedin-mcp.</details>
<details> <summary>Login issues</summary>
--loginuvx mcp-server-linkedin@latest --login which opens a browser where you can solve captchas manually. See the uvx setup for prerequisites.</details>
<details> <summary>Timeout issues</summary>
--timeout 10000 or TIMEOUT=10000 (milliseconds, default 5000).--tool-timeout 300 or TOOL_TIMEOUT=300 (seconds, default 180).AUTO_IMPORT_FROM_BROWSER / --auto-import) instead of forcing a manual login. On macOS the keychain may prompt once for Safe Storage access. If no importable browser session exists, it falls back to opening a login window and waits up to LOGIN_INLINE_WAIT seconds (default 25, max 45; --login-inline-wait) so a quick sign-in resolves in one call. If the wait elapses, the tool returns a pending signal and the model retries in about 30 seconds. Neither the auto-import nor the inline wait applies under Docker or when the server is bound to a non-loopback HTTP host. Create the session on the host with --login, or use the explicit Docker --login --login-viewer command.</details>
<details> <summary>Told to run <code>--login</code> on the host when you already did</summary>
LINKEDIN_MCP_CONTAINER=false to override the detection; true forces the opposite.</details>
<details> <summary>Custom Chrome path</summary>
--chrome-path /path/to/chromeCHROME_PATH=/path/to/chrome--login, which moves the stored session aside and signs in fresh with the browser you have. --logout also clears it but discards the old session instead of keeping it recoverable, and it asks for confirmation on the terminal, so it is not usable from a server an MCP client started.CHROME_PATH at one turns the check off rather than producing a refusal nothing could satisfy.--login; it derives its own from your cookies, and by default rebuilds that from scratch on every start, so there is nothing for an older image to downgrade. With EXPERIMENTAL_PERSIST_DERIVED_RUNTIME the derived profile is kept, and an image tag that moves backwards then throws it away and re-derives it, again with nothing for you to do. The check matters on the host, where the server opens that profile directly. Not during --login itself, which moves the old profile aside before it starts a browser and so can never trip it.</details>
</details>
</details>
<br/> <br/>
<details> <summary><b>🔧 Configuration</b></summary>
--login. Moving an existing session to a new address triggers a LinkedIn checkpoint. That includes a session from --import-from-browser, which was created on your real address.--proxy-server scheme://host:port or PROXY_SERVER, with http, https, socks4 or socks5. Only browser traffic is routed, not the MCP transport.PROXY_USERNAME and PROXY_PASSWORD, or include them in PROXY_SERVER using the combined http://user:pass@host:port form. The combined form is not accepted by the --proxy-server CLI option.PROXY_BYPASS=localhost,127.0.0.1,::1 reaches local targets directly. With a proxy set, Chromium routes localhost through it too.</details>
<details> <summary><b>❗ Troubleshooting</b></summary>
http(s) endpoint. If your provider only offers authenticated SOCKS5, run a local relay that holds the credentials and point the server at that.--login.127.0.0.1 is the container itself, so a relay on the host is host.docker.internal; native Linux Docker also needs --add-host=host.docker.internal:host-gateway.</details>
<br/> <br/>
Contributions are welcome. See CONTRIBUTING.md for architecture guidelines and checklists. Search existing issues first, then use the issue forms for anything new. AI agents follow the issue-packet skill.
Run in a terminal
```bash
curl -LsSf https://astral.sh/uv/install.sh | sh
uv run pre-commit install
<details> <summary><b>🔧 Configuration</b></summary>
<details> <summary>CLI options</summary>
Session:
--login - Open a browser to sign in and save the session--import-from-browser [BROWSER] - Reuse a session from a locally signed-in Chromium browser (chrome, chromium, brave, edge, arc, vivaldi, helium, yandex, whale, coccoc, opera, opera_gx, auto). Bare flag picks auto, the most recently used browser with a live LinkedIn session.--auto-import / --no-auto-import - Import a session from a signed-in local browser on the first tool call that needs one, before falling back to manual login (default: on). Skipped in Docker, behind a proxy, and on a non-loopback HTTP bind. On macOS the keychain may prompt once.--status - Check whether the stored session is valid, then exit--logout - Clear the stored session--user-data-dir PATH - Browser profile directory (default: ~/.linkedin-mcp/profile). Rotating or clearing a session deletes this directory and its parent, which holds the stored cookies and derived profiles.--claim-profile-root - Take over a profile directory the server will not claim on its own, such as one whose parent already holds other files. Needed once per directory.Transport:
--transport {stdio,streamable-http} - Force the transport mode (default: stdio)--host HOST / --port PORT / --path PATH - HTTP server address (defaults: 127.0.0.1, 8000, /mcp)Timeouts:
--timeout MS - Timeout for a single page operation (default: 5000)--tool-timeout SECONDS - Timeout for a whole tool call (default: 180). Raise it for calls that read many pages, slow networks, or a cold-start browser.--login-timeout SECONDS - How long the login browser waits for you to finish signing in (default: 1800; 0 = no limit). --login-viewer ends the session after 30 minutes either way.--login-inline-wait SECONDS - How long a tool call waits for a login to finish before telling the model to retry (default: 25, max 45; 0 = return at once)Shared browser:
--browser-wait SECONDS - How long to wait for another server process to hand over the shared browser (default: 25, max 45; 0 = report busy at once). Only matters with several MCP clients running at once.--browser-min-hold SECONDS - Shortest time this process keeps the shared browser before handing it over (default: 20). Clamped to 3 seconds below --browser-wait, so raise that one along with it. Higher means fewer browser restarts but longer waits for other clients.--browser-idle-timeout SECONDS - Close an idle browser and release the profile after this long without a tool call (default: 600; 0 = keep it open)Browser:
--no-headless - Show the browser window (useful for debugging)--slow-mo MS - Delay between browser actions (default: 0, useful for debugging)--viewport WxH - Viewport size (default: 1280x720). Applies to windowless mode only; a headed launch uses the real window size.--chrome-path PATH - Path to a Chrome/Chromium executable--installer-temp-dir PATH - Existing directory for browser installation temporary files (environment: INSTALLER_TEMP_DIR).--proxy-server URL - Route browser traffic through a proxy, as scheme://host:port. Set it up before --login; see Using a proxy.Other:
--log-level {DEBUG,INFO,WARNING,ERROR} - Logging level (default: WARNING)--help - Show helpNote: Most CLI options have environment variable equivalents. See .env.example for details.
</details>
<details> <summary>HTTP mode and Claude Desktop</summary>
HTTP Mode Example (for web-based MCP clients):
uv run -m linkedin_mcp_server --transport streamable-http --host 127.0.0.1 --port 8000 --path /mcp
Claude Desktop:
{
"mcpServers": {
"mcp-server-linkedin": {
"command": "uv",
"args": ["--directory", "/path/to/linkedin-mcp-server", "run", "-m", "linkedin_mcp_server"]
}
}
}
stdio is used by default for this config.
</details>
</details>
<details> <summary><b>❗ Troubleshooting</b></summary>
<details> <summary>Login issues</summary>
--login--login command opens a browser where you can solve it manually.</details>
<details> <summary>Tool issues</summary>
--no-headless to watch the browser when a tool returns wrong or missing data--log-level DEBUG to see more detailed logging</details>
<details> <summary>Session issues</summary>
~/.linkedin-mcp/profile/~/.linkedin-mcp/patchright-browsers/, shared with the uvx and MCP Bundle installationsuv archive or a second worktree is such a reference. The server logs a warning naming what it holds. To reclaim the space, stop every LinkedIn MCP Server instance, delete ~/.linkedin-mcp/patchright-browsers/, and let the next launch download the current browser.--logout to clear the profile and start fresh</details>
<details> <summary>Python/Patchright issues</summary>
python --version (should be 3.12.4+)uv run patchright install chromiumuv sync --reinstall</details>
<details> <summary>Timeout issues</summary>
--timeout 10000 or TIMEOUT=10000 (milliseconds, default 5000).--tool-timeout 300 or TOOL_TIMEOUT=300 (seconds, default 180).AUTO_IMPORT_FROM_BROWSER / --auto-import) instead of forcing a manual login. On macOS the keychain may prompt once for Safe Storage access. If no importable browser session exists, it falls back to opening a login window and waits up to LOGIN_INLINE_WAIT seconds (default 25, max 45; --login-inline-wait) so a quick sign-in resolves in one call. If the wait elapses, the tool returns a pending signal and the model retries in about 30 seconds. Neither the auto-import nor the inline wait applies under Docker or when the server is bound to a non-loopback HTTP host. Create the session on the host with --login, or use the explicit Docker --login --login-viewer command.</details>
<details> <summary>Told to run <code>--login</code> on the host when you already did</summary>
LINKEDIN_MCP_CONTAINER=false to override the detection; true forces the opposite.</details>
<details> <summary>Custom Chrome path</summary>
--chrome-path /path/to/chromeCHROME_PATH=/path/to/chrome--login, which moves the stored session aside and signs in fresh with the browser you have. --logout also clears it but discards the old session instead of keeping it recoverable, and it asks for confirmation on the terminal, so it is not usable from a server an MCP client started.CHROME_PATH at one turns the check off rather than producing a refusal nothing could satisfy.</details>
</details>
<br/> <br/>
[!IMPORTANT] FAQ Is this safe to use? Will I get banned? This tool controls a real browser session; it doesn't exploit undocumented APIs or bypass authentication. LinkedIn's User Agreement prohibits automated access, and accounts using automated tools can be restricted or banned. Use at your own risk; there is no guarantee of account safety. If you encounter any issues, let me know in the Discussions. What if my agents execute too many actions? Tool calls run sequentially through a queue. You are responsible for the volume of automation you run; use it sparingly and prompt your agents responsibly.
高质量MCP集成方案,架构清晰维护活跃,1.9k星证明社区认可度高,对AI代理生态贡献显著。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。
AI Skill Hub 点评:linkedin-mcp-server MCP工具 的核心功能完整,质量优秀。对于Claude Desktop / Claude Code 用户来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | linkedin-mcp-server |
| 原始描述 | 开源MCP工具:Open-source MCP server for LinkedIn. Give Claude and any MCP-compatible AI assis。⭐1.9k · Python |
| Topics | MCP服务LinkedIn集成AI代理Claude插件Python开发 |
| GitHub | https://github.com/stickerdaniel/linkedin-mcp-server |
| License | Apache-2.0 |
| 语言 | Python |
收录时间:2026-05-14 · 更新时间:2026-05-16 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端