---
name: broadcast
description: Write, adapt per network and schedule social media posts (X, LinkedIn, Bluesky, Instagram, Facebook, Threads, TikTok, YouTube, Mastodon) through Broadcast. Use when the user wants to draft, plan, schedule, review or check posts on their social networks.
---

# Broadcast

Broadcast (https://broadcastsocial.app) publishes one post to several social networks, now or at a scheduled time. The user writes or approves; you draft, adapt and schedule. It is a subscription (7-day free trial, then €9 a month billed yearly or €12 monthly) with no limit on posts; X posts also cost credits, 30 a month being included.

Talk to the user in their own language. Keep it short and concrete: show the post as it will appear, not the API call.

## 1. Connect

Broadcast tools are named `list_accounts`, `get_schedule`, `validate_post`, `upload_media`, `schedule_post`, `update_post`, `get_post`, `get_stats`, `cancel_post`, and for RSS feeds `list_feeds`, `follow_feed`, `update_feed` and `unfollow_feed`. If you already have them, skip to step 2.

Otherwise add the Broadcast MCP server (streamable HTTP, OAuth: a Broadcast page opens and the user clicks "Allow"; no key to paste):

- Claude Code: `claude mcp add --transport http broadcast https://broadcastsocial.app/mcp`
- Codex: `codex mcp add broadcast --url https://broadcastsocial.app/mcp` then `codex mcp login broadcast`
- Gemini CLI: `gemini mcp add --transport http broadcast https://broadcastsocial.app/mcp`
- Cursor, in `~/.cursor/mcp.json`: `{ "mcpServers": { "broadcast": { "url": "https://broadcastsocial.app/mcp" } } }`
- Any other client: add a remote MCP server named "broadcast" with the URL https://broadcastsocial.app/mcp.

Tell the user if the client must be restarted. The user needs a Broadcast account (https://broadcastsocial.app/signup; 7-day free trial, then a subscription) with at least one network linked in the app.

No MCP support? Use the REST API at https://broadcastsocial.app/api/v1 with an API key the user creates in Broadcast (My account > Integrations), read from the `BROADCAST_API_KEY` environment variable, never written into files: `Authorization: Bearer $BROADCAST_API_KEY`. Same fields as the tools: `GET /accounts`, `GET /posts?from=&to=&status=&limit=` (any period, `limit` 200 max, default 50), `POST /posts/validate`, `POST /posts`, `PATCH /posts/{id}`, `DELETE /posts/{id}`, `POST /media` (JSON `{ "url" }` or a multipart `file`), `GET /rules`, `GET /stats?from=&to=`, `GET /feeds`, `POST /feeds`, `PATCH /feeds/{id}`, `DELETE /feeds/{id}`. Every error answers JSON `{ "error": { "code": "…", "message": "…", "details"?: … } }` with code `bad_request` (400, `details` lists the invalid fields), `unauthorized` (401), `insufficient_credits` (402), `subscription_required` (402: the trial ended without a subscription; say so and give the link in the message), `forbidden` (403), `not_found` (404), `conflict` (409), `rate_limited` (429) or `internal` (500, worth one retry). Add the header `X-Broadcast-Source` with the https link of your session or run, when you have one, to link the user's activity log back to it.

## 2. Workflow

1. `list_accounts`: see which networks are linked. Only target those; if a network the user wants is missing, tell them to link it in Broadcast (Networks). When accounts carry a `project`, a post goes to one project's accounts only: pass their ids. When the user did not say which project, ask before going further, as a multiple-choice question where the host offers one (one option per project, with its name and its networks), and never split one request into a post per project on your own.
2. `get_schedule` with `from`/`to` around the chosen date: avoid duplicates and posts too close together.
3. Draft one main text, then adapt it per network with `overrides` (keyed by platform or account id): short and punchy for X and Bluesky, more context for LinkedIn and Facebook, a caption for Instagram and TikTok.
4. Media: `upload_media` with a public URL returns a `key` for `media`. Instagram and TikTok require an image or a video, YouTube one video. When the formats differ per network, keep one post and give those networks their own media in `mediaOverrides` (keyed like `overrides`), rather than one post per format: see "Media per network" below.
5. `validate_post`: fix every error, read the warnings, and show the user the exact text each network will receive. In a host that displays MCP views, `validate_post`, `schedule_post`, `update_post` and `get_post` already show the post as a preview card: do not repeat its content, one sentence is enough.
6. `schedule_post` with `scheduledAt` (ISO 8601 with offset; the user's time zone is usually Europe/Paris, ask if unsure) and always an `idempotencyKey` (a stable slug such as `2026-10-20-launch-post`) so a retry never creates a duplicate. If you know the https link of this conversation or session (a Claude Code session, for instance), pass it as `sourceUrl` on every tool that changes something: the user's activity log in Broadcast then links back to it.
7. Give the user the date, the networks and a one-line summary of each post. Remind them that it waits for their approval, from the preview card when the host shows one or in Broadcast.

To change a post: `update_post` (only the fields given change). To remove one: `cancel_post`, only when the user asks. Check results of a published post with `get_post` (its `stats` per network), and what worked over a period with `get_stats` (best posts, numbers per network): use it to suggest topics and times for the next posts.

## 3. Rules that matter

- **Approval by default.** Posts are created with status `review` ("To approve"): they appear in the user's calendar and go out only after the user approves them. Use `status: "scheduled"` (publishes automatically, needs the publish permission) only when the user explicitly asks to publish without approval. Never decide that on your own.
- **X costs credits.** 1 credit per X post, 10 when it contains a link; each reply on X counts as one more post. Mention it when a post with a link targets X: when approving, the user can tick "Post without the link on X" in the editor, or you can leave `link` out of the post. At zero credits X posts stop; other networks are free.
- **Replies.** `replies` lists messages posted under the post right after it, from the same account: `{ "text": "…", "media": [ … ] }` each. On X, Bluesky, Threads and Mastodon they form a thread, each one replying to the one before (4 images or one video each; 280 characters on X with links at 23, 300 on Bluesky, 500 on Threads and Mastodon). On LinkedIn, Facebook and Instagram only the first goes out, as a comment, text only: good for keeping a link out of a LinkedIn post or adding the source. When one long text goes everywhere, put a short opening in `overrides.x` (and `overrides.bluesky`) and the rest in `replies`; `noReplies: ["linkedin"]` keeps LinkedIn on the whole text without a comment. Up to 24; each costs credits on X. If one fails, the post stays published and the automatic retries carry on from that reply. (`xThread` and `firstComment` are older names, still accepted.)
- **Links.** `link` is appended after the text and becomes a preview card on Bluesky, Mastodon, Threads, Facebook and LinkedIn when there is no media. Links are not clickable on Instagram and TikTok: say "link in bio" there instead.
- **Alt text.** Give every image an `alt`: a short, factual description of what it shows, in the post's language (no "image of"). Pass it to `upload_media`, or per media in `media` / `mediaOverrides` (`{ "key": "…", "alt": "…" }`, which wins). It is sent on Bluesky, Mastodon, X, LinkedIn, Threads, Facebook and Instagram (not on Instagram stories or Reels).
- **Hashtags** go in `hashtags` (a few relevant ones, not a wall), added on their own line.
- **Media per network.** `mediaOverrides` replaces `media` for a network (keyed by account id or platform); a network without an entry gets `media`, and an empty list posts the text alone. Each network is validated with its own media, and `validate_post`, `get_post` and `get_schedule` show the media each target gets (`previews[].media`, `targets[].media`). On `update_post`, `mediaOverrides` replaces every entry at once, like `overrides`. `instagramStory` takes `true` or an object per Instagram account id.
- **TikTok** posts always need the user's review in the app (they pick the TikTok settings there).
- Write like the user, not like a brand: no invented facts, figures or quotes; no emoji spam; one idea per post.

Network limits (the server enforces them; `validate_post` gives the exact length):
- x: 280 chars (links count 23); Every link counts as 23 characters. Up to 4 images or 1 video.
- bluesky: 300 chars; Up to 4 images or 1 video (50 MB max). Without media, the first link becomes a preview card.
- facebook: 63206 chars; Published on the linked Facebook Page. Without media, the first link becomes a preview card.
- instagram: 2200 chars; Media required, JPEG images and MP4 or MOV videos only: one image, one video (Reel), or a carousel of up to 20 images and videos, mixed. With instagramStory: true, published as a story instead: exactly one image or one video (60 s max), no caption, no replies, gone after 24 h. Links in the caption are not clickable.
- tiktok: 2200 chars; Media required: one video or a set of images. Links are not clickable; hashtags are recognised. Status scheduled needs `tiktok` settings (privacy chosen by the user); without them use status review and the user picks them in Broadcast.
- linkedin: 3000 chars; Published on the linked personal profile. Up to 20 images or 1 video. Without media, the first link becomes an article card.
- mastodon: 500 chars; Up to 4 images or 1 video.
- youtube: 5000 chars; One video required, no images. The text becomes the description; the title is its first line (100 chars max). Published public, not made for kids, unless changed in Broadcast. Vertical videos of 3 min or less become Shorts.
- threads: 500 chars; The 500 limit counts UTF-8 bytes: an accented letter takes 2, an emoji 4. Up to 20 images (JPEG or PNG) and videos (MP4 or MOV, 5 min max), mixed in a carousel, at most 5 links. Without media, the first link becomes a preview card. Only the first hashtag becomes a topic.

## 4. Media per network: an example

One message, a vertical 9:16 video for TikTok, Instagram (a Reel) and YouTube (a Short), and a 4:5 carousel of four images for X, Facebook, Threads, Bluesky and Mastodon. Upload each file once with `upload_media`, then:

```json
{
  "body": "Our new boat is in the water.",
  "platforms": ["tiktok", "instagram", "youtube", "x", "facebook", "threads", "bluesky", "mastodon"],
  "media": [{ "key": "<image 1, 4:5>", "alt": "…" }, { "key": "<image 2>" }, { "key": "<image 3>" }, { "key": "<image 4>" }],
  "mediaOverrides": {
    "tiktok": [{ "key": "<vertical video>" }],
    "instagram": [{ "key": "<vertical video>" }],
    "youtube": [{ "key": "<vertical video>" }]
  },
  "scheduledAt": "2026-11-20T18:00:00+01:00",
  "idempotencyKey": "2026-11-20-boat-launch"
}
```

The same key serves the three vertical targets; the post shows once in the calendar with one thumbnail per format. Four images because X, Bluesky and Mastodon take four at most: for a longer carousel on Instagram, Threads or Facebook, give them their own list. The X credit cost depends only on the text and link.

## 5. Ideas for recurring use

If the user publishes regularly (a changelog, a blog, a weekly tip), offer to prepare the next posts in one go, spread over the week, all in review status so they approve them in a minute from the calendar. For a post that comes back on a rhythm, set `repeat` (day, week or month) on `schedule_post`; for a blog, `follow_feed` turns each new article into a post.
