LinkedIn Automation MCP Server
Enables automated LinkedIn growth by posting, commenting, and managing connections through Claude Code, with daily scheduled tasks for inbox replies and connection requests.
README
LinkedIn Claude Automation
Full LinkedIn growth automation using Claude Code and a custom LinkedIn MCP server. Runs daily via Windows Task Scheduler with zero manual interaction required.
What it does
Every day at 2pm automatically:
- Checks your LinkedIn inbox and replies to messages in In English (Serbian also supported) with high-quality, human-feeling responses
- Relevant, high-quality and human-feeling posts
- Sends 7 to 8 personalized connection requests
- Tracks your connection count growth daily
- Prints a full session report
On Monday, Wednesday, and Friday it also:
- Asks you for a post idea (60 second window)
- Auto-generates and publishes a post in your voice if you don't respond
How it works
This project extends the linkedin-scraper-mcp package by adding two missing tools:
create_post- publishes a post to your LinkedIn profilecomment_on_post- leaves a comment on any LinkedIn post
These tools use browser automation (Patchright/Chromium) to interact with LinkedIn's UI directly.
Claude Code reads a prompt file (linkedin_daily.md) that contains detailed instructions for the daily automation. Windows Task Scheduler fires the bat file at 2pm every day.
Requirements
- Windows PC (always on during automation time)
- Claude Code installed
- UV installed
- Claude Pro or API access
Setup
1. Install UV
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
2. Clone and install the custom MCP
git clone https://github.com/dzigi00/linkedin-claude-automation C:\Users\<you>\linkedin-mcp-custom
cd C:\Users\<you>\linkedin-mcp-custom
uv sync
3. Login to LinkedIn
uv run -m linkedin_mcp_server --login
A browser opens. Log in to your LinkedIn account. Session is saved automatically.
4. Register the MCP with Claude Code
claude mcp add linkedin -s user -- "C:\Users\<you>\.local\bin\uv.exe" "--directory" "C:\Users\<you>\linkedin-mcp-custom" "run" "-m" "linkedin_mcp_server" "--transport" "stdio"
5. Copy the automation files
Copy linkedin_daily.md and run_linkedin.bat to C:\Users\<you>\
Edit linkedin_daily.md to match your profile, niche, and content topics.
Edit run_linkedin.bat to replace the path with your actual username.
6. Schedule with Windows Task Scheduler
- Open Task Scheduler
- Create Basic Task
- Name: LinkedIn Daily
- Trigger: Daily at 2:00 PM
- Action: Start a program
- Program:
C:\Users\<you>\run_linkedin.bat - Start in:
C:\Users\<you>
7. Customize for your profile
Before running the automation, open linkedin_daily.md and update these sections to match your own profile:
- Your story - replace the mechanic to funnel builder background with your own journey
- Content pillars - replace the listed topics with your own niche and expertise
- Target audience - update the countries, job titles, and industries you want to connect with
- Brands and clients - replace AICom, EcomDegree, Publishing.com with your own work history
- Location exclusions - update or remove the North Macedonia exclusion based on your situation
- Voice and tone - the casual, direct style works for most people but adjust if needed
The linkedin_daily.md file is the brain of the automation. Everything Claude does daily is driven by the instructions in that file. Spend 10 minutes personalizing it before your first run.
8. Fix: Auto-trust the working directory
By default Claude Code asks "Do you trust this folder?" every first run. To skip this permanently, run this once in PowerShell:
$json = Get-Content "C:\Users\<you>\.claude.json" -Raw | ConvertFrom-Json
$json.projects."C:\Users\<you>".hasTrustDialogAccepted = $true
$json | ConvertTo-Json -Depth 100 | Set-Content "C:\Users\<you>\.claude.json" -Encoding utf8
Replace <you> with your actual Windows username.
Files
linkedin_mcp_server/tools/posting.py- custom create_post and comment_on_post toolslinkedin_daily.md- daily automation prompt instructionsrun_linkedin.bat- Windows Task Scheduler script
Credit
Built on top of stickerdaniel/linkedin-mcp-server. This project adds write capabilities (posting and commenting) that the original package does not include.
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。