Token导航 LogoToken导航

MCP Server · 开发工具

linkedincli (Bcharleson)

一个通过命令行终端提供完整LinkedIn平台管理的工具,支持个人资料、发帖、消息、连接、搜索等43种命令操作。

stdio官方级别未说明来源级核验工具 54@bcharleson/linkedincli
命令行工具TypeScriptClaudeCursorWindsurf

快速开始

作者 / 组织
bcharleson
提供方
bcharleson
运行时
Node.js

工具数量

54

来源目录标注

资源数量

0

来源目录标注

提示词数量

0

来源目录标注

GitHub Star

26

仓库热度

收录来源

1 个

MCP World

选型结论

linkedincli (Bcharleson) 属于开发工具类 MCP Server,公开资料标注 54 个工具,通过stdio 本地进程接入,适配 Claude、Cursor、Windsurf,有可以直接复制的安装命令;接入前要先准备 会话凭据。

分类

开发工具

传输方式

stdio

认证方式

会话凭据

部署方式

公开资料未说明

安装与配置

安装命令

npx @bcharleson/linkedincli --help

客户端配置示例

{
  "mcpServers": {
    "linkedincli": {
      "command": "npx",
      "args": [
        "@bcharleson/linkedincli",
        "--help"
      ]
    }
  }
}

按公开安装命令拼出来的示例,字段名和参数以仓库 README 为准;带 YOUR_API_KEY 这类占位符的位置记得换成自己的值。

上手步骤

  1. 1

    准备运行环境

    stdio 服务在本地起进程,需要先装好 Node.js,再按安装命令拉取依赖。

  2. 2

    安装服务

    复制下面的安装命令执行;命令里带占位符的位置换成自己的密钥或路径。

  3. 3

    写入客户端配置

    在客户端的 MCP 配置里填启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4

    验证是否可用

    连接成功后客户端会列出 54 个工具,随便调一个只读工具确认能返回结果。

接入前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

详细介绍

linkedincli

从您的终端进行完整的LinkedIn平台管理。43个命令,用于配置文件、帖子、消息、连接、搜索、订阅源、参与度等,由cookie会话身份验证提供支持。

作为一个 命令行界面 和a MCP服务器 (适用于Claude Code、Cursor、Windsurf和其他AI代理)。

安装

# Install globally
npm install -g @bcharleson/linkedincli

# This installs the `linkedin` command:
linkedin --help

# Or run without installing
npx @bcharleson/linkedincli --help
注: npm包是 @bcharleson/linkedincli 但是CLI命令只是 linkedin.

快速开始

1.获取您的Cookie

在浏览器中打开LinkedIn→ DevTools(F12) → 应用→ Cookie→ linkedin.com

复制这两个值:

  • li_at --您的会话令牌(以开头的长字符串 AQED...)
  • JSESSIONID --您的会话ID(以开头 ajax:)

2.登录

linkedin login
# Paste your li_at and JSESSIONID when prompted

或非交互式:

linkedin login --li-at "AQEDxxxxxxx" --jsessionid "ajax:1234567890"

3.使用它

# View your profile
linkedin profile me --pretty

# Create a post
linkedin posts create --text "Hello LinkedIn! Posted from my terminal."

# Search for people
linkedin search people --keywords "software engineer" --network F --pretty

# Check your messages
linkedin messaging conversations --pretty

# React to a post
linkedin engage react 7123456789 --type LIKE

所有命令

配置文件(9个命令)

linkedin profile me                           # Your own profile
linkedin profile view 
             # View any profile
linkedin profile contact-info 
     # Email, phone, websites
linkedin profile skills 
           # List skills
linkedin profile network 
          # Connections, followers, distance
linkedin profile badges 
           # Premium, influencer, etc.
linkedin profile privacy 
          # Privacy settings
linkedin profile posts                # Recent posts by a user
linkedin profile disconnect 
       # Remove a connection

帖子(3个命令)

linkedin posts create --text "My post"                     # Text post
linkedin posts create --text "With image" --image ./pic.jpg  # Image post
linkedin posts create --text "Inner circle" --visibility connections
linkedin posts edit  --text "Updated text"      # Edit a post
linkedin posts delete                           # Delete a post

馈送(3个命令)

linkedin feed view                            # Your feed (chronological)
linkedin feed view --count 50                 # More items
linkedin feed user 
               # Someone's activity
linkedin feed company           # Company updates

交战(5个命令)

linkedin engage react 
 --type LIKE          # Like
linkedin engage react 
 --type PRAISE        # Celebrate
linkedin engage react 
 --type EMPATHY       # Love
linkedin engage react 
 --type INTEREST      # Insightful
linkedin engage react 
 --type ENTERTAINMENT # Funny
linkedin engage react 
 --type APPRECIATION  # Support

linkedin engage comment 
 --text "Great post!"
linkedin engage comments-list 

linkedin engage reactions 

linkedin engage share  --text "Worth reading"

连接(7个命令)

linkedin connections send 
                     # Send request
linkedin connections send 
 -m "Let's connect!" # With message
linkedin connections received                               # Pending received
linkedin connections sent                                   # Pending sent
linkedin connections accept  --secret           # Accept
linkedin connections reject  --secret           # Reject
linkedin connections withdraw                           # Withdraw sent
linkedin connections remove 
                     # Unfriend

消息传递(6个命令)

linkedin messaging conversations                        # All conversations
linkedin messaging conversation-with 
      # With specific person
linkedin messaging messages            # Read messages
linkedin messaging send  -t "Hello!"   # Reply
linkedin messaging send-new -r , -t "Hi!"   # New conversation
linkedin messaging mark-read           # Mark as read

搜索(4个命令)

