When we built Spica Post, we ran into two engineering problems that show up quickly once you connect Bluesky alongside legacy social networks and let AI assistants drive the publishing workflow over MCP:
- Crossposting cleanly across ATProto and non-ATProto networks without garbling facets, splitting threads badly, or triggering infinite echo loops.
- Exposing a full publishing, analytics, inbox, and agency surface over MCP (219 tools total) without blowing up a client's context window on the first handshake.
Here are the concrete patterns that held up in production, along with two small browser tools we spun out for anyone building or posting on Bluesky.
1. Counting characters on Bluesky is not .length
Most naive schedulers check text.length <= 300 and ship it. On Bluesky (ATProto), that breaks in two directions:
- Grapheme clusters vs UTF-16 code units: Bluesky enforces a 300-grapheme limit, not 300 JS characters. Emoji sequences, flags, and accented characters count differently under
Intl.Segmenterthan.length. - UTF-8 byte ceiling and facet byte offsets: Bluesky also enforces a 3,000-byte UTF-8 ceiling on post text, and rich-text facets (links, mentions, hashtags) are indexed by UTF-8 byte offsets, not character indices. If your text contains multi-byte characters before a URL or mention and you calculate facet ranges with string indices, every link after that emoji highlights the wrong substring.
Compare that with X (280 weighted characters, where CJK characters weight 2 and every URL counts as 23 characters regardless of actual length) and Mastodon (500 graphemes on default instances). Because our validation logic already lived in shared modules, we exposed it as a free, no-login browser utility: the Social Media Character & Post Checker.
We also noticed how often new Bluesky accounts get tripped up by moderation labels or logged-out visibility settings without realizing it. Because Bluesky's public AppView exposes profile and label metadata directly, we built a client-side Bluesky Visibility & Label Checker that queries the public AppView straight from the browser with nothing stored.
2. Preventing echo loops in two-way auto-crossposting
People who post natively on Bluesky and X often want mirroring in both directions: write in whichever app is open, and have the post appear on the other network automatically.
That immediately creates two failure modes:
- Back-catalog blasts on setup: If a rule polls a feed right after creation without a watermark, it mirrors the user's last 10 old posts in one burst. We watermark every crosspost rule on creation so polling only picks up posts created after the rule turns on.
- Two-way ping-pong loops: Account A mirrors to Account B; the reverse rule sees the new post on Account B and mirrors it back to Account A. To stop this reliably across both single posts and stitched self-reply threads, we use a two-layer echo guard:
- Delivery receipts: Every post Spica Post publishes records its platform post ID so reverse pollers skip anything we originated.
- 24-hour normalized-text echo hash: Even if a network modifies whitespace, shortens a URL, or delays a receipt, matching normalized text within a 24-hour window blocks the bounce-back.
We also keep explicit user escape hatches in the rule engine: case-insensitive skip tags (default #nocrosspost, checked across every part of a stitched thread), choice of truncate, thread (splitting into native reply chains), or skip when a post exceeds a destination network's limit, and deterministic rkey handling for native Bluesky auto-reposts (app.bsky.feed.repost). The full behavior is documented on our Auto-crosspost page.
3. Serving 219 MCP tools in ~39 tools by default
Early on, dumping every endpoint into a flat MCP tools/list response looked convenient. Once our catalog grew past 100 tools (publishing, batch scheduling, multi-brand switching, approvals, unified inbox, link pages, short links, calendar feeds, webhooks, and REST parity), flat tool lists started eating tens of thousands of tokens before the user even typed a prompt. Some MCP clients also degrade noticeably past 40 to 50 tools.
Our fix was safety-split progressive discovery on the default /mcp endpoint:
- Default
/mcp: Exposes 39 daily tools (drafting, validating, scheduling, media, calendar, results, inbox) plus three meta-tools:tools_search,tools_read, andtools_run. That keeps the initial schema footprint under roughly 12K tokens while keeping all 219 catalog tools reachable on demand. - Composable URL profiles: Clients that want a tighter or specialized surface can connect with query parameters instead of waiting for discovery, such as
/mcp?profile=core(28 tools),/mcp?profile=links,inbox(composable domain sets), or/mcp?profile=fullfor clients that explicitly want the flat list. - Typed
outputSchemaandstructuredContent: Every tool returns structured payloads alongside plain summaries so assistants do not have to scrape prose to find a draft ID, link, or validation error.
Every tool, parameter, refusal code, and profile option is documented in our public MCP server guide and MCP tool reference.
Where things stand today
Spica Post (built by ML Apps LLC) connects X, Bluesky, and LinkedIn live today, with additional networks (Instagram, Facebook Pages, Threads, Google Business Profile, Pinterest, YouTube, and TikTok) built and switching on as each platform's app review clears. It pairs the MCP server and a 211-route REST API (/v1) with a web studio, with flat plans starting at Starter ($99 once for 3 accounts) and monthly Studio ($29/mo, 30 accounts), Pro ($99/mo, 150 accounts), and Agency ($150/mo, 500 accounts and unlimited seats, 7-day free trial on monthly plans).
If you are building on ATProto or wiring an assistant into Bluesky workflows, the Bluesky Visibility & Label Checker and Character & Post Checker are free to use without an account, and feedback on our ATProto facet or crosspost edge cases is always welcome at @spicapost.com.