linkedin-mcp-pro
LinkedIn MCP Pro is a comprehensive LinkedIn automation server with 54 MCP tools, enabling AI agents to manage your entire LinkedIn presence — from posting and messaging to job searching and analytics — with built-in ban-safety controls.
Profile & Network Management
Retrieve your own or any LinkedIn member's profile, search for people and companies, get company employees, send/accept/decline/withdraw connection requests, and manage pending invitations.
Content Creation & Publishing
Create and publish posts (text + optional image/video), delete posts, generate AI-drafted posts from audio (
voice_to_draft), and manage reusable post templates with variable substitution.
Engagement
Comment on and react to posts, auto-like or auto-comment on posts matching a keyword (via safety gates), and access your home feed, poll for new activity, and build feed digests.
Messaging
Read your inbox and specific conversations, and send direct messages to connections.
Job Search
Search for jobs by keyword, location, and experience level, and retrieve full job posting details.
Scheduling & Automation
Create, manage, enable/disable, and run post schedules using cron-like queues or specific date/time settings.
Analytics & Auditing
Monitor daily quota usage, track post performance (volume, success rates, top hours/days), view audit logs, and get an all-in-one analytics summary.
Safety & Compliance
Ban-safety gates enforce daily/hourly action caps, content pattern checks, and rate-limit backoffs. View safety status, update configuration (quotas, business hours, warmup, cooldowns), and manually clear pauses.
LLM Management
List, add, remove, and test API keys for various LLM providers to facilitate AI-driven tasks.
Monitoring & Alerts
A dead-man switch monitors posting activity and triggers Telegram alerts if posting goes silent.
Interfaces
Accessible via AI agents, a web dashboard, CLI, and REST API.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@linkedin-mcp-pro find me software engineer jobs at Microsoft"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
LinkedIn MCP Pro
LinkedIn automation for AI agents — 54 MCP tools, ban-safety gates, full web dashboard, MIT licensed.
📚 Full documentation · Quickstart · API reference · MCP tools
What is it?
LinkedIn MCP Pro is a Model Context Protocol server that gives any AI agent a complete LinkedIn workflow:
✍️ Compose posts (manual / AI / template)
📅 Schedule posts via cron-like queue
💬 Engage with comments, DMs, mentions
🔍 Search jobs with match scoring + auto cover letter
📊 Analytics with engagement heatmaps + A/B testing
🛡 Ban-safety gates on every write path
It ships with a unified web dashboard (15 pages) and 10 CLI commands.
Related MCP server: linkedin-automation-mcp
⚡ Quick start
# Install
pipx install git+https://github.com/horizonbymuneeb/linkedin-mcp-pro.git@v2.3.2
# Start dashboard
linkedin-mcp-web --host 0.0.0.0 --port 8080
# Or run as stdio MCP server for AI agents
linkedin-mcp-pro serveOpen http://localhost:8080 for the dashboard, or wire your agent:
linkedin-mcp-install add claude-desktop # or cursor, cline, windsurf, zed, ...Full guide: Quickstart
📊 What's inside
Surface | Count |
MCP tools | 54 (across 10 families) |
REST endpoints | 60+ |
CLI commands | 10 |
Dashboard pages | 15 (unified Linear+LinkedIn design system) |
Tests | 721 passing |
🖼 Dashboard preview
The dashboard at / is a unified shell — same sidebar, topbar, design tokens across every page:
Workspace: Home, Drafts, Schedule, Engage, Jobs, Analytics
Account: Connect, Cookies, Profile
Configure: LLM, Safety, Audit, Install, Settings, Templates
Design system: Linear dark mode (#5e6ad2 accent) + LinkedIn content cards (#0a66c2 brand).
See Dashboard tour for a walkthrough.
🤖 Agent support
Works with any MCP host:
Claude Desktop (macOS / Linux / Windows)
Claude Code
Cursor
Cline (VS Code)
Continue.dev
Windsurf
Zed
Open WebUI
LibreChat
LobeChat
Full setup: Agent setup guide
🛡 Safety
Every write path runs through a ban-safety gate:
Daily action caps (per-account configurable)
Velocity windows (no more than N actions per hour)
Content pattern checks (LinkedIn spam triggers blocked)
Duplicate detection (no identical posts within 7 days)
Rate-limit backoff when LinkedIn throttles
The gate is always on — there is no --unsafe flag. See safety.md.
📦 What ships
linkedin-mcp-pro/
├── linkedin_mcp/ # Core package
│ ├── static/ # 16 HTML pages + unified shell
│ ├── jobs/ # Jobs module (CV, search, apply, tracker)
│ ├── tools/ # 17 tool modules
│ ├── cli*.py # 10 CLI entry points
│ └── web.py # FastAPI server
├── tests/ # 721 tests
├── scripts/
│ └── e2e_test.py # Full E2E smoke test (64 checks)
├── docs/ # MkDocs Material documentation
├── mkdocs.yml # Docs build config
├── install.sh / install.ps1 # One-line installers
└── README.md # This file🧪 Development
git clone https://github.com/horizonbymuneeb/linkedin-mcp-pro.git
cd linkedin-mcp-pro
pip install -e .
pytest tests/ # 721 tests
python scripts/e2e_test.py # E2E smoke (64 checks)
# Build docs locally
pip install mkdocs mkdocs-material pymdown-extensions
mkdocs serve # → http://127.0.0.1:8000📄 License
MIT © horizonbymuneeb
See LICENSE.
🔗 Links
Available Tools
58 toolsaccept_invitationC
Accept an incoming connection invitation.
Inputs: invitation_id (required), dry_run.
add_scheduleA
Add a new post schedule. Provide one of: cron (5-field), at (ISO datetime), or days+time. Provide either template (name) or text (direct body).
Inputs: name (required), cron, at, days, +5 more.
auto_comment_by_keywordA
Search posts by keyword and comment on them through the safety gate. VERY HIGH BAN RISK: defaults to 5/day, 1/hour, requires author in 1st-degree network, blocks spam phrases, requires personalized draft. ALWAYS start with dry_run=true.
Inputs: keyword (required), max_results, tone.
auto_connect_by_criteriaA
Find people matching criteria and send connection requests through the safety gate. HIGH BAN RISK: defaults to 20/day, 3/hour, requires personalized note (no blank invites), blocks recruiters/agencies by default. ALWAYS start with dry_run=true.
Inputs: role, location, keywords, max_results.
auto_like_by_keywordB
Search posts by keyword and like them through the safety gate. Defaults to dry-run. Each like is gated by daily quota (default 30/day), hourly quota (5/hr), whitelist/blacklist match, and randomized cooldown. Returns detailed per-post decisions.
Inputs: keyword (required), max_results.
build_digestC
Build a digest of the last N hours of feed activity (top posts, mentions, keyword alerts, trending, warnings).
Inputs: lookback_hours.
clear_safety_pauseA
Manually clear any active pauses (negative feedback / shadow-ban). Use this after reviewing and addressing the cause.
Inputs: no named parameters.
comment_on_postB
Post a comment on a LinkedIn post (by URL or URN).
Inputs: target (required), text (required), dry_run.
create_postA
Publish a new LinkedIn post (text + optional local image/video file). Subject to daily quota (default 2), warm-up, business hours, jitter. Set dry_run=true to preview.
Inputs: text (required), media_path, visibility, dry_run.
deadman_check_and_alertA
Force a dead-man check and send a Telegram alert if status=='alert' and the 24h cooldown has elapsed. Telegram is configured via LINKEDIN_MCP_TELEGRAM_BOT_TOKEN + LINKEDIN_MCP_TELEGRAM_CHAT_ID.
Inputs: no named parameters.
deadman_statusA
Read-only dead-man switch check: last_post_at, days_since, status, should_alert. No side effects, no Telegram call.
Inputs: no named parameters.
deadman_test_alertA
Send a one-off test Telegram message (bypasses the 24h cooldown) so the operator can verify bot token + chat id are wired up.
Inputs: no named parameters.
decline_invitationB
Decline an incoming connection invitation.
Inputs: invitation_id (required), dry_run.
delete_postA
Permanently delete one of your own posts by URL or URN.
Inputs: target (required), dry_run.
delete_templateC
Delete a saved template by name.
Inputs: name (required).
disable_scheduleA
Disable a post schedule (keeps it in the YAML, won't run).
Inputs: name (required).
enable_scheduleB
Re-enable a disabled post schedule.
Inputs: name (required).
get_analytics_summaryA
One-call roll-up: success rate, today's quota, top hour, top weekday. Read-only — no LinkedIn calls.
Inputs: days.
get_audit_logB
Get the most recent audit log entries (every action, with status and details).
Inputs: action, limit.
get_company_employeesC
List employees at a company from the /people/ page.
Inputs: company_id (required), keyword, limit.
get_company_profileC
Get a LinkedIn company page profile.
Inputs: company_id (required).
get_conversationA
Read a specific messaging conversation by participant public ID or thread URN.
Inputs: public_id, thread_urn.
get_daily_statsA
Get today's quota usage for all action types (used / limit / zone).
Inputs: no named parameters.
get_digest_markdownB
Return the digest as Markdown text (ready to send to Telegram or email).
Inputs: lookback_hours.
get_feedC
Get recent posts from your home feed.
Inputs: count.
get_inboxC
List recent conversations from your LinkedIn messaging inbox.
Inputs: limit.
get_job_detailsA
Get full details for a specific job posting by its ID.
Inputs: job_id (required).
get_my_profileA
Get the authenticated user's LinkedIn profile (name, headline, summary, current position).
Inputs: no named parameters.
get_pending_invitationsA
List sent connection invitations awaiting response.
Inputs: no named parameters.
get_person_profileA
Get a LinkedIn member's profile by their public identifier (vanity name).
Inputs: public_id (required).
get_post_success_rateB
Roll-up of post outcomes in the last days days: total, success, failed, dry_run, blocked, rate. Read-only.
Inputs: days.
get_post_volumeA
Per-day count of post audits in the last days days (UTC). Days with zero posts are included so the series is dense. Returns {date: count}.
Inputs: days.
get_quota_usageA
Today's per-action-type quota usage (raw counts from daily_quotas). Caps are not joined in — use get_daily_stats for cap-aware output.
Inputs: no named parameters.
get_recent_postsB
Most recent limit post audit rows, newest first. Each row has id, action, target, status, dry_run, detail, created_at.
Inputs: limit.
get_safety_statusA
Get the current safety gate status: config, daily/hourly usage, active pauses, cooldowns. All Tier 3 features go through this gate.
Inputs: no named parameters.
get_templateA
Return one template's full YAML document (name, body, tags, default_vars).
Inputs: name (required).
get_top_posting_daysA
Distribution of post audits by weekday name (Monday..Sunday) over the last days days. All seven days are present (zero-filled).
Inputs: days.
get_top_posting_hoursA
Distribution of post audits by hour-of-day (0..23, UTC) over the last days days. All 24 hours are present (zero-filled).
Inputs: days.
list_schedulesA
List all post schedules from ~/.linkedin-mcp/schedule.yaml.
Inputs: no named parameters.
list_templatesA
List all saved LinkedIn post templates (name, description, tags). Templates live in ~/.linkedin-mcp/templates/ by default; override with LINKEDIN_MCP_TEMPLATES_DIR.
Inputs: no named parameters.
llm_add_keyC
Add or update an LLM API key.
Inputs: provider (required), key, base_url, model.
llm_list_providersA
List all configured LLM providers with status (masked keys, last test result).
Inputs: no named parameters.
llm_remove_keyC
Remove an LLM provider's stored key.
Inputs: provider (required).
llm_test_keyB
Test if a provider's key works (1-token ping).
Inputs: provider (required).
poll_feedB
Run a single poll cycle against the feed. Returns what was added, denied, and the safety gate decision.
Inputs: max_items.
react_to_postC
Add a reaction (like, celebrate, insightful, etc.) to a post.
Inputs: target (required), reaction_type, dry_run.
remove_scheduleB
Remove a post schedule by name.
Inputs: name (required).
render_templateA
Render a template's body with the given variables. Built-in variables {date}, {time}, {day_of_week}, {week_number}, {month}, {year} are auto-filled. With strict=true, missing variables raise an error instead of being left verbatim.
Inputs: name (required), variables, strict.
run_due_nowA
Enqueue all currently-due schedules into the action queue. The scheduler worker drains them through SafetyGuard + create_post.
Inputs: no named parameters.
save_templateA
Create or overwrite a post template. Body may contain {variable} placeholders. Tags are searchable labels; default_vars are values filled in at render time unless overridden by the caller.
Inputs: name (required), body (required), description, tags, +1 more.
search_companiesC
Search for LinkedIn company pages by keyword.
Inputs: keywords (required), limit.
search_jobsC
Search for jobs by keyword, with optional location and experience filters.
Inputs: keywords (required), location, experience_level, limit.
search_peopleB
Search for LinkedIn members by keyword, with optional location and company filters.
Inputs: keywords (required), location, current_company, limit.
send_connection_requestA
Send a connection request to a LinkedIn member, with optional personalized note. Subject to daily quota (default 20), warm-up ramp, business hours, and jitter. Set dry_run=true to preview without sending.
Inputs: public_id (required), note, dry_run.
send_messageC
Send a direct message to a LinkedIn member you're connected with.
Inputs: public_id (required), text (required), dry_run.
set_safety_configB
Update safety config. Pass any subset of: enabled, dry_run, tz, whitelist, blacklist, business_hours_start, business_hours_end, cooldown_min, cooldown_max, like_daily, comment_daily, connect_daily, feed_watch_daily, account_age_days, warmup_days, warmup_multiplier, like_hourly, comment_hourly, connect_hourly, negative_response_threshold, shadowban_pause_hours. Lists (whitelist/blacklist) are replaced entirely.
Inputs: no named parameters.
voice_to_draftA
Transcribe an audio file (mp3/m4a/wav/ogg) via Whisper, clean filler words, and produce an AI-drafted LinkedIn post. Returns draft for human review — does NOT post automatically. Requires ffmpeg + faster-whisper on host.
Inputs: audio_path (required), language, tone.
withdraw_invitationB
Withdraw a sent (still pending) connection invitation.
Inputs: invitation_id (required), dry_run.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 58 tools
Each tool targets a specific action or resource, with clear boundaries. For example, auto_comment_by_keyword, auto_connect_by_criteria, and auto_like_by_keyword are distinct automation actions. Even similar tools like get_daily_stats and get_quota_usage have different scopes (daily vs raw). No overlapping purposes.
All tools follow a consistent verb_noun pattern using underscore_case, e.g., accept_invitation, create_post, search_people. Compound verbs like auto_comment_by_keyword are predictable and clear. No mixing of conventions.
At 58 tools, the count is high but appropriate for a 'pro' server covering posting, messaging, automation, scheduling, templates, analytics, safety, and LLM management. Each tool serves a specific need, though the surface is extensive.
The tool set covers the full lifecycle of LinkedIn automation: connection management, messaging, content creation, scheduling, feed interaction, analytics, safety, and configuration. Minor gaps like profile editing are outside the server's stated purpose.
Maintenance
Related MCP Connectors
A hosted LinkedIn MCP server for your own account. Paste one address into Claude, ChatGPT, Cursor or n8n to read your inbox, send messages and invitations, and search people. Free to start. Not made by LinkedIn.
Managed LinkedIn MCP server for AI agents: search, connect, message and enrich on accounts you own.
Hosted LinkedIn MCP server on your own account: 35 tools for search, profiles, inbox, posts, pages.
LinkedIn outreach MCP server — 19 tools for AI agents to prospect, sequence, and manage contacts.
Related MCP Servers
- AlicenseAqualityDmaintenanceHigh-performance autonomous MCP server that turns LinkedIn into an API for AI workflows, enabling profile management, job search, content posting, and document generation.141MIT
- AlicenseNot gradedqualityDmaintenanceAI-powered LinkedIn automation server for content generation, profile/company data extraction, and connection request automation, integrating with MCP clients like Claude Desktop.MIT
- AlicenseAqualityDmaintenanceAn MCP server that lets AI assistants like Claude read LinkedIn data through your own logged-in browser session. Access profiles and companies, search for jobs, or get job details.19Apache 2.0
- AlicenseAqualityNot gradedmaintenanceAn MCP server that lets AI assistants read LinkedIn data through the user's logged-in browser session, providing tools for profiles, companies, job searches, messaging, and feeds.19Apache 2.0