Connect an MCP client to 2pr.io
The server URL is https://2pr.io/api/mcp. Every client below signs in through the same "Sign in with 2pr" window, so there is no token to copy.
For AI agents: the documentation index is at https://2pr.io/llms.txt. This page as markdown: https://2pr.io/docs/mcp/connect.md.
Claude (desktop or claude.ai)
Open Settings, then Connectors, and add a custom connector with the URL above. Claude opens a "Sign in with 2pr" window; approve it and the connection is live.
Claude Code
claude mcp add --transport http 2pr https://2pr.io/api/mcp
Run /mcp inside Claude Code to finish the sign-in.
ChatGPT
In ChatGPT settings, add a custom connector with the URL above and choose OAuth.
Cursor and other clients (JSON config)
{
"mcpServers": {
"2pr": {
"type": "http",
"url": "https://2pr.io/api/mcp"
}
}
}
Clients without OAuth
Use a personal token instead. See Authentication.
Check that it works
Ask the agent to call profile_list. It returns the LinkedIn profiles the account can post as. Back to the overview.
Questions
Email hi@2pr.io or see https://2pr.io/contact.