A key sees only the tools its permissions allow. The icons show where a tool works: most work on every platform; the ones that depend on a platform feature — playlists and boards, captions, comments, account analytics — show the platforms that have it, and answer with an error for an account or post elsewhere.
This page is generated from the catalog the server publishes at
/mcp/tools.json, so it always matches what agents see.
read
See channels, posts, their status, playlists and captions.
List the connected channels: id, platform, name, handle, status, the capabilities its platform supports (e.g. comments, analytics), and formats: what one post can hold there (video, image, a carousel of min–max files, image types, video length, upright). status 'reconnect' means the channel must be connected again (connect_channel, or /channels) — also after mixetape asks for new permissions.
List posts, newest scheduled time first, a page at a time — narrow by account, platform, status, time or words in the title/caption. Statuses: scheduled (waiting in mixetape, editable with update_post), publishing (uploading), uploaded (on the platform, private until its time), published (live; change with edit_published_post), failed, cancelled. Returns { posts, nextCursor }; pass nextCursor back as cursor for the next page (null on the last).
- accountId
- list of text — Only posts on these accounts
- provider
- list of text — Only posts on these platforms, e.g. youtube, instagram
- status
- list of one of: scheduled, publishing, uploaded, published, failed, paused, cancelled — Only posts in these statuses
- groupId
- text — Only posts published from this group
- search
- text — Words in the title, caption or description
- from
- text — Scheduled at or after: ISO 8601 with a timezone offset
- to
- text — Scheduled at or before: ISO 8601 with a timezone offset
- updatedSince
- text — Changed at or after — status, error, time or words. Poll with the time of your last check to see what went out or failed since: ISO 8601 with a timezone offset
- limit
- whole number — Posts per page, default 50
- cursor
- text — nextCursor from the previous page
One post with its status, error, platform link and attempts.
- idrequired
- text — mixetape post id (list_posts)
How a post that is on the platform stands right now: visibility, processing, scheduled publish time, any rejection, plus lifetime views, likes and comments. For watch time and retention use get_post_analytics.
- idrequired
- text — mixetape post id (list_posts)
List the account's collections — playlists on YouTube, boards on Pinterest — with id, title, visibility and item count. Use an id in metadata.playlistIds (YouTube), metadata.boardId (Pinterest) or add_to_collection.
- accountIdrequired
- text — mixetape account id (list_accounts)
List the caption tracks of a post on the platform (language, name, kind; 'asr' is automatic).
- idrequired
- text — mixetape post id (list_posts)
List the brands — the user's groups of connected channels (e.g. Hans Explainer: its YouTube channel and Facebook Page) — each with its accountIds (list_accounts ids).
publish
Schedule, change, cancel and retry posts, and set thumbnails.
Schedule a video on a connected account (see list_accounts for each account's platform). The post waits in mixetape (editable, cancellable) until shortly before scheduledAt. YouTube and Facebook get it leadMinutes early, unpublished, and publish it themselves at scheduledAt; Instagram and Threads get it prepared leadMinutes early and mixetape publishes it at scheduledAt; TikTok and Pinterest cannot hold a post, so mixetape posts it at scheduledAt. Each platform takes its own metadata (Facebook format reel for a Reel, Pinterest boardId is required, TikTok privacyLevel). Thumbnail, playlists and captions are applied right after upload where the platform supports them; firstComment is posted once it is public. mediaUrl: a public https URL, or an r2:// URL from mixetape storage (create_upload / import_media). For several files in one post — a carousel on Instagram, Threads or Pinterest, a photo album on Facebook — pass media (a list of URLs, in order) instead of mediaUrl; list_accounts shows what each platform takes (formats). Files in mixetape storage are checked against it before the post is accepted.
- accountIdrequired
- text — mixetape account id (list_accounts)
- mediaUrl
- text — One file: a public https URL, or an r2:// URL from mixetape storage
- media
- list of text — Several files in one post, in order (https or r2:// URLs) — a carousel or photo album. Use instead of mediaUrl.
- caption
- text
- scheduledAt
- text — When it goes live; left out, it goes live once the lead has passed: ISO 8601 with a timezone offset
- leadMinutes
- whole number — How long before scheduledAt mixetape uploads or prepares it, so the platform finishes processing first. Defaults: YouTube and Facebook 30, Instagram 15, Threads 10; TikTok and Pinterest always 0. Facebook takes 0 or at least 15.
- metadata
- object, per platform
- idempotencyKey
- text — Any unique text (e.g. a UUID) for this one action. Repeating the call with the same key — say after a timeout — returns the first result instead of doing it twice.
Change a post that is still 'scheduled' (waiting in mixetape): its time, lead, media, caption or metadata (merged; null clears a field). Once it is on the platform, use edit_published_post.
- idrequired
- text — mixetape post id (list_posts)
- mediaUrl
- text — One file: a public https URL, or an r2:// URL from mixetape storage
- media
- list of text — Several files in one post, in order (https or r2:// URLs) — a carousel or photo album. Use instead of mediaUrl.
- caption
- text
- scheduledAt
- text — When it goes live; left out, it goes live once the lead has passed: ISO 8601 with a timezone offset
- leadMinutes
- whole number — How long before scheduledAt mixetape uploads or prepares it, so the platform finishes processing first. Defaults: YouTube and Facebook 30, Instagram 15, Threads 10; TikTok and Pinterest always 0. Facebook takes 0 or at least 15.
- metadata
- object, per platform
Cancel a post that is still 'scheduled'.
- idrequired
- text — mixetape post id (list_posts)
Send a 'failed' post again — now, or at its original time if that is still ahead.
- idrequired
- text — mixetape post id (list_posts)
Set or replace the custom thumbnail of a post already on the platform. imageUrl: public https JPEG/PNG (YouTube: ≤ 2 MB, 1280×720, verified channel). For a post still 'scheduled', use update_post with metadata.thumbnailUrl.
- idrequired
- text — mixetape post id (list_posts)
- imageUrlrequired
- text
Publish a group to brands and/or channels: one post per channel that can take it (see plan_group), all at scheduledAt. Channels that cannot are skipped with their reasons; answers { scheduled: [{ accountId, postId }], skipped, failed }. The posts behave like any from create_post — editable and cancellable until they go out. Once every post is out (or cancelled), the files are deleted from storage, and the emptied group with them.
- idrequired
- text — Group id (list_groups)
- brandIds
- list of text — Brands: every channel in them
- accountIds
- list of text — Single channels
- scheduledAt
- text — ISO 8601 with a timezone offset; left out, each post goes live after its lead
- leadMinutes
- whole number — The same lead for every channel; left out, each platform keeps its default
- idempotencyKey
- text — Any unique text (e.g. a UUID) for this one action. Repeating the call with the same key — say after a timeout — returns the first result instead of doing it twice.
Like publish_group, for files that are not in a group: one post per channel that can take them (see plan_media), all at scheduledAt; the others are skipped with their reasons. Answers { scheduled: [{ accountId, postId }], skipped, failed }. Once every post is out (or cancelled), the files are deleted from storage.
- fileIdsrequired
- list of text — Files from storage, in order — several make a carousel or album. Each must be ready (its upload finished).
- title
- text — Title where the platform has one (YouTube, Pinterest)
- caption
- text — The post text; the default on every platform
- description
- text — Longer description where the platform has one
- metadata
- object — Fields every platform shares (tags, thumbnailUrl, firstComment, …) and platforms: { youtube: { … }, instagram: { … } } with each platform's overrides.
- brandIds
- list of text — Brands: every channel in them
- accountIds
- list of text — Single channels
- scheduledAt
- text — ISO 8601 with a timezone offset; left out, each post goes live after its lead
- leadMinutes
- whole number — The same lead for every channel; left out, each platform keeps its default
- idempotencyKey
- text — Any unique text (e.g. a UUID) for this one action. Repeating the call with the same key — say after a timeout — returns the first result instead of doing it twice.
manage
Edit videos already on the platform, manage playlists and upload captions.
Change the details of a post that is already on the platform (uploaded or published). YouTube: title, description, tags, category, privacy, made-for-kids, language and localizations (50 quota units). Facebook: title and description. Only the given fields change; null clears one.
- idrequired
- text — mixetape post id (list_posts)
- metadatarequired
- object, per platform
Create a collection on the account: a YouTube playlist or a Pinterest board.
- accountIdrequired
- text — mixetape account id (list_accounts)
- titlerequired
- text
- description
- text
- visibility
- one of: public, unlisted, private
Add a post that is on the platform to a collection (YouTube playlist, or save a Pin to another Pinterest board). position 0 puts it first; omitted puts it last. For a post still 'scheduled', set metadata.playlistIds instead.
- idrequired
- text — mixetape post id (list_posts)
- collectionIdrequired
- text
- position
- number
Upload a subtitle track to a post on the platform: public https SRT or WebVTT on YouTube (400–450 quota units), SRT on Facebook. A track with the same language (and name) is replaced.
- idrequired
- text — mixetape post id (list_posts)
- languagerequired
- text — BCP-47, e.g. "en", "id"
- name
- text — Track name; empty is the default track
- urlrequired
- text — A public https SRT (or WebVTT on YouTube) file
- isDraft
- true / false — Upload without publishing the track
comments
Read, post, reply to and moderate comments.
Read the comments on a post (with replies). Comment ids are what reply_to_comment and moderate_comment take. held: true lists comments held for review.
- idrequired
- text — mixetape post id (list_posts)
- limit
- whole number — Default 20
- order
- one of: time, relevance
- held
- true / false — Only comments held for review
Post a comment on a public post as the channel itself — e.g. from a Short, a link to the full video. Neither API can pin it; pin it on the platform.
- idrequired
- text — mixetape post id (list_posts)
- textrequired
- text
Reply to a comment on one of the account's posts, as the channel.
- idrequired
- text — mixetape post id (list_posts)
- commentIdrequired
- text
- textrequired
- text
Publish, hold for review, or reject (hide) a comment on one of the account's posts. banAuthor with 'rejected' also hides the author's future comments.
- idrequired
- text — mixetape post id (list_posts)
- commentIdrequired
- text
- statusrequired
- one of: published, heldForReview, rejected
- banAuthor
- true / false — With rejected, also hide the author's future comments
analytics
Read post and channel analytics.
A post's analytics: views, watch time, average view duration and percentage, likes, comments, shares, subscribers gained/lost, the audience-retention curve and traffic sources. Defaults to the day it went up through today; the last ~3 days are incomplete.
- idrequired
- text — mixetape post id (list_posts)
- from
- text — First day
- to
- text — Last day
An account's analytics: totals, day by day, its top 10 posts (with the mixetape post id when published through mixetape) and traffic sources. Defaults to the last 28 days; the last ~3 days are incomplete.
- accountIdrequired
- text — mixetape account id (list_accounts)
- from
- text — First day
- to
- text — Last day
media
Upload, import, list and delete files in Media & Storage.
Upload a local file (up to 5 GB) to mixetape storage, in two steps. 1) This returns fileId and uploadUrl, a presigned URL valid for 6 hours: send the whole file in one PUT with exactly the returned Content-Type header — the returned curl command does it (replace <file>); no API key is needed for the PUT. 2) Then call finish_upload with the fileId: mixetape checks the file and reads what it is. After that, url (r2://…) works as mediaUrl in create_post; with groupId the file lands in that group. Storage is temporary: the file is deleted once its post is published or cancelled, or 24 hours after upload (expiresAt) if no post uses it by then — schedule it within a day. For a file already on the web use import_media.
- fileNamerequired
- text
- contentType
- text — e.g. "video/mp4", "image/jpeg"
- size
- whole number — Size in bytes, to refuse files over 5 GB early
- groupId
- text — Put the file in this group, after its other files
Finish an upload once its PUT is done: mixetape finds the file and reads its kind, width, height, orientation and duration. Answers the file. Safe to call again.
- fileIdrequired
- text — From create_upload
Copy a file from a public https URL (up to 5 GB, with a Content-Length) into mixetape storage — e.g. a video from a render service whose link expires. mixetape fetches it and reads what it is; nothing is sent from your machine. Answers the file, ready to use.
- urlrequired
- text — A public https URL, up to 5 GB, with a Content-Length
- fileName
- text — Defaults to the URL's file name
- groupId
- text — Put the file in this group, after its other files
- idempotencyKey
- text — Any unique text (e.g. a UUID) for this one action. Repeating the call with the same key — say after a timeout — returns the first result instead of doing it twice.
List the files in your mixetape storage, newest first — each with url (r2://…), kind, size, width, height, orientation (vertical/horizontal/square) and duration. Narrow by kind or words in the file name. Returns { files, nextCursor }; pass nextCursor back as cursor for the next page (null on the last).
- kind
- list of one of: video, image, other — Only these kinds
- search
- text — Words in the file name
- groupId
- text — Only the files in this group
- loose
- true / false — Only files in no group
- limit
- whole number — Files per page, default 50
- cursor
- text — nextCursor from the previous page
One file in storage: its url, kind, size, width, height, orientation, duration.
- filerequired
- text — The file's id, or its url (r2://…)
Delete a file from mixetape storage (it leaves its group). Refused while a post that has not gone out yet points at it.
- filerequired
- text — The file's id, or its url (r2://…)
channels
Start connecting channels (you still approve each one on the platform).
Remove a channel from mixetape, with its posts and their history; nothing changes on the platform. Refused while the channel has posts waiting to go out — cancel them first (cancel_post). Only when the user asks for it.
- accountIdrequired
- text — Account id (list_accounts)
Start connecting a channel: returns a sign-in link for the platform. Give the link to the user — they open it in any browser, sign in with the account that owns the channel and allow access; nothing is connected until they do. The link works once, for 10 minutes. Then call get_connection with the returned state.
- platformrequired
- one of: youtube, facebook, instagram, threads, tiktok, pinterest, bluesky, mastodon — The platform to connect; one mixetape has no app for yet is refused
- account
- text — Who is connecting, where the platform needs it: the Mastodon account (@you@mastodon.social — its server is what counts), or a Bluesky handle (optional)
Where a connect_channel attempt stands. 'pending': the user has not finished yet (ask again shortly). 'done': channels lists what was connected or refreshed. 'choose': the sign-in reached several new channels (e.g. Facebook Pages) — ask the user which to add, then call choose_channels; refreshed lists channels that were already connected and just got new access. 'error': why it failed.
- staterequired
- text — The state connect_channel returned
Add the channels the user picked after get_connection answered 'choose'. The choice is held for 10 minutes after the sign-in; channels left out are not connected.
- staterequired
- text — The state connect_channel returned
- platformAccountIdsrequired
- list of text — platformAccountId of each chosen channel, from get_connection's choices
Group connected channels as a brand.
- namerequired
- text
- accountIds
- list of text — The brand's channels; on update this replaces the whole list
Rename a brand and/or replace its channels (accountIds replaces the whole list).
- idrequired
- text — Brand id (list_brands)
- name
- text
- accountIds
- list of text — The brand's channels; on update this replaces the whole list
Delete a brand. Its channels stay connected.
- idrequired
- text — Brand id (list_brands)
groups
Make, change and read groups in Media & Storage (files that go out together, with drafted words).
Make a group in the library: files that go out together (a carousel), with the title, caption and metadata you drafted, so the user can publish it from the workspace in a few clicks. Empty is fine — then upload into it with create_upload or import_media (groupId). Answers the group with its files (kind, size, orientation, duration).
- title
- text — Title where the platform has one (YouTube, Pinterest)
- caption
- text — The post text; the default on every platform
- description
- text — Longer description where the platform has one
- fileIds
- list of text — Files from storage, in order — a carousel's order. Each must be ready (its upload finished); a file in another group moves here. On update this replaces the group's files; the ones left out stay in storage.
- metadata
- object — Fields every platform shares (tags, thumbnailUrl, firstComment, …) and platforms: { youtube: { … }, instagram: { … } } with each platform's overrides (the same fields as a post's metadata on that platform; a caption there replaces the caption on that platform). On update it is merged; null clears a field or a platform.
Change a group: the given fields only (null clears one); fileIds, when given, replaces its files and their order (the ones left out stay in storage); metadata is merged.
- idrequired
- text — Group id (list_groups)
- title
- text — Title where the platform has one (YouTube, Pinterest)
- caption
- text — The post text; the default on every platform
- description
- text — Longer description where the platform has one
- fileIds
- list of text — Files from storage, in order — a carousel's order. Each must be ready (its upload finished); a file in another group moves here. On update this replaces the group's files; the ones left out stay in storage.
- metadata
- object — Fields every platform shares (tags, thumbnailUrl, firstComment, …) and platforms: { youtube: { … }, instagram: { … } } with each platform's overrides (the same fields as a post's metadata on that platform; a caption there replaces the caption on that platform). On update it is merged; null clears a field or a platform.
One group: its files in order, its drafted words, and the posts published from it.
- idrequired
- text — Group id (list_groups)
List the library's groups, newest first, with their files — narrowed by words in the title, caption or description. Returns { groups, nextCursor }; pass nextCursor back as cursor for the next page (null on the last).
- search
- text — Words in the title, caption or description
- limit
- whole number — Groups per page, default 50
- cursor
- text — nextCursor from the previous page
Delete a group. Its files stay in storage, in no group — unless deleteFiles, which deletes them too (except any a post not yet sent still needs).
- idrequired
- text — Group id (list_groups)
- deleteFiles
- true / false — Delete its files too
Before publishing a group: for each channel of the given brands and channels, whether its files can go there and as what (label: Short, Video, Reel, Photo, Carousel, Album, Pin…), problems that stop it (a platform that takes no images, too many files, a missing YouTube title or Pinterest boardId, a channel to reconnect), warnings (a horizontal video for Reels), and the caption and metadata the post would carry. Publishes nothing.
- idrequired
- text — Group id (list_groups)
- brandIds
- list of text — Brands: every channel in them
- accountIds
- list of text — Single channels
Like plan_group, for files that are not in a group: for each channel of the given brands and channels, whether these files can go there as one post and as what, what stops it, what is not ideal, and the caption and metadata the post would carry. Publishes nothing.
- fileIdsrequired
- list of text — Files from storage, in order — several make a carousel or album. Each must be ready (its upload finished).
- title
- text — Title where the platform has one (YouTube, Pinterest)
- caption
- text — The post text; the default on every platform
- description
- text — Longer description where the platform has one
- metadata
- object — Fields every platform shares (tags, thumbnailUrl, firstComment, …) and platforms: { youtube: { … }, instagram: { … } } with each platform's overrides.
- brandIds
- list of text — Brands: every channel in them
- accountIds
- list of text — Single channels
webhooks
Add, change and remove webhooks that are told when posts and channels change.
List the webhooks, with the events each gets and how its last delivery went.
Add an https endpoint mixetape POSTs events to (post.uploaded, post.published, post.failed, post.cancelled, account.reconnect_needed), signed per Standard Webhooks. Answers { webhook, secret }: the secret is shown only now — hand it to whoever verifies the signatures.
- urlrequired
- text — The https endpoint that receives the events
- events
- list of one of: post.uploaded, post.published, post.failed, post.cancelled, account.reconnect_needed — What to be told about: post.uploaded (a post is on the platform, waiting for its publish time); post.published (a post went live); post.failed (a post failed; its error says why); post.cancelled (a post was cancelled); account.reconnect_needed (a channel lost its access and must be connected again). Left out on create, all of them.
- description
- text — A note on what it is for
Change a webhook: the given fields only; enabled: true turns one that was turned off back on.
- idrequired
- text — Webhook id (list_webhooks)
- url
- text — The https endpoint that receives the events
- events
- list of one of: post.uploaded, post.published, post.failed, post.cancelled, account.reconnect_needed — What to be told about: post.uploaded (a post is on the platform, waiting for its publish time); post.published (a post went live); post.failed (a post failed; its error says why); post.cancelled (a post was cancelled); account.reconnect_needed (a channel lost its access and must be connected again). Left out on create, all of them.
- description
- text — A note on what it is for
- enabled
- true / false — false turns it off; true turns it back on and clears its failure count
Delete a webhook; it stops receiving events at once.
- idrequired
- text — Webhook id (list_webhooks)
Send a webhook.test event to a webhook now, once, and answer how its endpoint responded.
- idrequired
- text — Webhook id (list_webhooks)