Mastodon
No central review gate. Registers an OAuth app on your instance.
Connection note
Enter your instance's address (for example mastodon.social). You sign in on your instance and approve access; the account signed in there in this browser is the one connected.
Specification summary
- Text limit
- 500 charactersWeighted (URLs count as 23, other characters as 1)
- Media attachments
- up to 4 images, up to 1 gif, up to 1 video (one kind per part)
- Threads and parts
- Threaded reply chain (up to 25 parts)
- Authentication
- OAuth 2.0 with PKCENo shared central platform app required.
- Approvals and autonomy
- Starts on Approve everything; supports auto-publish when enabledDefault publish:
in_the_loop· Ceiling:full_auto - Analytics and API cost
- Allowed for analytics and learningIncluded (no per-call platform API surcharge)
Authentication and token lifecycle
Credentials are encrypted at rest and scoped to the connected channel. You can revoke and scrub stored tokens immediately via POST /v2/channels/disconnect or from the web app; see Data deletion for full revocation and deletion details.
| Variant | Flow | Refresh policy | Platform scopes |
|---|---|---|---|
| Sign in with your Mastodon instance | OAuth 2.0 with PKCE | none | read:accountsread:statuseswrite:statuseswrite:mediawrite:accounts |
Content and media constraints
Editor mode: rich. Minimum text length: 0. Polls: supported (2 to 4 options, max 50 chars, up to 730 h). AI content disclosure: no API disclosure field.
| Kind | Accepted MIME types | Max count | Max file size | Additional bounds |
|---|---|---|---|---|
image | image/jpegimage/pngimage/webp | 4 | 16 MiB | None |
gif | image/gif | 1 | 16 MiB | None |
video | video/mp4video/webmvideo/quicktime | 1 | 99 MiB | None |
Account-flag overrides
- Bot account
botThe account carries Mastodon's bot label, read from the account at connect. Instances expect automated accounts to carry it; the set_bot_label tool changes it.
Guardrails, rate limits and compliance
Manifest validation rules
- Hard rule
mastodon.char_limitKeep each part within 500 characters including its content warning; every link counts as 23 characters and a mention of another instance's account counts only its @username.
- Hard rule
mastodon.media_mixAttach up to 4 images, or exactly 1 GIF, or exactly 1 video per part, never a mix, and never media together with a poll.
- Hard rule
mastodon.no_directNever address a post privately: direct (private mention) visibility is not offered.
- Advice
mastodon.alt_textDescribe every image and video in its alt text; Mastodon communities expect media descriptions.
- Advice
mastodon.content_warningPut spoilers and sensitive topics behind a content warning; the post stays collapsed until opened.
- Advice
mastodon.bot_labelAn account that posts automatically should carry the bot label; check the channel's bot flag.
Queue and rate-limit windows
Worker queue: mastodon (max 5 concurrent jobs). Supports asynchronous platform processing (poll interval 5s, budget 30 min).
| Scope | Operation | Window | Max operations |
|---|---|---|---|
channel | api_call | 5 min | 300 |
Shipped platform guardrails
- forbidApplies to: agent, oauth_client, api_key
Automated replies to other people's posts are engagement automation, which Honeloop does not do on any platform (26 R4-N1). Replies within the account's own thread stay allowed.
- forbidApplies to: user, api_key, oauth_client, agent
A private mention (direct visibility) is a direct message, which is out of scope (constitution §1).
Manifest helper tools
Invoke via POST /v2/providers/invoke_tool or MCP invoke_provider_tool:
- Set the bot label
set_bot_labelchannels:manageTurn Mastodon's bot label on or off for the connected account. Example: {"bot":true} returns {"bot":true}. The label tells other people the account posts automatically.
Publish to Mastodon
Every call passes the same 12-stage policy gate, manifest preflight check and audit trail. Under the default in_the_loop policy, scheduling returns HTTP 202 ApprovalDiversion until a reviewer approves.
# Draft and schedule for your Mastodon channel (provider: mastodon) hl posts create --channels "$CHANNEL_ID" --text "Speckled oatmeal mugs from the autumn firing are in the shop Tuesday at 10:00." hl posts schedule "$POST_ID" --version 1 --at 2026-11-26T09:30:00Z hl posts status "$POST_ID"
curl -sS -X POST "https://api.honeloop.example/v2/posts/create" \
-H "Authorization: Bearer $HONELOOP_AGENT_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: create-mastodon-0001" \
-d '{
"channel_ids": ["0197e3a0-0000-7000-8000-0000000000a5"],
"parts": [
{ "kind": "text", "text": "Speckled oatmeal mugs from the autumn firing are in the shop Tuesday at 10:00." }
]
}'Common questions
How does Honeloop count characters for Mastodon?
Mastodon allows up to 500 characters by default using Weighted (URLs count as 23, other characters as 1). Honeloop validates text length before scheduling and rejects over-limit drafts with 400 validation_failed instead of failing after approval.
What media and multi-part formats does Mastodon support?
up to 4 images, up to 1 gif, up to 1 video (one kind per part). Threaded reply chain (up to 25 parts).
How do authentication and approvals work on Mastodon?
Mastodon connects via OAuth 2.0 with PKCE. Starts on Approve everything; supports auto-publish when enabled. Disconnecting the channel immediately revokes and scrubs stored credentials.
What compliance guardrails apply to Mastodon?
Analytics AI posture is allowed. Cost model: Included (no per-call platform API surcharge). Access status: open protocol with no central app review gate.