Publish and schedule LinkedIn posts from Claude through a custom connector

Himanshu Bhardwaj built a remote MCP connector so Claude can publish and schedule their LinkedIn posts; its first real post was a 9-page PDF carousel Claude uploaded and published.

Done withClaudeinLinkedIn· Nov 7, 2026

What they did

Himanshu Bhardwaj, a frontend developer in Delhi, wanted to write a post in Claude, say when it should go out, and close the laptop. No connector could publish to LinkedIn, so they built Postline, a remote MCP server on Cloudflare Workers that gives Claude seven tools: publish now, schedule, list and cancel scheduled posts, edit or delete a post, and read the connected profile. Claude signs in to Postline and Postline holds the LinkedIn token, encrypted. A cron runs every minute to publish what is due and retries failures after 2, 10 and 30 minutes.

How it went

The first real post was a 9-page carousel they designed in HTML and rendered to PDF; Claude uploaded it and LinkedIn published it publicly as a swipeable document. Publish, schedule, list and cancel were tested on their own account. Video, multi-image posts, polls, reshares and edits were only tested against a mock server so far. They submitted Postline to the Claude Connectors Directory, where it was in review.

Worth knowing

Most of the work was around the tools: two OAuth flows, token lifetimes, retries that never double-post, and LinkedIn's text escaping and file checks. Setup traps included a wrong laptop clock, whitespace in a pasted secret and D1 migrations not running on dashboard deploys.

Try it

With Claude· 2 parts to fill in

Here is a LinkedIn post I wrote: [post text and any attached file]. Using my LinkedIn connector, show me exactly how it will look, including hashtags and the attachment, and confirm the account it will post from. Then schedule it for [day and time with time zone]. Do not publish or schedule anything until I say yes, and afterwards list my scheduled posts so I can check it is there.

Square brackets are the parts to fill in. The prompt is ours; the story is theirs.

Where they said it

Related