linkedin search people --keywords "CTO" --network F         # 1st connections
linkedin search people --keywords "engineer" --company 1035 # At a company
linkedin search people --title "VP Sales" --geo 103644278   # By region
linkedin search companies --keywords "AI startups"
linkedin search jobs --keywords "engineer" --remote --experience 4
linkedin search posts --keywords "AI trends"

公司(3个指挥部)

linkedin companies view                   # Company info
linkedin companies follow          # Follow
linkedin companies unfollow                 # Unfollow

作业(2个命令)

linkedin jobs view                   # Job details
linkedin jobs skills                 # Skill match insights

分析(1个命令)

linkedin analytics profile-views             # Who viewed your profile

全局选项

每个命令都支持这些标志:

标志描述
--li-at 覆盖li_at cookie
--jsessionid 覆盖JSESSIONID cookie
--output pretty打印精美的JSON
--pretty速记为 --output pretty
--quiet无输出,仅退出代码
`--fields
`要包含的逗号分隔字段

环境变量

export LINKEDIN_LI_AT="your_li_at_cookie"
export LINKEDIN_JSESSIONID="your_jsessionid_cookie"

身份验证解析顺序: --li-at/--jsessionid 旗帜→ 环境变量→ ~/.linkedin-cli/config.json

MCP服务器(AI代理)

所有43个命令都可以作为MCP工具用于Claude Code、Cursor、Windsurf和其他AI代理。

克劳德代码/光标/风帆

添加到MCP配置中:

{
  "mcpServers": {
    "linkedin": {
      "command": "linkedin",
      "args": ["mcp"],
      "env": {
        "LINKEDIN_LI_AT": "your_li_at_cookie",
        "LINKEDIN_JSESSIONID": "your_jsessionid_cookie"
      }
    }
  }
}

或者如果使用 npx:

{
  "mcpServers": {
    "linkedin": {
      "command": "npx",
      "args": ["-y", "@bcharleson/linkedincli", "mcp"]
    }
  }
}

然后,你的AI代理可以管理你的整个LinkedIn状态——创建帖子、回复消息、管理连接、搜索人员等等。

Cookie过期

领英 li_at Cookie会定期过期(通常每几周一次)。当您的会话到期时:

linkedin status    # Check if session is valid
linkedin login     # Re-authenticate with new cookies

免责声明

该工具通过cookie会话身份验证使用LinkedIn的内部Voyager API。它不隶属于LinkedIn或得到LinkedIn的认可。负责任地使用并遵守LinkedIn的服务条款。作者不对自动使用可能导致的任何帐户限制负责。

许可证

麻省理工学院

工具与能力

工具数量

54

资源数量

0

提示词数量

0

能力标签

LinkedIn管理TypeScript本地部署命令行工具社交网络自动化MCP服务器AI代理集成

支持客户端

ClaudeCursorWindsurf

数量来自来源目录的标注,具体工具清单以官方文档为准。

典型使用场景

让助手直接读代码

把仓库、提交记录和 issue 交给模型检索,补全和重构时不用来回复制文件。

在对话里跑命令

触发构建、测试和脚本,执行结果直接回到上下文,省去切终端。

接进开发流程

把 PR、CI 状态和代码审查接进助手,减少在几个工具之间跳。

选择建议

值得选的地方

  • 工具数量 54 个,一次接入能覆盖的操作比单点工具更全。
  • 有现成的安装命令,不用自己找入口,照着跑就能起服务。
  • 已经适配 Claude、Cursor、Windsurf,换客户端不用重新研究配置。

先想清楚的地方

  • stdio 方式要求本地装好 Node.js,换机器要重新装一遍。
  • 需要自备会话凭据,没有凭据没法直接试。
  • 公开摘要偏短,具体能力和限制要回到仓库确认。

更适合

  • 需要在开发工具场景里让模型直接调用外部能力的人。
  • 已经在用 Claude 的用户,接入路径最短。
  • 想先快速试一下、能接受在本地跑服务的人。

不太适合

  • 完全不想在本地装环境的人。
  • 暂时拿不到会话凭据的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

5 个同类
MCP Server工具数传输方式安装命令收录来源最后核验
linkedincli (Bcharleson)

MCP World · 本页

54stdio有1 个2026-05-17
Git 838e2ec1

MCP World

12stdio有2 个2026-05-17
Markitdown MCP 2c653a5f

MCP World

1stdio有1 个2026-05-17
Context7 MCP C671e75a

MCP World

0stdio有1 个2026-05-17
Context7 831acf40

MCP World

0stdio有1 个2026-05-17

按同分类和工具数量挑出最接近的几条,字段以各自详情页为准。

常见问题

5 条

linkedincli (Bcharleson) 怎么安装?

公开资料给出的安装命令是 npx @bcharleson/linkedincli --help,运行环境为 Node.js。装完后按客户端要求写进 MCP 配置,重启客户端生效。

linkedincli (Bcharleson) 怎么在 Claude Desktop、Cursor 里配置?

它是stdio 本地进程,客户端配置里要写启动命令和参数,运行环境是 Node.js;保存后完全退出客户端再打开,配置才会生效。

linkedincli (Bcharleson) 收费吗?

本站只整理公开资料,不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

linkedincli (Bcharleson) 需要 API Key 吗?

公开资料标注的认证方式是会话凭据,也就是要先拿到凭据才能连上;凭据只填在自己本地的配置里,不要写进公开仓库。

linkedincli (Bcharleson) 支持哪些客户端?

公开资料标注支持 Claude、Cursor、Windsurf;其他客户端只要能配置 MCP Server,也能用同样的命令或地址接入。

来源信息

继续浏览同类 MCP