Hermoso is a marketing MCP server: 301 tools over one OAuth’d endpoint that let an agent research the ads already running in a market, generate finished image and video ads, publish them, and build the paid campaigns behind them. Cursor reaches all of it through one connection. This page is about one slice of that — what Cursor can actually do on LinkedIn, and what LinkedIn will not let it do.
Connect Hermoso to Cursor
- Create an API key. In Hermoso, open Settings → Agents & API keys and press + Create API key. It looks like
hmk_…and carries real spend authority, so treat it like a password. - Add it to
~/.cursor/mcp.json(or the project’s.cursor/mcp.json):{ "mcpServers": { "hermoso": { "url": "https://app.hermoso.ai/mcp", "headers": { "Authorization": "Bearer <your key>" } } } } - Or use the one-click install from the MCP page. That deeplink installs the bare URL and leaves authentication to Cursor’s own OAuth flow instead of a pasted key — both work, they are just different prerequisites.
- Ask Cursor for something. “Pull my three closest competitors’ longest-running ads and remix the best hook into a 9:16 video,” or “post this render to the channel.” The agent picks the tools; you approve the spend.
The config above is the path Hermoso publishes and tests. If you use the deeplink instead, Cursor performs dynamic client registration against our authorization server and you never hold a key.
Then connect LinkedIn itself, once, under Settings → Connectors in Hermoso. That is an OAuth consent screen, so it is the one step that needs a browser — everything after it is a tool call.
The LinkedIn tools Cursor gets
post_to_linkedin_page— publishes to a company Page — text, an image, a video, or a multi-image post — with alt text.post_to_linkedin— publishes to a personal profile, which stays switched off until you explicitly share that identity.list_linkedin_pages— the Pages you have shared with this brand, with their organization ids.schedule_post— queues it, carryinglinkedinOrganizationIdso the right identity posts.manage_linkedin_post— edit the copy of a post, or delete it.linkedin_page_analytics— organic Page performance — follower gains, Page views, and post impressions, clicks and engagement, per Page or per post.search_linkedin_ads— the LinkedIn Ad Library — the one public ad library that exposes real impression counts.
LinkedIn is the channel where identity is a permission rather than a preference. One person usually administers several companies’ Pages, so Hermoso makes the postable identities an explicit choice: only the Pages you have ticked under Manage accounts can be posted to, an unticked Page is refused server-side rather than in the UI alone, and the personal profile is off unless you turn it on. An agent that asks which Page rather than assuming is doing the right thing.
LinkedIn limits worth knowing before you automate anything
| Text | A LinkedIn post is capped at 3,000 characters. It is enforced when the post is created or queued — refused while you are still there to fix it, rather than silently cut on the way out. |
|---|---|
| Visibility | Public only — “a LinkedIn post publishes to the profile or company Page — LinkedIn has no unlisted, private or draft post.” |
| Carousel | 2 to 20 images, from a company Page. Both bounds are LinkedIn’s own: “A MultiImage post is a post containing multiple images (minimum of 2 images and maximum of 20 images)”, and the schema adds “Only supports images”. Two refusals follow from that and both are by name rather than by silent downgrade: a video slide is refused because LinkedIn’s multi-image post cannot carry one, and a personal-profile carousel is refused with the way forward — “Pass linkedinOrganizationId (list_linkedin_pages) — a personal-profile carousel is not something Hermoso can publish.” |
| Which account | linkedinOrganizationId. Unset means the member’s own profile, never “probably the company” — so the field is how you say which Page, and leaving it out is a decision rather than an accident. |
Try it in Cursor
Ask for it in ordinary language — these are sentences, not a DSL:
“Publish ./content/linkedin/case-study.md to the company Page with the four charts in ./assets as a carousel, and alt text on every image.”
That walks list_linkedin_pages → plan_ad → render_ad → post_to_linkedin_page → linkedin_page_analytics. Cursor surfaces each tool call in the composer before it runs, so a publish is a click rather than a side effect.
Cursor on LinkedIn: the part that bites
Write the alt text — LinkedIn accepts it on every image and most tools collect it and drop it. Two limits to design around: a LinkedIn carousel is images only, so a chart video has to become stills, and it publishes from a company Page, so the personal profile is refused by name with the fix attached rather than posting slide one.
Put the config in the project’s .cursor/mcp.json rather than the home directory when several brands share a machine — the key is what pins the workspace.
Research LinkedIn before you post
search_linkedin_ads reads the LinkedIn Ad Library, which is unusual among public ad libraries in exposing real impression counts — so B2B competitor research on LinkedIn can be ranked by actual delivery rather than by guesswork about what is running.
The paid half
create_linkedin_ads_campaign_group → create_linkedin_ads_campaign → create_linkedin_ads_creative builds the tree, and everything is born as a draft. set_linkedin_ads_status is the only switch that arms real money and it refuses without an explicit confirmation. One access note that is better said than discovered: LinkedIn meters ad writes by the API tier your own ad account holds — reporting and reads are unrestricted, and on the development tier an app may edit a small number of ad accounts, each registered by hand.
What Cursor cannot do on its own
An agent with a budget is only useful if the blast radius is bounded, so the fence is in the server rather than in a prompt. Every ad campaign, ad set, ad group and ad is created paused, and the status switches that arm real money refuse to run without an explicit confirmation flag. Every render is quoted first — hermoso_capabilities publishes each model’s exact credit cost before anything spends — and credits are reserved before the first provider call and settled at the exact cost afterwards, so a failed dispatch refunds rather than leaving you billed for nothing. Deletes are confirm-gated too, and every campaign tree is read back from the ad platform before your agent tells you what it built.
One step is deliberately not headless: linking an account is an OAuth consent screen, so you connect the channel once in a browser. Everything after that is a tool call.
The rest of the matrix
From Cursor, post to: Facebook · Instagram · Threads · TikTok · YouTube · X · Pinterest — or see everything Cursor can publish to.
Post to LinkedIn from: Claude · ChatGPT · Claude Code · Codex · Cline · OpenClaw · Hermes
Frequently asked questions
Can Cursor post to LinkedIn?
Yes, through Hermoso's MCP server. Create an API key in Hermoso under Settings → Agents & API keys, then add https://app.hermoso.ai/mcp to Cursor with an Authorization: Bearer header. Cursor then has 301 tools, including the ones that publish to LinkedIn — and the ones that research the ads already running in your market and render the creative in the first place.
How do I connect LinkedIn to Cursor?
Two steps, once each. Create an API key in Hermoso under Settings → Agents & API keys, then add https://app.hermoso.ai/mcp to Cursor with an Authorization: Bearer header. Then connect LinkedIn inside Hermoso under Settings → Connectors, which is an OAuth consent screen in a browser. After that Cursor publishes to LinkedIn as an ordinary tool call.
Can Cursor post a carousel to LinkedIn?
Yes — 2 to 20 images, from a company Page, images only. Those are LinkedIn’s own published bounds; a personal-profile carousel is refused by name with the fix attached rather than posting slide one. Cursor calls the same publish tool either way, and a channel that cannot carry a carousel is refused with the real reason attached.
Can Cursor research LinkedIn before it posts?
Yes, and unusually well: search_linkedin_ads reads the LinkedIn Ad Library, which is the one public ad library that exposes real impression counts.
Start free — 25 credits at signup and 250+ more to earn, and every feature on every plan.
Start free → See pricing