2pr.io LinkedIn
通过任意 AI agent,以你自己的风格撰写、安排并发布 LinkedIn 帖子,搜索 200 多万条热门帖子、回复评论并获取帖子分析数据。支持远程 MCP 和 OAuth 登录。
托管 MCP 服务器
npx add-mcp 'https://2pr.io/api/mcp'可安装到 Claude Code、Codex、Cursor 等客户端
文档
2pr.io MCP server
Everything the 2pr.io app can do, exposed to AI agents as 46 tools over the Model Context Protocol.
For AI agents: the documentation index is at https://2pr.io/llms.txt. This page as markdown: https://2pr.io/docs/mcp.md.
When to use it
Use the 2pr.io MCP server when an agent needs to act on a LinkedIn account, not just write text about LinkedIn:
- Draft a post in the account owner's voice and refine it in a loop
- Search 2M+ viral LinkedIn posts by topic or creator for benchmarks and hooks
- Schedule or publish posts, with images, carousels or video attached
- Read the comment inbox, draft replies, post them and react
- Pull profile and per-post analytics, including best posting times
- Cross-post to X (Twitter)
It is not a scraping API. It works only on accounts that have connected LinkedIn to 2pr.io through the official OAuth flow.
Quick start
- Have a PRO or Team plan (https://2pr.io/pricing).
- Add
https://2pr.io/api/mcpto your MCP client. - Approve the "Sign in with 2pr" window.
- Ask the agent to call
profile_list, thendraft_create.
Pages
- Connect a client: Claude, Claude Code, ChatGPT, Cursor and JSON config
- Authentication: OAuth 2.1 sign-in and personal tokens
- Endpoint and discovery: transport, protocol, discovery files and OpenAPI
- Tools: all 46 tools, grouped by what they do
- Limits and errors: rate limits, plans and error handling
Questions
Email hi@2pr.io or see https://2pr.io/contact.