The what2post MCP server gives AI assistants read-only access to your LinkedIn content: synced posts, profile engagement, follower growth, and growth goals. This guide shows how to authenticate and connect a client.
Fastest path: copy it from your dashboard
Signed in? Click the terminal icon in the top bar of your dashboard (next to the API token key) to copy a ready-to-run command with your token already filled in. The steps below are the manual equivalent.
Sign in at what2postapp.com, then open the API Access Token dialog from the top bar of your dashboard and copy your token. This is the same token the what2post API uses.
Claude Code (CLI)
Replace YOUR_TOKEN with the token from step 1. Add --scope user to make it available in every project.
claude mcp add --transport http what2post https://what2postapp.com/mcp \
--header "Authorization: Bearer YOUR_TOKEN"Claude Code (.mcp.json)
Prefer a file? Reference an environment variable so you never commit the secret.
{
"mcpServers": {
"what2post": {
"type": "http",
"url": "https://what2postapp.com/mcp",
"headers": {
"Authorization": "Bearer ${WHAT2POST_API_TOKEN}"
}
}
}
}Cursor, Windsurf, VS Code, Claude Desktop
These clients support remote MCP servers natively. Use the same shape in their MCP configuration.
{
"mcpServers": {
"what2post": {
"url": "https://what2postapp.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_TOKEN"
}
}
}
}Older, stdio-only clients
If a client cannot talk to a remote HTTP server directly, bridge it with mcp-remote.
npx -y mcp-remote https://what2postapp.com/mcp \
--header "Authorization: Bearer YOUR_TOKEN"Authentication is a single HTTP header. Every request your client sends to the MCP endpoint carries your token as a Bearer credential:
Authorization: Bearer YOUR_TOKENThe server resolves that token to your what2post account and scopes every tool call to your own data. There is no separate login or OAuth step — the token is the credential. Two of the tools additionally require an active subscription (see below).
You can sanity-check the endpoint from a terminal. A successful handshake returns a JSON result with serverInfo naming the what2post server.
curl -X POST https://what2postapp.com/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"curl","version":"1.0"}}}'list_my_postsYour synced LinkedIn posts, newest first.
get_my_profile_statsEngagement statistics and recent posts for one of your profiles.
get_my_growthFollower-growth statistics over a window of days.
get_my_goalsYour growth goals and their progress.
list_my_posts and get_my_profile_stats need an active plan. get_my_growth and get_my_goals work without one.Authorization: Bearer <token> header, with the literal word Bearer and a space before the token.Email support@what2postapp.com and we will help you get connected.