Is the LinkedIn MCP server safe? What it can reach
What the LinkedIn MCP server can read, write and delete, how it signs in, and how to limit it in Claude Code and Codex.
LinkedIn has no MCP server in the sources checked, so this covers stickerdaniel/linkedin-mcp-server, the most starred community one. It runs locally and drives a real browser signed in as you. It can read your inbox, send messages and send connection requests. LinkedIn’s terms prohibit automated access, so your account can be restricted.
Who maintains it
| Implementation | Kind | Status |
|---|---|---|
| stickerdaniel/linkedin-mcp-server (community) | Community | active |
It runs as a local process on your machine.
How it signs in
Your own LinkedIn browser session. You sign in once in a browser the server opens, or it imports a signed-in session from a local browser, and the cookies are stored in ~/.linkedin-mcp/profile. It acts as you.
What its tools can do
| Kind | Tools |
|---|---|
| Read | get_person_profile, get_my_profile, get_sidebar_profiles, get_inbox, get_conversation, search_conversations, get_company_profile, get_company_posts, search_companies, get_company_employees, search_jobs, get_saved_jobs, search_people, get_job_details, get_job_apply_url, get_easy_apply_form, get_feed, search_posts, get_session_status |
| Write | close_session, open_login |
| Can’t be undone | connect_with_person, send_message, reply_to_conversation, archive_conversation, dismiss_job |
close_session and open_login manage the browser session, not LinkedIn data. The README says send_message and reply_to_conversation send after confirmation, and that dismiss_job is irreversible. get_easy_apply_form never submits.
Built-in limits
| Option | What it does |
|---|---|
--transport stdio | Default. HTTP is optional, and --http-token-file requires a bearer token from HTTP clients. |
--no-auto-import | Stops the server from importing a signed-in session from your local browser on the first tool call. On by default. |
--logout | Clears the stored session. |
--browser-idle-timeout | Closes the idle browser after this many seconds. Default 600. |
The risks
- send_message, reply_to_conversation and connect_with_person send content under your name to real people, and an instruction hidden in a profile, post or message the model reads could trigger them.
- The README says LinkedIn’s User Agreement prohibits automated access and accounts using automated tools can be restricted or banned.
- Your whole inbox and profile data pass through the model, and the saved cookies in ~/.linkedin-mcp/profile are a login to your account.
- The project is independent and not affiliated with LinkedIn, and it follows LinkedIn’s page structure, so it can change or break.
Limit it in Claude Code
Add it from the documented launch settings, at local or user scope so a token never lands in a shared .mcp.json:
claude mcp add --env UV_HTTP_TIMEOUT=... linkedin -- uvx mcp-server-linkedin@latestClaude Code names MCP tools mcp__linkedin__<tool>. Deny rules win over ask rules, and ask rules over allow rules. Put these in ~/.claude/settings.json or the project’s .claude/settings.json:
{
"permissions": {
"deny": [
"mcp__linkedin__send_message",
"mcp__linkedin__reply_to_conversation",
"mcp__linkedin__connect_with_person",
"mcp__linkedin__archive_conversation",
"mcp__linkedin__dismiss_job"
]
}
}Limit it in Codex
Codex reads MCP servers from ~/.codex/config.toml. disabled_tools removes tools, and enabled_tools keeps only the ones you list:
[mcp_servers.linkedin]
command = "uvx"
args = ["mcp-server-linkedin@latest"]
env_vars = ["UV_HTTP_TIMEOUT"]
disabled_tools = ["send_message", "reply_to_conversation", "connect_with_person", "archive_conversation", "dismiss_job"]Checklist
- Deny the send and connect tools unless you need them.
- Use a secondary account if account restrictions would hurt.
- Keep the transport on stdio and run --logout when done.
- Read LinkedIn’s User Agreement before you automate.
Checked against the vendor documentation on November 25, 2026. stickerdaniel/linkedin-mcp-server README · LinkedIn User Agreement
What Excellent covers
Excellent doesn’t inspect MCP servers themselves. Its free scan reads supported logs on the Mac (Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code) and reports findings for review, so you can see what an agent did after a session. Run the free scan · See a sample report · How to vet any MCP server
Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Pro is US-only for now. Agent coverage · Pricing