Skip to main content
Glama
DarkLvrd

agentic-linkedin

by DarkLvrd

agentic-linkedin

永不失效的 LinkedIn MCP。

这是一个 MCP 服务器,为 AI 代理提供一个人在 LinkedIn 上能做的一切: 你描述你想要什么,代理执行它,而你永远不需要碰这个网站。

  • 自愈 — 选择器和端点以数据形式存在;当 LinkedIn 改变其 DOM 时,可验证的修复会自动应用

  • 会话卫生 — 类人节奏、写入预算、健康探测、优雅的重新认证;绝不会让你被锁定

  • 可靠发布 — 发布后验证、持久化的去重键、绝不自动重试:任何内容都不会重复发布

  • 人性化内容 — 每个用户的文风画像和 AI 痕迹审计;一切读起来都像你亲手写的

  • 可观测 — 先规划后执行,带字段级差异和渲染预览;脱敏的失败工件

安装

npx agentic-linkedin

需要 Node 20+。该包已发布到 npm;仓库位于 github.com/DarkLvrd/linkedin-mcp

Related MCP server: LinkedIn MCP Server

登录(一次)

  1. 使用你的 MCP 客户端(Claude Desktop、Cursor 等)启动服务器。

  2. 调用 login 工具。会打开一个浏览器窗口——登录 LinkedIn 并让它重定向到你的信息流。

  3. 会话会持久化到磁盘(~/.agentic-linkedin/session.json),并在重启后恢复。

身份信息永远不会存储在仓库或失败工件中。Cookie 值 在构造上会从所有日志、工具输出和工件中脱敏。

工作流:先规划后执行

描述你想要什么。代理会携带预期的写入调用 plan,并返回一个带预览的有序列表:

  • 个人资料更改显示字段级 旧 → 新 差异

  • 帖子和消息显示渲染的信息流风格预览及其AI 痕迹审计

  • raw 开关始终暴露确切的参数

在你 approve 计划之前,什么都不会执行。reject 会取消它。dry_run 只预览而不存储任何内容。在执行期间,每次写入仍会经过节奏引擎:每次登录的预算、每小时上限、随机化的类人延迟和健康探测——遇到验证挑战时,引擎会暂停,直到你重新认证。

工具

  • 会话session_statuslogin

  • 读取get_meget_profileget_postsget_conversationsget_conversation_historyget_connections_summaryget_invitationsget_jobsget_analytics

  • 个人资料update_profileadd_skillremove_skillreorder_skillsdelete_ghost_entry

  • 帖子create_postedit_postdelete_postcommentreact

  • 消息send_message(基于幂等键)、recall_messagereact_to_message

  • 人脉connectrespond_invitationfollowendorse_skillremove_connection

  • 规划plandry_runapprovereject

  • 自愈show_artifactupdate_registry

  • 文风get_voice_profileset_voice_profilebootstrap_voice_profileaudit_draft

配置(环境变量)

变量

默认值

用途

LINKEDIN_READ_ONLY

0

1/true 直接阻止所有写入工具

AGENTIC_LINKEDIN_SESSION_PATH

~/.agentic-linkedin/session.json

会话持久化的位置

AGENTIC_LINKEDIN_DEDUPE_PATH

~/.agentic-linkedin/posts.json

持久化的帖子去重键

AGENTIC_LINKEDIN_ARTIFACTS_PATH

~/.agentic-linkedin/artifacts

脱敏的失败工件

AGENTIC_LINKEDIN_OVERLAY_PATH

~/.agentic-linkedin/overlay.json

运行时选择器注册表修复

AGENTIC_LINKEDIN_VOICE_PATH

~/.agentic-linkedin/voice

每个用户的文风画像

AGENTIC_LINKEDIN_BUDGET_PER_SIGNIN

3

每次登录的浏览器上下文写入次数(认证墙阈值)

AGENTIC_LINKEDIN_BUDGET_PER_HOUR

60

每个滑动小时内的总写入次数

AGENTIC_LINKEDIN_PACING_MIN_MS / MAX_MS

1000 / 5000

写入前的随机化延迟范围

AGENTIC_LINKEDIN_PROBE_INTERVAL_MS

60000

会话健康探测间隔

开发

npm ci
npm run check   # typecheck + build + full test suite

测试完全离线运行:传输接缝被模拟,Voyager/SDUI 响应 从录制的夹具中重放,二进制文件通过 stdio 进行端到端测试。 实时 LinkedIn 操作绝不会在 CI 中自动化。

许可证

MIT — 参见 LICENSE

A
license - permissive license
B
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    C
    maintenance
    Enables AI agents to manage LinkedIn profiles, posts, connections, skills, education, and certifications through the LinkedIn API.
    18
    176
    64
    MIT
  • A
    license
    B
    quality
    A
    maintenance
    Enables AI agents with read/write access to LinkedIn API, including profile, posts, media, organizations, comments, reactions, and analytics.
    20
    14
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Enables AI agents to publish posts, images, comments, and reactions to LinkedIn as the authenticated user, with built-in safety features like daily budgets and deduplication.
    9
    29
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    Lets an AI assistant operate LinkedIn through an authenticated browser session, enabling profile management, posting, networking, messaging, job search, and automated applications.
    100
    383
    1
    MIT

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DarkLvrd/linkedin-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server