Connector guide1-minute readEN · DE · IT

如何将LinkedIn连接到ChatGPT

通过MCP将LinkedIn API连接到ChatGPT。使用AnythingMCP以自然语言分析公司页面、帖子和关注者分析。

HCBy HelpCode teamUpdated 1 min read Open source on GitHub

No credit card · 7-day trial · Self-host alternative available

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Summary

通过MCP将LinkedIn API连接到ChatGPT。使用AnythingMCP以自然语言分析公司页面、帖子和关注者分析。

使用ChatGPT分析你的LinkedIn存在

LinkedIn没有官方的MCP连接器。通过AnythingMCP,你可以将LinkedIn的营销和社区管理API转换为MCP服务器,让ChatGPT分析你的公司页面表现。

分步指南

第一步:部署AnythingMCP

git clone https://github.com/HelpCode-ai/anythingmcp.git
cd anythingmcp && docker compose up -d

第二步:获取LinkedIn API访问权限

https://www.linkedin.com/developers/创建一个应用。请求营销API产品。生成具有r_organization_socialr_organization_followers范围的OAuth 2.0访问令牌。

第三步:创建REST连接器

创建一个基础URL为https://api.linkedin.com/v2的REST连接器。设置Bearer令牌身份验证,并添加X-Restli-Protocol-Version: 2.0.0头。

第四步:暴露关键端点

  • GET /organizationalEntityFollowerStatistics — 关注者人口统计
  • GET /organizationalEntityShareStatistics — 帖子表现
  • GET /shares — 已发布的帖子
  • GET /organizationPageStatistics — 页面浏览量和访客

第五步:连接ChatGPT

{
  "mcpServers": {
    "linkedin": {
      "url": "http://localhost:4000/mcp"
    }
  }
}

第六步:分析你的LinkedIn表现

  • "我们公司页面这个月获得了多少新关注者?"
  • "哪些帖子获得了最高的互动?"
  • "我们的关注者来自哪些行业?"
  • "比较我们本季度与上季度的页面表现"

下一步

这份指南对你有帮助吗?

Ready to ship

Ship MCP to your stack in 60 seconds.

Spin up AnythingMCP on managed Cloud or self-host it on your infrastructure. Free for 7 days, no credit card.

相关指南