How to post to LinkedIn from Hermes Agent
Send Hermes a rough thought from Telegram or Slack and get a LinkedIn draft back to approve when you are at a desk.
How do I post to LinkedIn from Hermes Agent?
Add the planpo.st MCP server to Hermes Agent, connect LinkedIn once in the dashboard, then ask. The first three steps are one-time.
- 1
Create an API key and add planpo.st to Hermes
Make a scoped key in planpo.st under Settings. Add an MCP server by local command in Hermes: npx with the arguments -y planpost-mcp and PLANPOST_API_KEY in its environment. New servers are disabled by default in Hermes, so enable planpost after adding it.
- 2
Confirm the server is connected
Ask Hermes to list your planpo.st connections. If it has no such tool, the server is still disabled.
- 3
Connect LinkedIn
Connect LinkedIn in the dashboard under Connections. A personal profile and a company page are separate connections with separate IDs, and get_connection_link gives the agent a URL to pass to you when one is missing.
- 4
Know what the post needs
A LinkedIn post needs text of 3,000 characters or fewer. Media is optional and nothing in platformSettings is required.
- 5
Ask in a chat app or the desktop app
Say what to post and when. Hermes finds the LinkedIn connection, creates the post, and tells you whether it was scheduled or kept as a draft, with the reason.
Add an MCP server by local command:
Command: npx
Args: -y planpost-mcp
Env: PLANPOST_API_KEY=pk_live_xxxReplace pk_live_xxx with your own key.
Which transport does Hermes Agent use?
For Hermes use the local command. Hermes documents SSE for remote servers and the planpo.st endpoint speaks streamable HTTP, so a URL connection is something to test on your version, not to assume. Enable the server after adding it.
- Hermes manages MCP servers from its settings and a CLI, and servers can be added by URL or by local command. The local command above is the tested path.
- Hermes documents SSE for remote servers. Our hosted endpoint speaks streamable HTTP, which is the newer transport, so verify a URL connection against your Hermes version before relying on it and use the local command if it does not connect.
- MCP servers you add are disabled by default in Hermes until you enable them, which is deliberate on their side.
The full walkthrough is on the Hermes Agent setup page.
What can Hermes Agent do on LinkedIn?
It can publish text posts, single-image posts, multi-image posts of up to 9 images and video posts, to a personal profile or a company page. It cannot post PDF documents, polls or articles.
Text post
3,000Up to 3,000 characters with clickable links. The long cut of an idea belongs here, with platformContent.linkedin holding it when other networks get a shorter one.
Image or images
1 to 9One image, or several as a multi-image post. The first 9 are used.
Video
One video per post. When the first attachment is a video, that file is the post.
Profile or page
Decided by the connection ID. Pass the profile's ID, the page's ID, or both in two posts with different wording.
Attachments are optional on LinkedIn. When a post should carry one, that is the one awkward part of this pairing. When you message Hermes from a chat app, the file is not on a disk it can PUT to an upload URL. Two routes work: upload the file in the planpo.st dashboard and let Hermes pick it with list_media, or ask for a carousel rendered from text with render_carousel.
Which settings does a LinkedIn post take?
The LinkedIn publisher reads nothing from platformSettings. Who the post is from is decided by the connection, and visibility is always public, so the table lists the post fields that do the work.
| Field | Allowed values | If you leave it out | Worth knowing |
|---|---|---|---|
| connectionIds | ID of a profile connection or a company page connection | None, required | This is the profile versus page switch. list_connections returns both with their IDs. |
| platformContent.linkedin | Text, 3,000 characters or fewer | The shared content | Over 3,000 here is rejected with a 400. Shared content over 3,000 saves the post as a draft with char_limit. |
| media, platformMedia.linkedin | Images (1 to 9) or one video | Text post | The first attachment decides the kind of post. Images after the ninth are left out. |
| platformSettings.linkedin.* | Not read | Does not apply | organizationUrn and isPersonal exist on the type and are ignored at publish. Use the connection ID. |
| Visibility | PUBLIC | PUBLIC | Fixed. There is no connections-only option. |
What do I type to post to LinkedIn from Hermes Agent?
Plain requests work. Each example lists the tool calls Hermes Agent makes in response.
1. Profile and company page, two voices
You say
Take the idea from my last message. Write two LinkedIn posts from it: first person for my profile, third person for the company page. Schedule both for Thursday 09:00.
Tool calls
list_connections()
create_post({ content: "<first person>", connectionIds: ["<profile id>"], schedule: "thursday 09:00" })
create_post({ content: "<third person>", connectionIds: ["<page id>"], schedule: "thursday 09:00" })Two scheduled posts on two connections. They are separate posts on purpose, because the wording differs and so will the numbers.
2. A carousel of images
You say
Use the three bullet points I sent this morning. Make a 7-slide carousel from it for LinkedIn and save the post as a draft so I can look first.
Tool calls
generate_carousel({ content: "<source text>", platform: "linkedin", maxSlides: 7 })
render_carousel({ slides: [...], family: "<id from list_carousel_styles>" })
get_carousel_render({ id: "<render id>" })
create_post({ content: "<caption>", media: [<7 assets>], connectionIds: ["<linkedin id>"], schedule: "draft" })Seven rendered PNG slides in your media library and a draft multi-image post. Seven fits; a tenth slide would be dropped, since LinkedIn gets the first 9 images.
3. Post with a tracked link
You say
Start from the note I forwarded you. Write a LinkedIn post that ends with the link to the pricing page and schedule it at the best time this week.
Tool calls
get_best_times({ platform: "linkedin" })
create_post({ content: "<post ending in https://...>", connectionIds: ["<linkedin id>"], scheduledFor: "<ISO time from get_best_times>", campaign: "pricing-update" })A scheduled post with a clickable link and a campaign tag. Payments that follow a click on that link show up next to this post.
What stops a LinkedIn post from Hermes Agent?
The tag on a card is the code that comes back in the tool result.
3,000 characters
char_limitChecked when the post is created. Too long and it is saved as a draft with the count, the limit and the field to shorten.
9 images, then it stops
A multi-image post uses the first 9 attachments. Extra images are left out without failing the post, so keep carousels at 9 or fewer.
Do not mix images and video
The first attachment decides the type. An image first makes it an image post; a video first makes it a video post with that one file.
No PDF documents
The swipeable document format is not supported. A rendered image carousel is the nearest thing and it publishes as a multi-image post.
Always public
Posts go out with public visibility. If you need connections-only, post that one by hand.
Profile and page are different connections
Sending a page announcement to your personal profile is one wrong ID away. Have the agent read list_connections back before the first post.
Added is not enabled
HermesHermes keeps new MCP servers switched off until you enable them. If the agent answers as though planpo.st does not exist, that is why.
Use the local command
HermesHermes documents SSE for remote servers and the planpo.st endpoint speaks streamable HTTP. The local npx command is the tested path.
Can Hermes Agent tell me what a LinkedIn post earned?
Yes. Links in LinkedIn posts are clickable, so a tracked link in the post gives a click to match against a later payment, and get_revenue_overview returns the totals and recent transactions. LinkedIn readers are mostly buying for a business, which usually means Stripe on the other end.
Hermes Agent and LinkedIn: questions people ask
- Can Hermes upload an image from my machine for LinkedIn?
- Not directly. When you message Hermes from a chat app, the file is not on a disk it can PUT to an upload URL. Upload the file in the dashboard and Hermes finds it with list_media, or have it render one: render_carousel makes branded images from text.
- How do I post to a company page instead of my profile?
- Pass the page's connection ID. The page and the profile are separate connections, and the post is authored by whichever one the ID belongs to. There is no setting for it.
- Can it post a document carousel?
- Not the PDF kind. It can render up to 9 slides as images and publish them as a multi-image post.
- What happens when Hermes sends a LinkedIn post that breaks a rule?
- It is told at once. The usual case on LinkedIn is text over 3,000 characters: the post is kept as a draft and the tool result carries char_limit plus the fix, which Hermes applies with update_post.
- Can I post to LinkedIn from Telegram or Slack?
- Yes, that is the point of Hermes. The same agent answers in the chat apps it is connected to and on the desktop, with the planpo.st tools behind it in each. Keep it on drafts or approval, so a mistyped message costs you a bad draft and nothing more.
- Can Hermes use the hosted endpoint?
- Test it against your Hermes version before relying on it. Hermes documents SSE for remote servers and our endpoint is streamable HTTP. The local command works regardless and reaches LinkedIn the same way.
Keep going
LinkedIn from other agents
Other networks from Hermes