Post to X from Perplexity

X bills per API request, so Perplexity quoting the cost before it posts is part of the job. A post with a link costs roughly 13 times one without.

Hermoso is a marketing MCP server: 850+ 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. Perplexity reaches all of it through one connection. This page is about one slice of that — what Perplexity can actually do on X, and what X will not let it do.

Connect Hermoso to Perplexity

  1. Copy the connector URL. https://app.hermoso.ai/mcp
  2. Perplexity → Account settings → Connectors → + Custom connector → Remote. Name it Hermoso, paste the URL as the MCP Server URL, set Authentication to OAuth and Transport to Streamable HTTP, tick the acknowledgement and press Add.
  3. Click the Hermoso card to connect. Sign in with your Hermoso account on the consent page. The Client ID and Client Secret fields stay empty: Perplexity reads Hermoso’s OAuth endpoints from its discovery document and registers itself.
  4. Ask Perplexity 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.

Custom connectors are on Perplexity’s paid plans. In an Enterprise organization, members can add their own only if an admin has switched on Allow members to add custom connectors, which is off by default, and an admin can instead add Hermoso once for everyone. The steps and field names are quoted from Perplexity’s help center article on custom remote connectors, read on 2026-09-23. Hermoso is not affiliated with or endorsed by Perplexity.

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 Perplexity gets

  • post_to_x — posts text, an image or a video with alt text, a whole thread, a reply, a quote post, or a poll — and can restrict who is allowed to reply.
  • post_x_article — publishes a long-form Article. Write it in Markdown and the headings, lists, quotes, links, code blocks and tables all carry across.
  • edit_x_post — rewrites a post you have already published, inside the hour X allows.
  • 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. Length is the posting account’s, not a flat 280. Hermoso reads the account’s own X subscription and sends up to 25,000 characters where Premium allows it, so a long post goes out whole rather than coming back refused, and nothing is ever truncated. That happens to be the cheap shape too: one long post is a single billed X call where the same words split across five posts are five. X Premium also unlocks two things Hermoso publishes for you: a long-form Article, written in Markdown with its headings, lists, quotes, code blocks and tables intact, and an edit to a post you have already published, inside the hour X allows.

X limits worth knowing before you automate anything

TextLength is the posting account’s: 280 characters ordinarily, up to 25,000 with X Premium. Hermoso reads the subscription from X, so a long post goes out whole. Nothing is ever 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 Perplexity

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

“Summarise the three biggest stories in our industry this week as one X post with a link to the best source, and tell me the cost before posting.”

That walks get_brandgenerate_textpost_to_xx_post_insights_historical. How Perplexity confirms a tool call is Perplexity’s setting, not ours. Hermoso’s own gates hold either way: campaigns are born paused, spend switches and deletes need an explicit confirmation, and every render is priced before it runs.

Perplexity on X: the part that bites

A sourced post is a linked post, and on X that is the expensive kind, so decide whether the link earns its price. Length follows the account: 280 characters ordinarily, up to 25,000 on X Premium, read from the account’s own subscription and refused rather than cut if the post runs over.

Choose Streamable HTTP, not SSE, when you add the connector. Hermoso has no SSE endpoint, so an SSE connector fails the check Perplexity runs when you save it. In an Enterprise org, a connector an admin adds does not show up for members until it is shared from the Permissions screen.

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 landed in August 2026, so X is now both halves. The X Ads API is a separate product on a separate host with its own OAuth 1.0a signing, which is why it arrived after the rest — and Hermoso now builds the whole promoted-post tree on it: campaign, line item (X’s name for an ad group), promoted tweet, targeting, budgets, status and reporting. An X ad promotes a post, so the creative is a post — the same one Hermoso publishes organically. The switch that arms real money refuses to run without an explicit confirmation, exactly as on the other ten platforms. One thing to know before you plan a budget: X grants Ads API access per ad account rather than per app, so there is no OAuth button for it: you add Hermoso’s X user to your ad account at business.x.com → Account access, and it appears in list_x_ads_accounts with the permission level X gave it.

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

Post to X from: Claude · ChatGPT · Claude Code · Cursor · Codex · Cline · OpenClaw · Grok Bot · Hermes · Gemini CLI · Le Chat

Frequently asked questions

Can Perplexity post to X?

Yes, through Hermoso's MCP server. In Perplexity, add https://app.hermoso.ai/mcp as a custom connector and approve it with your Hermoso account — there is no key to paste. Perplexity then has 850+ 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 Perplexity?

Two steps, once each. In Perplexity, 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 Perplexity publishes to X as an ordinary tool call.

Does Perplexity need my X password?

No. You connect X to Hermoso once through an OAuth consent screen in a browser, and Perplexity then reaches it as a tool call. Linking an account is the one step that is not headless; nothing after it needs a password, and no credential is ever handed to the model.

Can Perplexity schedule a X post for later?

Yes. schedule_post queues it on one calendar shared with every other channel, with a per-channel caption if the copy should differ, and list_scheduled and cancel_scheduled read and pull it back. X is one of the ten channels that queue.

Start free — 30 credits at signup and 250+ more to earn, and every feature on every plan. Credits are spent only on AI models and Ad Spy research; posting, scheduling, ads management and analytics are free.

Start free   See pricing