2pr.io LinkedIn
Write, schedule and publish LinkedIn posts in your own voice, search 2M+ viral posts, reply to comments and pull post analytics from any AI agent. Remote MCP with OAuth sign-in.
Hosted MCP Server
npx add-mcp 'https://2pr.io/api/mcp'Installs into Claude Code, Codex, Cursor and more
Documentation
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.