Installation Guide¶
One-line install (macOS / Linux)¶
curl -fsSL https://raw.githubusercontent.com/horizonbymuneeb/linkedin-mcp-pro/main/install.sh | bash
One-line install (Windows PowerShell)¶
Both scripts will:
- Verify Python ≥ 3.11
- Install
linkedin-mcp-pro(viapipxif available, otherwisepip --user) - Create
~/.linkedin-mcp/profile/ - Print the config snippet for the most common agents on your OS
Manual install¶
# one-liner (recommended)
curl -fsSL https://raw.githubusercontent.com/horizonbymuneeb/linkedin-mcp-pro/main/install.sh | bash
# or manual install from GitHub:
python3 -m pip install --user "git+https://github.com/horizonbymuneeb/linkedin-mcp-pro.git@v2.0.0"
# or with pipx (recommended):
pipx install "git+https://github.com/horizonbymuneeb/linkedin-mcp-pro.git@v2.0.0"
Then make sure ~/.local/bin is on your PATH:
Verify:
Agent setup¶
Pick the agent(s) you use and run the matching add command. The installer
merges the LinkedIn MCP entry into the agent's config without disturbing
existing servers. Run linkedin-mcp-install list to see all supported agents.
Claude Desktop (macOS)¶
Config: ~/Library/Application Support/Claude/claude_desktop_config.json
Claude Desktop (Linux)¶
Config: ~/.config/Claude/claude_desktop_config.json
Claude Desktop (Windows)¶
Config: %APPDATA%\Claude\claude_desktop_config.json
Claude Code¶
Config: ~/.claude.json
Cursor¶
Config: ~/.cursor/mcp.json. Restart Cursor after install.
Cline (VS Code)¶
Config: ~/.cline/mcp_settings.json.
Continue.dev¶
Config: ~/.continue/config.json.
Windsurf¶
Config: ~/.codeium/windsurf/mcp_config.json.
Zed¶
Config: ~/.config/zed/settings.json (uses context_servers — handled
automatically).
Open WebUI¶
Config: ~/.open-webui/mcp_servers.json.
LibreChat¶
Config: ~/.librechat/librechat.yaml.
LobeChat¶
Config: ~/.lobe-chat/mcp.json.
Cookie setup¶
LinkedIn's API requires a valid li_at session cookie from a logged-in
browser. Get yours with our helper:
https://horizonbymuneeb.github.io/linkedin-mcp-pro/static/cookies.html
Then export it before launching the server:
To persist it, add the line to your shell rc file (~/.bashrc, ~/.zshrc,
or the Windows equivalent).
Verification¶
Run the built-in doctor:
You should see:
python_version≥ 3.11profile_dir_exists=Trueli_at_cookie_present=True(after you export it)- A ✓ next to every agent config that exists on disk
To verify a specific agent:
If the entry is missing, re-run linkedin-mcp-install add <agent> and
restart the host application.
HTTP API¶
When you run the LinkedIn MCP server with HTTP enabled, the install wizard
is also exposed under /api/install:
GET /api/install/doctorGET /api/install/agentsGET /api/install/agents/{agent}/configPOST /api/install/install/{agent}?dry_run=falseDELETE /api/install/uninstall/{agent}GET /api/install/verify/{agent}