Skip to main content
Your ContentHero account (balance, spend cap, plan), the platforms available to publish to, what the user is looking at, and your own work seen or heard. 4 tools. Every tool below is exposed by the hosted MCP server at https://mcp.contenthero.ai and by the @contenthero/mcp npm package. A write tool changes your account; a read tool does not.

get_account

read Get your ContentHero account: the credit balance, what is available to spend, credits reserved for work in progress, what was spent this month, the monthly spend cap, the plan and auto top-up. For a tracked social account, use get_tracked_account. Takes no parameters.

update_account

write Update your ContentHero account. Only the fields you pass change. spendCap sets the monthly spend cap in credits, or null removes it: every credit spent this month counts toward it, and anything that would cross it is refused until the cap resets on the 1st of the month (UTC). Changing it needs the billing:write scope and the account’s owner. Returns the account as it now is.
integer or null
The monthly spend cap in credits, or null for no cap.

view

read See what the user is looking at, and see or hear your own work or a source. A view returns only what it names: your render, a source, or the user’s screen; add live to a render to also get what the user is looking at. With nothing to render and no source, it returns the live context of the open app: the active surface, the focused element, the playhead and the selection, from the most recently active session, with the live participants. capture adds a picture of the user’s screen as shown now, including unsaved and transient state; it takes a moment and briefly interrupts the page. render shows your work as it will play, rendered from the saved project: one composed frame or slide, the one in focus unless frame, slideId or slideIndex names another; for a timeline, frames, a count over a range, or perSecond over a range name several. count spreads that many frames from the first frame of the window to its last; perSecond steps from the first; frames and atSec are exact. Several frames come back one by one when they fit one result and otherwise as contact sheets with each frame labeled under its tile, in pages; nothing caps how many. width is the width of each image returned, the crop’s when a region is named; without width a region comes back at native pixels. Each image names the frames it shows, sampled says how many were rendered, and anything the server changed is listed in adjusted with why. A contact sheet is a lossy, downscaled copy of its frames: use it to look, never to measure or to test whether two renders differ, because compression and scaling alter pixels that did not change. A difference found between sheets is not evidence of a difference between frames. trackIds and clipIds render only those tracks and clips, picture and sound, on the timeline’s own frame numbers, leaving the project untouched, so the person can keep editing while you review. sound renders a range of the mix as an export mixes it, before an export’s delivery leveling, and measures it (integrated loudness, true peak, loudness range, sample peak, where sounds start, stereo width, band balance), with a waveform and spectrogram picture and a link to the audio. Its sound is also analyzed and rendered as one evidence sheet, as a source’s window is below, on the sound’s own seconds from the start of the range; the measurement stays the loudness to deliver by. video watches a range play with its sound; where video cannot be received, as here, it returns frames across the range and the sound measured. To see and hear a source rather than your edit, name a clip of the user’s with assetId (the id get_project reports in a clip’s source) or mediaUrl, or a tracked post’s video with contentId (and slide for a carousel) once analyze_content kind video has downloaded it, and window it with fromSec and toSec in its own seconds. A post’s image slide, named with contentId and slide, comes back as its image at width, with nothing to download first. A source’s frames follow the same rules as your edit’s, labeled with their seconds. A source read carries the source alone, and only the parts asked for. sound measures the window as it is, beside any frames; with video you watch it play. With sound, a stored source’s window also carries its sound analysis for that window: speech, sound candidates with their measured descriptors, levels against the voice, offset from the beat and repetition pattern, music and beats, loudness, and each stem’s level; made once per file, and made the first time its sound is read. The window also comes as one evidence sheet: its frames, the spoken words and a spectrogram strip per stem on one time axis, each sound candidate marked by its number. A candidate is measured, never named: judge what it is from its strip and its descriptors. find, where and picture ask a source, or a project’s window over fromFrame and toFrame, of its picture analysis and answer in numbers rather than images, so a view with only them returns no frames. A file’s picture analysis is made once and shared: a coarse one, one picture per shot, exists from upload, and the full one is made the first time the file is studied; until the full one is ready, the answer says it is coarse and how the full one stands. Every list in their answer comes a page at a time: limit sets how many of each list a page holds, and passing the answer’s nextCursor back as cursor reads the next page of all of them. Anything not ready yet (a render’s page, a sound analysis, an evidence sheet, a where) says when it started, when it is expected, the exact inputs that read it again (readWith, or the same inputs again when it names none), and why it has not ended when it is blocked or late. Read it again with exactly those inputs. A render that is not ready answers with a renderId: read it again with that id instead of rendering again. When rendering is busy the answer says how many seconds to wait before asking again. When the user is charged credits for what a view made, the answer says how many. Renders are ephemeral and need no live tab, only a projectId when no one is viewing. Check your work here, never with export, which makes a file the user keeps. Requires the context:read scope.
string
A clip of the user’s to see and hear, by its asset id: the id get_project reports in a clip’s source. Or pass mediaUrl or contentId.
number[]
Frames at exactly these seconds of a source, instead of spread across a window.
boolean
Also return a picture of the user’s screen as shown now, including unsaved and transient state. Use it only when the task depends on what the screen shows; to see your work, render it instead.
string[]
Render only these clips, picture and sound, on the timeline’s own frame numbers. The project is untouched.
string
A tracked post’s video to see and hear, by its id or short id, its link, or the platform’s own id for it, once analyze_content kind video has downloaded it. Or pass assetId or mediaUrl.
integer
How many frames to spread from the first frame of the range, or of a source’s window, to its last, both included. Omit for one frame at the focus point, or about one a second of a range.
string
Read the next page of every list of find, where or picture: pass the answer’s nextCursor, with the same other inputs.
`pointer` \| `face`
The class of thing where answers from the file’s own analysis instead of a phrase: a screen recording’s pointer, or faces (where, never who). Leave find out. With track, a box you give is followed as that class.
string
Describe what to look for in the picture. Returns the moments of the source or project window that show it, best first, as times (and timeline frames for a project), matching what is pictured, the text on screen and the words spoken over it, each naming which of the three found it. The moments are candidates: confirm the ones that matter by viewing frames at their times, or ask where.
integer
Editor: which single timeline frame to render. Omit to render the current playhead frame.
integer[]
Editor: exactly these timeline frames, in this order.
integer
Start timeline frame of the range, for several frames, sound or video. Omit to start at the beginning.
number
Start of a source’s window, in its own seconds. Omit to start at its beginning.
`frames` \| `sheets`
‘frames’ returns each frame as its own image; ‘sheets’ tiles them into contact sheets, an edit’s frames numbered and a source’s labeled with its second under each tile. Omit to choose by how many fit one result.
integer
How many items of each list a page of find, where or picture holds. Omit for the default.
boolean
Also return what the user is looking at beside a render.
string
A clip of the user’s to see and hear, by its media URL, rather than your edit. Or pass assetId or contentId.
integer
Which page of the render, or of a source’s frames, to read, starting at 1.
number
How many frames to take per second of the range, or of a source’s window, stepping from its first frame; never more than the footage has.
boolean
The window’s picture analysis: its cuts, fades, black, camera movement, the text on screen and where faces are (never who), each with its times and position. For a project it reads each clip’s source and maps it to the timeline, and adds the edit’s own cuts in editCuts: where a clip starts where the one before it ends without playing on from it. It does not see what covers a clip or what has no source, and names each clip it does not see with why; a render of the range shows those. Where a screen recording’s pointer is, and its shape. To follow it to the exact frame, ask where with detector pointer and track the candidate.
string
The project to view or render. Omit for the surface the user is on now. Needed to render when no one is viewing.
object
Render only this rectangle, { x, y, width, height } in composition units (get_project’s compositionSpace), to inspect detail. Without width it comes back at native pixels. For a source, the rectangle is in its own pixels.
boolean
Render your work from the saved project: one composed frame or slide, the one in focus unless frame, slideId or slideIndex names another, or the frames that frames, count or perSecond name. Frames across a range show motion, timing and pacing, finer the closer together they are.
string
Read a render already started, by its renderId, as a pending answer’s readWith names it. Pass only page with it.
integer
Which slide of a carousel post, by the position get_content reports for it: an image slide returns its image, a video slide its frames. Only with contentId.
string
Canvas: the id of the slide to render. Omit to render the focused slide.
integer
Canvas: the 1-based slide index to render (alternative to slideId).
boolean
Hear and measure sound: your edit’s range mixed as an export mixes it, instead of its picture, by fromFrame and toFrame; or a source’s window as it is, by fromSec and toSec, beside any frames asked for.
integer
End timeline frame of the range. Omit to run to the end.
number
End of a source’s window, in its own seconds. Omit to run to its end.
string or object
Follow one thing on every frame of the window: a candidate’s id from a where answer, or a time of the source and a box on its frame that you found yourself. Returns one track per stretch it is seen, its box on each frame as keyframes, and its edges where it appears and leaves. An edge is not always on the exact frame: view the frames either side before cutting on it. A thing without a firm outline is followed with a loose box, and very fast motion can end a track early or split it. Slower the first time a seed is asked, and a read after that.
string[]
Render only these tracks, every clip on them, picture and sound, on the timeline’s own frame numbers. The project is untouched.
boolean
Watch the range play with its sound, to judge motion, timing, transitions and pacing. Takes fromFrame and toFrame, or a source’s window.
boolean
Also where on the frame each thing find describes may be: candidates, best first, each with an id, a confidence, its time span, its box normalized to the frame, what found it, and a time and box to check it on. View that frame to confirm the one you mean, then pass its id as track. When none is the thing, view the window’s frames yourself, find it, and pass its time and box as track. Small things are found less often: check their candidates before trusting the first. Slower the first time a phrase is asked of a file, and a read after that.
integer
The width in pixels of each image returned, the crop’s when a region is named, to check legibility at the size it will be seen. Height follows the aspect ratio. Anything the server changed is listed in adjusted.

