An MCP server to post on LinkedIn: a step-by-step guide
LinkedIn is the network where posting consistently versus not posting makes the biggest difference. It's also the hardest one to automate: to post as a company page via API, you have to request access to LinkedIn's developer products and wait for approval.
With an MCP server, your agent posts on your profile or your company page without you having to request that access.
What you'll get
You tell your agent "post a summary of what we shipped this week on LinkedIn" and it does. It writes it, shows it to you, waits for your confirmation and publishes it. It works with Claude Code, Codex, Cursor and n8n.
1. Add the MCP server
In Claude Code:
claude mcp add --transport http wyro https://wyroapi.com/mcp
Without a key, the agent has the wyro_empezar tool: it uses it to create a free test key when you ask. If you'd rather create it yourself, use curl -X POST https://wyroapi.com/v1/sandbox and add it with --header "Authorization: Bearer wyro_sk_...".
2. Try it with a simulated account
Post on LinkedIn: "This week we launched our n8n integration. Your workflows now publish to 8 networks." Show me the preview.
With the test key nothing goes out to LinkedIn: you get a preview link in the feed format.
3. Connect your LinkedIn
Connect my LinkedIn.
The agent gives you a link. You sign in with Google or your email, LinkedIn asks for permission and you choose where to post: your profile or a company page you manage. When you come back, the same key publishes for real (a 7-day trial with 1 account).
4. Publish for real
On real accounts, the agent always shows you the text and asks for confirmation before publishing. The response includes the link to the post on LinkedIn.
Ideas that work well
- Weekly recap: the agent reads the week's changelog or commits and drafts the post.
- Thread to post: turn an X thread or a blog article into a LinkedIn post.
- Scheduled: "Publish it Tuesday at 9 a.m. Chicago time". Dates include a time zone.
Text, images and videos
LinkedIn accepts text only, or text with images and videos at public URLs (https).
More: MCP server · LinkedIn API and MCP · Guide for agents.