LinkedIn MCP Server
🌐 LinkedIn MCP 服务器
用于 LinkedIn API 集成的强大模型上下文协议服务器
📋 概述
LinkedIn MCP 服务器通过模型上下文协议 (MCP) 将 LinkedIn API 的强大功能带给您的 AI 助手。这款 TypeScript 服务器使 AI 代理能够与 LinkedIn 数据交互、搜索个人资料、寻找工作机会,甚至发送消息。
MCP(模型上下文协议)是一种开放协议,它标准化了应用程序如何向 LLM 提供上下文——可以将其视为 AI 应用程序的 USB-C 端口,将模型连接到外部数据源和工具。
Related MCP server: LinkedIn Sales & Navigator MCP Server
✨ 特点
🔍 LinkedIn API 工具
个人资料搜索- 使用高级过滤器查找 LinkedIn 个人资料
个人资料检索- 获取有关 LinkedIn 个人资料的详细信息
职位搜索- 通过自定义标准发现工作机会
消息传递- 向 LinkedIn 联系人发送消息
网络统计- 访问连接统计和分析
🛠️ 技术亮点
TypeScript - 使用现代 TypeScript 构建,以实现类型安全性和开发人员体验
依赖注入- 使用 TSyringe 实现干净、可测试的架构
结构化日志记录- 使用 Pino 进行全面日志记录,以获得更好的可观察性
MCP 集成- 实现模型上下文协议,实现无缝 AI 助手连接
REST 客户端- 具有自动令牌管理功能的 Axios 驱动 API 客户端
🚀 开发
先决条件
Node.js 20+
npm/yarn
设置
# Install dependencies
npm install
# Run the development server
npm run start:dev
# Build the server
npm run build📦安装
与 Claude Desktop 或其他兼容 MCP 的 AI 助手一起使用:
配置
macOS :
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows :
%APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"linkedin-mcp-server": {
"command": "/path/to/linkedin-mcp-server/build/index.js"
}
}
}🔧 调试
MCP 服务器通过 stdio 进行通信,这会增加调试难度。请使用集成的 MCP 检查器:
# Debug with MCP Inspector
npm run inspectorInspector 提供了基于浏览器的界面来监控请求和响应。
🔒 安全
此服务器处理敏感的 LinkedIn 身份验证凭据。请检查令牌管理系统,以确保其满足您的安全要求。
📜 许可证
本项目遵循 MIT 许可证。详情请参阅LICENSE文件。
Available Tools
28 toolsaccept_connection_requestA
Accept incoming connection requests to grow your network
Inputs: requestId (required).
authenticate_linkedinA
Authenticate with LinkedIn OAuth - works with standard LinkedIn Developer Application
Inputs: no named parameters.
comment_on_postA
Add a thoughtful comment to a LinkedIn post
Inputs: postId (required), comment (required).
create_postB
Create a LinkedIn post with text content and visibility settings
Inputs: content (required), visibility.
get_company_infoC
Get basic company information - limited access, may require Marketing Solutions partnership in future
Inputs: companyId (required).
get_company_profileC
Get detailed company profile information - limited access, may require Marketing Solutions partnership in future
Inputs: companyId (required).
get_connection_requestsB
View and manage pending incoming connection requests
Inputs: no named parameters.
get_connectionsB
Retrieve your complete LinkedIn connections list
Inputs: no named parameters.
get_conversationsA
Access your LinkedIn conversation threads and chat history
Inputs: no named parameters.
get_feedB
Access your LinkedIn feed with posts from your network
Inputs: count.
get_jobB
Get comprehensive details about a specific LinkedIn job posting
Inputs: jobId (required).
get_job_applicationsB
Track status and details of your job applications
Inputs: no named parameters.
get_messagesB
Retrieve messages from a specific conversation thread
Inputs: conversationId (required).
get_my_postsA
Retrieve your published LinkedIn posts with engagement metrics
Inputs: count.
get_my_profileA
Get my LinkedIn profile information using OpenID Connect - works with standard OAuth scopes
Inputs: no named parameters.
get_post_analyticsB
Get detailed analytics and engagement data for your posts
Inputs: postId (required).
get_profileB
Access detailed LinkedIn profile information for any user
Inputs: profileId (required).
get_profile_analyticsC
Access comprehensive profile performance and engagement metrics
Inputs: no named parameters.
get_saved_jobsA
Retrieve all your saved and bookmarked job listings
Inputs: no named parameters.
like_postC
Like a LinkedIn post to show appreciation
Inputs: postId (required).
revoke_linkedin_authA
Revoke LinkedIn authentication and clear stored tokens
Inputs: no named parameters.
save_jobA
Bookmark a job for later review and application
Inputs: jobId (required).
search_jobsB
Search LinkedIn jobs with advanced filters and criteria
Inputs: keywords, location, company, experienceLevel, +5 more.
search_peopleC
Search LinkedIn professionals with advanced filters and criteria
Inputs: keywords, firstName, lastName, companyName, +4 more.
send_connection_requestB
Send personalized connection requests to LinkedIn users
Inputs: profileId (required), message.
send_messageA
Send direct messages to your LinkedIn connections
Inputs: recipientId (required), subject (required), body (required).
update_partnershipsA
Update LinkedIn API partnership access settings when you get approved for special access
Inputs: communityManagement, talentSolutions, salesSolutions, marketingSolutions.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 28 tools
Most tools have distinct purposes, but there is slight overlap between get_my_profile and get_profile, and between get_company_info and get_company_profile. These are minor and descriptions help.
All tools use a consistent snake_case verb_noun pattern (e.g., accept_connection_request, search_jobs). No mixed conventions or unclear names.
At 28 tools, the count exceeds the 25+ threshold for 'too many' per the rubric. While each tool has a clear role, the server would benefit from consolidation or pruning.
Covers many core LinkedIn actions (search, post, message, connect), but lacks update/delete for posts, profile editing, and connection management beyond accept. Notable gaps for a full-lifecycle tool.
Maintenance
Related MCP Connectors
The LinkedIn API for AI agents. Search, inbox, posts and outreach over MCP.
LinkedIn jobs, companies and people for AI agents, plus messages and invites via your own account.
LinkedIn for AI agents: search people, read profiles, posts and connections via a connected account
Give AI agents the LinkedIn tools to find, qualify, engage, and follow up with prospects.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA comprehensive Model Context Protocol server that enables AI assistants to interact with LinkedIn APIs for profile management, content creation, networking, messaging, and analytics.2-
- FlicenseAqualityNot gradedmaintenanceEnables AI assistants to interact with LinkedIn and LinkedIn Sales Navigator for searching profiles, managing leads, and handling messaging via cookie-based authentication. It supports professional networking tasks such as sending connection requests and retrieving account details through the Model Context Protocol.221-
- AlicenseAqualityBmaintenanceReleased 3.0.0: 22 MCP tools, guided offline setup, local stdio, Chrome and manual login. No hosted deployment or job-research brief. Writes need opt-in, reviewed preview and human approval. Unofficial; provider compatibility, first-use cohorts, coordinated erasure and Windows privacy proof remain unverified. No mandatory paid service.22160 npm12MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to connect to LinkedIn, accessing profiles and companies, searching for jobs and people, managing saved jobs, updating job-search profile settings, and inspecting analytics.1Apache 2.0