get_schema

read Get a vocabulary another call accepts, by kind. ‘platform’: with no platform, the platforms this account can publish to, each with its formats and whether a connected account exists; with a platform (and optionally a format), the fields, options (enums) and character limits a post requires per format. Ground a post’s platformSettings against it instead of guessing the fields. ‘timeline’: the EDITOR timeline schema, in two steps. Without a name, its index: every update_timeline op with its shape, every clip and track type, and the rules every op follows. With a name, that one entry in full: an op with its rules, or a clip type with its fields (each with who writes it, its range and its allowed values), the shared field groups it has and a copy-pasteable example clip; the name ‘animations’ reads the presets add_animation, add_transition and apply_combo take. detail ‘full’ reads the whole schema at once. Read the index, then the entries you need, before building any clip with update_timeline. ‘layer’: the CANVAS schema, in the same two steps. Without a name, its index: every update_canvas op with its shape, every layer type, and the rules every op follows. With a name, that one entry in full: an op with its rules, or a layer type with its fields and the shared field groups it has. detail ‘full’ reads the whole schema at once. Read the index, then the entries you need, before building any layer with update_canvas. ‘export’: the export formats and their options per project type, so you know what export accepts. ‘link’: the grammar of app addresses and every noun and section it takes (what each opens, its tabs, what a tab’s item names) plus the app’s origin, so you can build a link to any item from its noun and id. ‘code’: the authoring guide for a code clip or code layer (a video, audio or image whose content is code): what the sandbox can import and what it cannot use, the box the code draws in, the sound it can synthesize, the brand prop names, the size limit, the workflow and examples; read it before writing or changing a clip’s code. ‘effect’: every effect code or a video or image clip can use, by group, with what it does, where code imports it, and whether a clip can carry it; with a name, that effect’s parameters with their ranges and defaults, and which of them keyframe on a clip. Read it before giving anything effects. ‘timeline’, ‘layer’, ‘export’, ‘code’ and ‘effect’ require the editor:read scope.
`platform` \| `timeline` \| `layer` \| `export` \| `link` \| `code` \| `effect`
required
Which vocabulary to read.
`full`
kinds ‘timeline’ and ‘layer’ only: ‘full’ reads the whole schema at once. It is large; read the index and the entries you need instead unless you need everything.
string
kind ‘platform’ with a platform only: a format to narrow to (e.g. “reel”, “short”, “story”, “thread”).
boolean
kinds ‘timeline’ and ‘layer’ only, with a type’s name or detail ‘full’: also return each type’s full JSON Schema. It is large; ask for it only to validate a whole item before sending it.
string
kind ‘effect’: the effect to read in full (such as “glow”); omit to list the effects. kind ‘timeline’: one op or clip type to read in full, or ‘animations’ for the presets; omit for the index. kind ‘layer’: one op or layer type to read in full; omit for the index.
`youtube` \| `instagram` \| `tiktok` \| `facebook` \| `linkedin` \| `x` \| `threads` \| `general`
kind ‘platform’ only: the platform to read (such as “instagram”). Omit to list every platform.