Post to X from Claude

X is the one channel that costs money per call. Claude quotes the price before it posts, and a post carrying a link costs roughly 13× one without.

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. Claude reaches all of it through one connection. This page is about one slice of that — what Claude can actually do on X, and what X will not let it do.

Connect Hermoso to Claude

  1. Copy the connector URL. https://app.hermoso.ai/mcp
  2. Claude → Settings → Connectors → Add custom connector. Name it Hermoso and paste the URL.
  3. Connect and approve. Sign in with your Hermoso account on the consent page. There is no key to paste — the connector signs in with OAuth and mints its own.
  4. Ask Claude 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.

Claude and ChatGPT are the two clients where nothing is pasted: the hosted connector runs a full OAuth handshake with PKCE and dynamic client registration, and the key it mints is scoped to the brand workspace you approved it against — pinned on the server, not read off the request.

Then connect X 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 X tools Claude gets

  • post_to_x — posts text, an image or a video with alt text, a whole thread, a reply, or a poll — and can restrict who is allowed to reply.
  • schedule_post — queues it on the shared calendar.
  • x_post_metrics — the public counts on a post.
  • x_post_insights — advertiser-grade numbers — impressions, link clicks, profile visits, video views and completion quartiles — for the last 28 hours only.
  • x_post_insights_historical — the same numbers over any date range, up to 25 posts at a time. This is the one for “how did last month go”.
  • x_mentions — who is talking about the brand.
  • delete_x_post — removes a post.

X is the only connector that costs money per call, and the numbers are published rather than hidden. Meta, TikTok, LinkedIn, YouTube, Threads and Drive cost nothing per request; X charges us, so those calls bill a small number of credits each. A plain post is priced at $0.015 per request and a post containing a link at $0.200 — roughly 13× more. Deletes, reads and the alt-text metadata write each carry their own price, and insights bill per post returned. Link detection deliberately errs toward assuming a link is present, because guessing wrong the other way costs us 13×. The practical consequence: on X, one good post beats five, and your agent is quoted the price before it posts. Over-length copy is also refused, never truncated — 280 characters, with the overage counted for you and a suggestion to split it into a thread.

X limits worth knowing before you automate anything

TextAn X post is capped at 280 characters, and over-length copy is refused rather than truncated. 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.
VisibilityPublic only. A post on X is public the moment it exists — there is no draft and no unlisted post in the API. Protected accounts exist, but that is an account-wide setting Hermoso neither reads nor controls, not a per-post choice.
CarouselRefused, by name, and for a reason that is specific rather than generic: “X has no swipeable carousel. Its API attaches up to 4 media to a post and they render as a GRID — every image visible at once, nothing to swipe to — so a numbered ‘1/6 · SWIPE’ slide deck cannot be published there as intended. Post the single strongest slide to X, or drop X from this post.” A deck that instructs the reader to swipe, published as a grid, is worse than not publishing it.
Which accountNone — X publishes to the connected account.

Try it in Claude

Ask for it in ordinary language — these are sentences, not a DSL:

“Write me a five-post thread about what we learned from the last campaign, keep every post under 280 characters, and tell me what it will cost before you post it.”

That walks get_brandgenerate_textpost_to_xx_post_insights_historical. Every tool call happens inside the conversation, so you see the Page, the board or the caption before anything publishes, and you can stop it by saying so.

Claude on X: the part that bites

Because X bills per API request, a conversation is actually the right place to run it — Claude can price the thread before it sends it, and you can decide whether the link is worth 13× the plain post. The 280-character cap is enforced by refusal rather than truncation, with the overage counted for you, so nothing goes out half-said.

Claude Desktop uses the same Connectors flow as claude.ai — there is no separate desktop setup.

Research X before you post

There is no X ad library to search. X research here is your own account: mentions, post metrics and the historical advertiser numbers. Everything else in the research surface — Meta, Google and LinkedIn ad libraries, organic TikTok, Instagram, YouTube, Reddit and Threads — is unaffected.

The paid half

X Ads do not exist in Hermoso, and we name that rather than leaving it ambiguous. The X Ads API is a separate product on a separate host with its own OAuth 1.0a signing and its own approval process. X is an organic channel here: Hermoso posts, threads, replies, deletes and reads post metrics, and does not create or manage X ad campaigns.

What Claude 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 Claude, post to: Facebook · Instagram · Threads · TikTok · YouTube · LinkedIn · Pinterest — or see everything Claude can publish to.

Post to X from: ChatGPT · Claude Code · Cursor · Codex · Cline · OpenClaw · Hermes · AI marketing in Claude

Frequently asked questions

Can Claude post to X?

Yes, through Hermoso's MCP server. In Claude, add https://app.hermoso.ai/mcp as a custom connector and approve it with your Hermoso account — there is no key to paste. Claude then has 301 tools, including the ones that publish to X — and the ones that research the ads already running in your market and render the creative in the first place.

How do I connect X to Claude?

Two steps, once each. In Claude, add https://app.hermoso.ai/mcp as a custom connector and approve it with your Hermoso account — there is no key to paste. Then connect X inside Hermoso under Settings → Connectors, which is an OAuth consent screen in a browser. After that Claude publishes to X as an ordinary tool call.

Can Claude post a carousel to X?

No. X’s API attaches up to four media to a post and they render as a grid — every image visible at once, nothing to swipe to — so a numbered slide deck cannot be published there as intended. Claude calls the same publish tool either way, and a channel that cannot carry a carousel is refused with the real reason attached.

What does it cost to post to X from Claude?

X is the only connector that bills credits per call, because X charges per API request: roughly $0.015 for a post and $0.200 for a post containing a link — about 13 times more. Your agent is quoted the price before it posts. Plans are $19, $49 and $149 a month for 1,000, 3,000 and 10,000 credits, and every feature is on every plan including Free — the only exception is enterprise SSO.

Start free — 25 credits at signup and 250+ more to earn, and every feature on every plan.

Start free   See pricing