21st MCP
21st_mcpSearch and fetch 21st.dev React/shadcn components, themes, templates and SVG logos, manage bookmarks and team libraries, work with 21st AI takes and video projects, and edit your own published 21st items through 21st's hosted MCP server.
Acciones disponibles (51)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Add to list21ST_MCP_ADD_TO_LISTAcciónAdd (or with remove:true, remove) a component/theme/template to one of the caller's bookmark lists. Idempotent; adding also ensures the item is bookmarked. Use the list id from list_bookmark_lists and the item id+type from a search result.
21ST_MCP_ADD_TO_LISTAcciónAdd (or with remove:true, remove) a component/theme/template to one of the caller's bookmark lists. Idempotent; adding also ensures the item is bookmarked. Use the list id from list_bookmark_lists and the item id+type from a search result.
Parámetros de entrada
idstringObligatorioThe item id (component demo id / theme uuid / template id). A numeric id may be passed as text.
typestringObligatorioenumWhat kind of item the id refers to.
componentthemetemplatelistIdstringObligatorioThe bookmark list id (uuid).
removebooleanSet true to remove the item from the list.
Parámetros de salida
idnumber | stringThe item id as passed by the caller (number or string).
typestringThe item kind: component | theme | template.
inListbooleanTrue after adding, false after removing.
listIdstringThe bookmark list that was modified.
Bookmark21ST_MCP_BOOKMARKAcciónAdd (or with remove:true, delete) a bookmark - the 'heart'/save - for a component, theme, or template on the signed-in account. Idempotent. Use the id + type from a search or list result.
21ST_MCP_BOOKMARKAcciónAdd (or with remove:true, delete) a bookmark - the 'heart'/save - for a component, theme, or template on the signed-in account. Idempotent. Use the id + type from a search or list result.
Parámetros de entrada
idstringObligatorioThe item id (component demo id / theme uuid / template id). A numeric id may be passed as text.
typestringObligatorioenumWhat kind of item the id refers to.
componentthemetemplateremovebooleanSet true to remove the bookmark instead of adding it.
Parámetros de salida
idnumber | stringThe item id as passed by the caller (number or string).
typestringThe item kind that was (un)bookmarked: component | theme | template.
bookmarkedbooleanTrue after adding, false after removing.
Create bookmark list21ST_MCP_CREATE_BOOKMARK_LISTAcciónCreate a new personal named bookmark list on the signed-in account.
21ST_MCP_CREATE_BOOKMARK_LISTAcciónCreate a new personal named bookmark list on the signed-in account.
Parámetros de entrada
namestringObligatorioThe list name.
Parámetros de salida
listobjectThe newly created list.
Delete component21ST_MCP_DELETE_COMPONENTAcciónRemove YOUR OWN component from the 21st.dev marketplace (sets visibility to private). Owner-only. Soft removal - the component, its demos and analytics are preserved, just hidden; there is no hard delete for published components.
21ST_MCP_DELETE_COMPONENTAcciónRemove YOUR OWN component from the 21st.dev marketplace (sets visibility to private). Owner-only. Soft removal - the component, its demos and analytics are preserved, just hidden; there is no hard delete for published components.
Parámetros de entrada
slugstringObligatorioThe component's slug.
Parámetros de salida
idnumberThe component's id.
slugstringThe component's slug.
alreadybooleanTrue when the component was already unpublished; may be absent.
updatedbooleanMay be absent; part of the shared component edit result shape.
visibilitystringResulting access, 'private' after unpublish.
unpublishedbooleanTrue when the component was unpublished; may be absent.
reviewStatusstringCatalog review status; may be absent.
Delete template21ST_MCP_DELETE_TEMPLATEAcciónPermanently delete a template YOU published to 21st.dev. Owner-only. Unlike components/themes, this is a HARD delete - the listing row is removed and cannot be recovered.
21ST_MCP_DELETE_TEMPLATEAcciónPermanently delete a template YOU published to 21st.dev. Owner-only. Unlike components/themes, this is a HARD delete - the listing row is removed and cannot be recovered.
Parámetros de entrada
idnumberObligatorioThe template id.
Parámetros de salida
idnumberThe deleted template's id.
deletedbooleanTrue when the template row was hard-deleted; may be absent.
updatedbooleanMay be absent; part of the shared template edit result shape.
Delete theme21ST_MCP_DELETE_THEMEAcciónRemove YOUR OWN theme from the 21st.dev community listing (unpublishes it). Owner-only. Soft - the row and any bookmarks/likes on it are preserved.
21ST_MCP_DELETE_THEMEAcciónRemove YOUR OWN theme from the 21st.dev community listing (unpublishes it). Owner-only. Soft - the row and any bookmarks/likes on it are preserved.
Parámetros de entrada
idstringObligatorioThe theme id (uuid).
Parámetros de salida
idstringThe theme's uuid.
alreadybooleanTrue when the theme was already unpublished; may be absent.
updatedbooleanMay be absent; part of the shared theme edit result shape.
unpublishedbooleanTrue when the theme was unpublished; may be absent.
Edit component21ST_MCP_EDIT_COMPONENTAcciónUpdate visibility, description, or tags on a component YOU published to 21st.dev. Owner-only - the slug must belong to the signed-in caller (404 otherwise). Provide at least one field; omitted fields are left as-is. `tags`, when provided, REPLACES the full tag set.
21ST_MCP_EDIT_COMPONENTAcciónUpdate visibility, description, or tags on a component YOU published to 21st.dev. Owner-only - the slug must belong to the signed-in caller (404 otherwise). Provide at least one field; omitted fields are left as-is. `tags`, when provided, REPLACES the full tag set.
Parámetros de entrada
slugstringObligatorioThe component's slug (from a search with mine:true, or the studio URL).
tagsstring[]Tag slugs - REPLACES the full tag set.
visibilitystringenumNew access. Use published or private; public/unlisted are temporary compatibility aliases.
publishedprivatepublicunlisteddescriptionstringNew description.
Parámetros de salida
idnumberThe component's id.
slugstringThe component's slug.
alreadybooleanTrue when the requested state was already in effect; may be absent.
updatedbooleanTrue when an update was applied; may be absent.
visibilitystringResulting access: published | private.
unpublishedbooleanTrue when the edit unpublished the component; may be absent.
reviewStatusstringCatalog review status; may be absent.
Edit profile21ST_MCP_EDIT_PROFILEAcciónReplace the caller's own 21st.dev public profile board (the bento layout at 21st.dev/@you). Owner-only - always writes YOUR account, there is no username argument. `blocks` is a FULL REPLACE (like `tags` on edit_component) - omitted blocks are dropped, so read the current board with get_profile first if you want to keep existing content. Pass `clear: true` instead of `blocks` to revert to the classic (non-bento) profile. The server auto-arranges blocks into a grid and validates every reference: `component` cards must be YOUR OWN public components (get their demoId from search with mine:true, or get_component), `library` cards must reference a public library owned by you or one of your teams, and `image` cards must point at a url returned by this account's own uploads (foreign image urls are dropped). Response includes `warnings` for anything dropped. Block vocabulary: {type:'component',demoId} shows a live component preview; {type:'ascii'|'template'|'theme'|'gradient',refId} references your published content; {type:'library',refId} links a personal or team library; {type:'social',url} is a link card; {type:'note',text} is a text card; {type:'hire'|'pro'|'support', headline?, body?, url?, email?, cta?} are profile CTA blocks; {type:'image',mediaUrl} shows a photo/GIF; {type:'divider'} splits the board into a new section. Every block accepts optional `w`/`h` (grid units, 1-3 wide / 1-2 tall).
21ST_MCP_EDIT_PROFILEAcciónReplace the caller's own 21st.dev public profile board (the bento layout at 21st.dev/@you). Owner-only - always writes YOUR account, there is no username argument. `blocks` is a FULL REPLACE (like `tags` on edit_component) - omitted blocks are dropped, so read the current board with get_profile first if you want to keep existing content. Pass `clear: true` instead of `blocks` to revert to the classic (non-bento) profile. The server auto-arranges blocks into a grid and validates every reference: `component` cards must be YOUR OWN public components (get their demoId from search with mine:true, or get_component), `library` cards must reference a public library owned by you or one of your teams, and `image` cards must point at a url returned by this account's own uploads (foreign image urls are dropped). Response includes `warnings` for anything dropped. Block vocabulary: {type:'component',demoId} shows a live component preview; {type:'ascii'|'template'|'theme'|'gradient',refId} references your published content; {type:'library',refId} links a personal or team library; {type:'social',url} is a link card; {type:'note',text} is a text card; {type:'hire'|'pro'|'support', headline?, body?, url?, email?, cta?} are profile CTA blocks; {type:'image',mediaUrl} shows a photo/GIF; {type:'divider'} splits the board into a new section. Every block accepts optional `w`/`h` (grid units, 1-3 wide / 1-2 tall).
Parámetros de entrada
clearbooleanRevert to the classic profile (drops the saved board).
blocksobject[]Full replacement list of content blocks, top to bottom.
enabledbooleanExplicitly show/hide the bento board without changing its content.
Parámetros de salida
blocksobject[]The saved semantic content blocks after validation/auto-arrange (empty after clear).
enabledbooleanWhether the bento board is shown after the write.
warningsstring[]Anything dropped or adjusted during validation (invalid refs, foreign image urls, etc.).
Edit take21ST_MCP_EDIT_TAKEAcciónApply free deterministic edits to an owned Sketch or Code take using stable target IDs from get_take.structure. Pull the take first and supply its exact version to avoid overwriting newer changes. Code supports literal JSX text, element styles, visibility, image URLs/alt, locks and static subtree duplication/moves/removal within one JSX tree. Remove physically deletes an unlocked static subtree and prunes its current notes; old saved versions remain intact. Clones get fresh source and DOM IDs. Dynamic JSX, handlers/imported components and unsupported global tokens require an explicit AI note; no paid fallback runs. Locked files and active generation are protected. Returns a confirmed saved version with zero credits; never invokes a paid fallback.
21ST_MCP_EDIT_TAKEAcciónApply free deterministic edits to an owned Sketch or Code take using stable target IDs from get_take.structure. Pull the take first and supply its exact version to avoid overwriting newer changes. Code supports literal JSX text, element styles, visibility, image URLs/alt, locks and static subtree duplication/moves/removal within one JSX tree. Remove physically deletes an unlocked static subtree and prunes its current notes; old saved versions remain intact. Clones get fresh source and DOM IDs. Dynamic JSX, handlers/imported components and unsupported global tokens require an explicit AI note; no paid fallback runs. Locked files and active generation are protected. Returns a confirmed saved version with zero credits; never invokes a paid fallback.
Parámetros de entrada
opsobject[]ObligatoriotakeintegerObligatorionotesobject[]Optional complete notes list. New notes get a server-stamped author. Use ops:[] for free notes-only saving. Existing IDs preserve authoritative author and status; refs bind exact immutable same-project versions.
versionintegerObligatorioprojectIdstringObligatorio
Parámetros de salida
htmlstringcreditsnumberversionintegertakeNoticesobjectExact saved-context metadata. response_prepared means server reply preparation, never client read or application. Missing infrastructure is unavailable, not zero.
Edit template21ST_MCP_EDIT_TEMPLATEAcciónUpdate listing fields (name, description, price, preview/video/payment urls, tags) on a template YOU published to 21st.dev. Owner-only - the id must belong to the signed-in caller (404 otherwise). Provide at least one field. `tagIds`, when provided, REPLACES the full tag set. Does NOT accept a live/status toggle - non-admin authors change that through moderation review, not this tool.
21ST_MCP_EDIT_TEMPLATEAcciónUpdate listing fields (name, description, price, preview/video/payment urls, tags) on a template YOU published to 21st.dev. Owner-only - the id must belong to the signed-in caller (404 otherwise). Provide at least one field. `tagIds`, when provided, REPLACES the full tag set. Does NOT accept a live/status toggle - non-admin authors change that through moderation review, not this tool.
Parámetros de entrada
idnumberObligatorioThe template id.
namestringpricenumberPrice in USD (0 = free).
tagIdsnumber[]Tag ids - REPLACES the full tag set.
videoUrlstringDemo video URL.
paymentUrlstringOff-site buy links are off: only null (clear) is accepted.
previewUrlstringThumbnail/preview image URL.
descriptionstringwebsitePreviewUrlstringLive preview site URL.
Parámetros de salida
idnumberThe template's id.
deletedbooleanMay be absent; part of the shared template edit result shape.
updatedbooleanTrue when an update was applied; may be absent.
Edit theme21ST_MCP_EDIT_THEMEAcciónUpdate the name, tags, or visibility of a theme YOU published to 21st.dev. Owner-only - the id must belong to the signed-in caller (404 otherwise). Provide at least one field. `tags`, when provided, REPLACES the full tag set. Themes only support public|private visibility (no 'unlisted').
21ST_MCP_EDIT_THEMEAcciónUpdate the name, tags, or visibility of a theme YOU published to 21st.dev. Owner-only - the id must belong to the signed-in caller (404 otherwise). Provide at least one field. `tags`, when provided, REPLACES the full tag set. Themes only support public|private visibility (no 'unlisted').
Parámetros de entrada
idstringObligatorioThe theme id (uuid).
namestringNew theme name.
tagsstring[]Tag slugs - REPLACES the full tag set.
visibilitystringenumNew visibility.
publicprivate
Parámetros de salida
idstringThe theme's uuid.
alreadybooleanTrue when the requested state was already in effect; may be absent.
updatedbooleanTrue when an update was applied; may be absent.
unpublishedbooleanTrue when the edit unpublished the theme; may be absent.
Get bookmark list21ST_MCP_GET_BOOKMARK_LISTAcciónList the items (components, themes, templates) inside one of the caller's bookmark lists, as the uniform search metadata shape. Pass the list `id` from list_bookmark_lists. Free.
21ST_MCP_GET_BOOKMARK_LISTAcciónList the items (components, themes, templates) inside one of the caller's bookmark lists, as the uniform search metadata shape. Pass the list `id` from list_bookmark_lists. Free.
Parámetros de entrada
limitnumberMax items (default 50).
listIdstringObligatorioThe bookmark list id (uuid) from list_bookmark_lists.
Parámetros de salida
resultsobject[]Items in the list in the uniform search entity shape (empty array when the list is empty).
Get changes21ST_MCP_GET_CHANGESAcciónRead saved edits, notes and a change plan since a 1-based version, or since:'pulled' for the last actual retrieval. Free, owner-only.
21ST_MCP_GET_CHANGESAcciónRead saved edits, notes and a change plan since a 1-based version, or since:'pulled' for the last actual retrieval. Free, owner-only.
Parámetros de entrada
takeintegerObligatoriosincestringA 1-based version number as text, or pulled for the latest retrieval.
projectIdstringObligatorio
Parámetros de salida
specstringsinceintegerversionintegertakeNoticesobjectExact saved-context metadata. response_prepared means server reply preparation, never client read or application. Missing infrastructure is unavailable, not zero.
Get component21ST_MCP_GET_COMPONENTAcciónRetrieve the full code for one component result: the component source AND its demo (usage example) together, plus the install command and registry dependencies. Pass the `id` (a DEMO id) from any search / list_bookmarks / get_bookmark_list / list_team_components result. PAID: on the free tier this consumes one of your daily retrievals and may instead return a paywall (structuredContent.locked=true) or not-found (found=false) rather than code - check before treating the text as source. A successful result also carries structuredContent.quota with the retrievals you have left today. For a 21st Video block (search with runtime 'remotion') the result also carries structuredContent.component.video: the /r/video install, a <Composition> snippet for src/Root.tsx, the Remotion license line and an editor link.
21ST_MCP_GET_COMPONENTAcciónRetrieve the full code for one component result: the component source AND its demo (usage example) together, plus the install command and registry dependencies. Pass the `id` (a DEMO id) from any search / list_bookmarks / get_bookmark_list / list_team_components result. PAID: on the free tier this consumes one of your daily retrievals and may instead return a paywall (structuredContent.locked=true) or not-found (found=false) rather than code - check before treating the text as source. A successful result also carries structuredContent.quota with the retrievals you have left today. For a 21st Video block (search with runtime 'remotion') the result also carries structuredContent.component.video: the /r/video install, a <Composition> snippet for src/Root.tsx, the Remotion license line and an editor link.
Parámetros de entrada
idnumberObligatorioThe `id` (a demo id) from a search/list result.
Parámetros de salida
foundbooleanPresent and false only when no component exists (or is accessible) for the id; absent on success and on paywall.
limitnumberThe daily free limit that was hit (paywall shape; may be absent).
quotaobjectWhat the caller has left after this retrieval; only attached for metered (public, free-tier-relevant) retrievals.
lockedbooleanTrue on the paywall denial shape (free retrieval quota exhausted).
reasonstringPaywall denial reason, e.g. retrieval_limit_reached (paywall shape only).
resetAtstring | nullWhen the free quota resets (paywall shape; may be absent or null).
componentobjectThe retrieved component bundle (success case only).
upgradeUrlstringLink to upgrade/checkout (paywall shape; may be absent).
Get generation21ST_MCP_GET_GENERATIONAcciónList the takes of a 21st AI Sketch or Code generation you own. Pass its `projectId`. Returns each take's `take` number (1-based, matching the 'Take N' labels shown in the preview) and whether its draft has rendered yet (`ready`). FREE, including when AI is off. Use get_take to retrieve an existing draft. Editing with iterate_generation requires that tool to be available in tools/list.
21ST_MCP_GET_GENERATIONAcciónList the takes of a 21st AI Sketch or Code generation you own. Pass its `projectId`. Returns each take's `take` number (1-based, matching the 'Take N' labels shown in the preview) and whether its draft has rendered yet (`ready`). FREE, including when AI is off. Use get_take to retrieve an existing draft. Editing with iterate_generation requires that tool to be available in tools/list.
Parámetros de entrada
projectIdstringObligatorioThe generation's projectId (structuredContent.projectId from a `generate` result).
Parámetros de salida
urlstringPreview URL for the generation.
takesobject[]The generation's takes (variants).
projectIdstringThe generation's project id.
takeNoticesobjectExact saved-context metadata. response_prepared means server reply preparation, never client read or application. Missing infrastructure is unavailable, not zero.
Get generation job21ST_MCP_GET_GENERATION_JOBAcciónPoll a background job returned by `iterate_generation`. FREE and available even if AI access changes after the job starts. While queued/running, wait `pollAfterSeconds` before polling again. A completed job returns exact persisted HTML or Code files and a paste-ready copy prompt; a failed job returns a stable `errorCode`.
21ST_MCP_GET_GENERATION_JOBAcciónPoll a background job returned by `iterate_generation`. FREE and available even if AI access changes after the job starts. While queued/running, wait `pollAfterSeconds` before polling again. A completed job returns exact persisted HTML or Code files and a paste-ready copy prompt; a failed job returns a stable `errorCode`.
Parámetros de entrada
jobIdstringObligatorioThe jobId returned by `iterate_generation`.
Parámetros de salida
urlstringPreview URL.
codestring | nullCode bundle after completion; absent or null otherwise.
htmlstring | nullExact persisted HTML after completion; null otherwise.
modeanyenumsketchcodetakenumberThe 1-based take number.
filesobject | nullExact saved Code source files after completion; absent or null otherwise.
jobIdstringBackground job id.
readybooleanTrue only when completed code is present.
statusstringqueued, running, completed, or failed.
errorCodestring | nullStable failure reason; null unless failed.
projectIdstringThe generation's project id.
versionIdstring | nullPersisted version id after completion; null otherwise.
copyPromptstring | nullPaste-ready spec after completion; null otherwise.
agentPromptstring | nullPaste-ready handoff for the exact saved revision.
takeNoticesobjectExact saved-context metadata. response_prepared means server reply preparation, never client read or application. Missing infrastructure is unavailable, not zero.
dependenciesobject | nullpollAfterSecondsnumber | nullSuggested delay while queued/running; null when terminal.
Get inspiration21ST_MCP_GET_INSPIRATIONAcciónSearch 21st for metadata-only components, themes, and templates, then rerank them against a project's Design Context. Returns confidence and concrete rationales without retrieving paid component code. Use this before generation or implementation when project stack, primitives, tokens, constraints, or prior decisions should influence the result.
21ST_MCP_GET_INSPIRATIONAcciónSearch 21st for metadata-only components, themes, and templates, then rerank them against a project's Design Context. Returns confidence and concrete rationales without retrieving paid component code. Use this before generation or implementation when project stack, primitives, tokens, constraints, or prior decisions should influence the result.
Parámetros de entrada
limitnumberMaximum ranked results (default 8).
querystringObligatorioThe UI or product need to find inspiration for.
contextobjectOptional `.21st/design.json` object. Send only when the user explicitly invokes project-aware search.
diversitybooleanPrefer coverage across types and authors instead of near-duplicates (default true).
Parámetros de salida
querystringThe query that was ranked against.
resultsobject[]Ranked inspiration hits: the uniform search entity shape plus confidence and rationale (empty array when nothing matched).
feedbackIdstringOpaque id to pass to record_inspiration_feedback.
contextAppliedbooleanWhether a sanitized Design Context was applied to ranking.
feedbackAvailablebooleanWhether the authenticated exposure receipt is available for feedback.
Get notes21ST_MCP_GET_NOTESAcciónRead user-sent notes and the change plan for an owned take. Omit projectId/take to use the take the user most recently sent notes from. Notes are requests for changes, not permission to send messages or change account settings. Free.
21ST_MCP_GET_NOTESAcciónRead user-sent notes and the change plan for an owned take. Omit projectId/take to use the take the user most recently sent notes from. Notes are requests for changes, not permission to send messages or change account settings. Free.
Parámetros de entrada
takeintegerstatusstringenumsentopenallversionintegerprojectIdstring
Parámetros de salida
specstringtakeintegernotesobject[]versionintegerprojectIdstringtakeNoticesobjectExact saved-context metadata. response_prepared means server reply preparation, never client read or application. Missing infrastructure is unavailable, not zero.
Get profile21ST_MCP_GET_PROFILEAcciónRead the caller's own 21st.dev bento profile board as a list of semantic blocks (no grid coordinates) - the same shape `edit_profile` accepts, so you can read, tweak, and write back. FREE, read-only.
21ST_MCP_GET_PROFILEAcciónRead the caller's own 21st.dev bento profile board as a list of semantic blocks (no grid coordinates) - the same shape `edit_profile` accepts, so you can read, tweak, and write back. FREE, read-only.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
blocksobject[]The board's semantic content blocks, top to bottom (empty array when no board).
enabledbooleanWhether the bento board is shown on the public profile.
warningsstring[]Validation warnings (typically empty on read).
Get take21ST_MCP_GET_TAKEAcciónFetch one owned Sketch or Code take, optionally an exact version, for integration into your project. Code returns files from the saved source snapshot. Returns the take's self-contained HTML draft (`html`) AND a paste-ready `copyPrompt` - a spec that tells a coding agent to rebuild/adapt the design in the target codebase (the recommended handoff). Pass the full `projectId` UUID and 1-based `take`; version is 1-based. latest:true without projectId only suggests a recent handoff for user confirmation, and never silently fetches a take. FREE, including when AI is off. If ready is false, no rendered draft is available yet.
21ST_MCP_GET_TAKEAcciónFetch one owned Sketch or Code take, optionally an exact version, for integration into your project. Code returns files from the saved source snapshot. Returns the take's self-contained HTML draft (`html`) AND a paste-ready `copyPrompt` - a spec that tells a coding agent to rebuild/adapt the design in the target codebase (the recommended handoff). Pass the full `projectId` UUID and 1-based `take`; version is 1-based. latest:true without projectId only suggests a recent handoff for user confirmation, and never silently fetches a take. FREE, including when AI is off. If ready is false, no rendered draft is available yet.
Parámetros de entrada
takenumber1-based take number to fetch (see `get_generation` or the 'Take N' preview label). Defaults to 1.
latestbooleanSuggest the owner's recent handoff. Requires user confirmation before fetching.
selectstring[]Stable part/element addresses. Code also accepts exact saved file paths, source addresses, or src/file.tsx:10-20. Returns only selected source fragments.
tokensbooleanInclude declared CSS custom properties; values are not computed browser styles.
versionintegerExact 1-based saved version. Omit for the latest saved version.
elementsbooleanInclude the saved address map. Browser geometry is explicitly unavailable.
projectIdstringThe generation's projectId (structuredContent.projectId from a `generate` result).
Parámetros de salida
urlstringPreview URL for the generation.
codestring | nullhtmlstring | nullThe take's self-contained HTML draft; null until a draft has rendered.
modestringtakenumberThe 1-based take number.
filesobject | nulllabelstringreadybooleanWhether the take's draft has rendered.
reasonstring | nulltokensobjectversionintegerelementsobject[]geometrystringselectedstring[]projectIdstringThe generation's project id.
takeStateobjectState from the persisted attempt and real producer lease. Historical model/accounting values remain null when unknown.
copyPromptstring | nullPaste-ready rebuild spec; null until a draft has rendered.
selectionsobjectagentPromptstringtakeNoticesobjectExact saved-context metadata. response_prepared means server reply preparation, never client read or application. Missing infrastructure is unavailable, not zero.
needsBrowserbooleantokenCoveragestringgenerationBlockobjectShared typed access block. Only fields relevant to its kind are present.
Get theme21ST_MCP_GET_THEMEAcciónRetrieve a 21st.dev theme's full CSS (the :root / .dark tokens ready to drop into a Tailwind/shadcn app), plus its name and page url. Pass the `id` from a search result with type 'theme'. Free.
21ST_MCP_GET_THEMEAcciónRetrieve a 21st.dev theme's full CSS (the :root / .dark tokens ready to drop into a Tailwind/shadcn app), plus its name and page url. Pass the `id` from a search result with type 'theme'. Free.
Parámetros de entrada
idstringObligatorioThe theme `id` (uuid) from a search result.
Parámetros de salida
foundbooleanPresent and false only when no theme exists for the id; absent on success.
themeobjectThe retrieved theme bundle (success case only).
Get usage21ST_MCP_GET_USAGEAcciónCheck the caller's component retrieval tier/quota and aiGenerationEnabled. Paid component access does not imply hosted AI access. When aiGenerationEnabled is false, use search and get_component, then adapt the code with your own coding agent; do not call generate or iterate_generation. This reports AI entitlement and the remaining AI credit balance when available.
21ST_MCP_GET_USAGEAcciónCheck the caller's component retrieval tier/quota and aiGenerationEnabled. Paid component access does not imply hosted AI access. When aiGenerationEnabled is false, use search and get_component, then adapt the code with your own coding agent; do not call generate or iterate_generation. This reports AI entitlement and the remaining AI credit balance when available.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
tierstringfree | paid.
upgradeUrlstring | nullUpgrade link; null for paid callers.
freeSearchesPerDaynumber | nullAlways null today (search is unmetered).
aiGenerationEnabledbooleanWhether this account has hosted AI access. This is an entitlement, not a credit balance. When false, use search and get_component, then adapt the code with your own agent.
freeRetrievalsPerDaynumber | nullDaily free component-code retrieval allowance; null for paid callers.
freeSearchesRemainingnumber | nullAlways null today (search is unmetered).
freeRetrievalsRemainingnumber | nullFree retrievals left today; null for paid callers.
List bookmark lists21ST_MCP_LIST_BOOKMARK_LISTSAcciónList the signed-in user's personal named bookmark lists (id, name, item count). These are curated collections that can hold components, themes and templates together. Free.
21ST_MCP_LIST_BOOKMARK_LISTSAcciónList the signed-in user's personal named bookmark lists (id, name, item count). These are curated collections that can hold components, themes and templates together. Free.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
listsobject[]The caller's personal bookmark lists (empty array when none).
List bookmarks21ST_MCP_LIST_BOOKMARKSAcciónList the signed-in user's bookmarked 21st.dev items (components, themes, templates) as metadata - the same uniform shape as `search`, and also FREE. Use `type` to scope to one kind, or 'all' (default). Call get_component with a component id to fetch its code; themes/templates link out via url.
21ST_MCP_LIST_BOOKMARKSAcciónList the signed-in user's bookmarked 21st.dev items (components, themes, templates) as metadata - the same uniform shape as `search`, and also FREE. Use `type` to scope to one kind, or 'all' (default). Call get_component with a component id to fetch its code; themes/templates link out via url.
Parámetros de entrada
typestringenumWhich bookmarks to list. Default 'all'.
componentthemetemplatealllimitnumberMax results (default 20).
Parámetros de salida
resultsobject[]The caller's bookmarked items in the uniform search entity shape (empty array when none).
List team components21ST_MCP_LIST_TEAM_COMPONENTSAcciónList the components in a team's library, as the uniform search metadata shape. Requires membership. Pass teamId (from list_teams); optionally libraryId (from list_team_libraries) to scope to one library. Free metadata; use get_component for code.
21ST_MCP_LIST_TEAM_COMPONENTSAcciónList the components in a team's library, as the uniform search metadata shape. Requires membership. Pass teamId (from list_teams); optionally libraryId (from list_team_libraries) to scope to one library. Free metadata; use get_component for code.
Parámetros de entrada
limitnumberMax results (default 50).
teamIdstringObligatorioThe team id (uuid) from list_teams.
libraryIdstringOptional: scope to one library (registry) id.
Parámetros de salida
resultsobject[]Components in the team library, uniform entity shape (empty array when none). Note: this path omits videoUrl/authorImage.
List team libraries21ST_MCP_LIST_TEAM_LIBRARIESAcciónList the LIBRARIES (registries / UI kits) inside one team, with component counts. A team can have several libraries. Requires membership. Pass teamId from list_teams; then list_team_components to see a library's components. Free.
21ST_MCP_LIST_TEAM_LIBRARIESAcciónList the LIBRARIES (registries / UI kits) inside one team, with component counts. A team can have several libraries. Requires membership. Pass teamId from list_teams; then list_team_components to see a library's components. Free.
Parámetros de entrada
teamIdstringObligatorioThe team id (uuid) from list_teams.
Parámetros de salida
librariesobject[]The team's libraries (registries) with component counts (empty array when none).
List team lists21ST_MCP_LIST_TEAM_LISTSAcciónList a team's SHARED bookmark lists (id, name, item count) - collections owned by the team, distinct from the team's libraries and from your personal lists (list_bookmark_lists). Requires membership. Use get_bookmark_list to see a list's items. Free.
21ST_MCP_LIST_TEAM_LISTSAcciónList a team's SHARED bookmark lists (id, name, item count) - collections owned by the team, distinct from the team's libraries and from your personal lists (list_bookmark_lists). Requires membership. Use get_bookmark_list to see a list's items. Free.
Parámetros de entrada
teamIdstringObligatorioThe team id (uuid) from list_teams.
Parámetros de salida
listsobject[]The team's shared bookmark lists (empty array when none).
List teams21ST_MCP_LIST_TEAMSAcciónList the teams (workspaces) the signed-in user belongs to, each with how many libraries and shared lists it has. A team is a container; drill into one with list_team_libraries / list_team_lists using its teamId. Free.
21ST_MCP_LIST_TEAMSAcciónList the teams (workspaces) the signed-in user belongs to, each with how many libraries and shared lists it has. A team is a container; drill into one with list_team_libraries / list_team_lists using its teamId. Free.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
teamsobject[]Teams the caller belongs to (empty array when none).
Record inspiration feedback21ST_MCP_RECORD_INSPIRATION_FEEDBACKAcciónRecord whether the user accepted or rejected a get_inspiration result. Send only its opaque feedbackId and result identity; never send project source, prompts, tokens, or local paths.
21ST_MCP_RECORD_INSPIRATION_FEEDBACKAcciónRecord whether the user accepted or rejected a get_inspiration result. Send only its opaque feedbackId and result identity; never send project source, prompts, tokens, or local paths.
Parámetros de entrada
outcomestringObligatorioenumacceptedrejectedresultIdstringfeedbackIdstringObligatorioresultTypestringenumcomponentthemetemplate
Parámetros de salida
outcomestringaccepted | rejected.
recordedbooleanAlways true on success.
weightedbooleanWhether this admitted vote targets a public catalog result eligible for aggregate weighting.
feedbackIdstringThe feedback id that was recorded.
Record take outcome21ST_MCP_RECORD_TAKE_OUTCOMEAcciónRecord what happened to a 21st AI take the caller retrieved with get_take: landed (built and kept close to the draft), adapted (kept parts), or abandoned (not used; give a reason). reportedBy is agent or user. Never send code, paths, prompts or project details. Free, owner-only, for a take retrieved in the last 14 days.
21ST_MCP_RECORD_TAKE_OUTCOMEAcciónRecord what happened to a 21st AI take the caller retrieved with get_take: landed (built and kept close to the draft), adapted (kept parts), or abandoned (not used; give a reason). reportedBy is agent or user. Never send code, paths, prompts or project details. Free, owner-only, for a take retrieved in the last 14 days.
Parámetros de entrada
takeintegerObligatoriobuildstringenumpassedfailednot_runreasonstringenumbuild_faileddid_not_fit_stackqualitychanged_mindotheroutcomestringObligatorioenumlandedadaptedabandonedversionintegerprojectIdstringObligatoriotypecheckstringenumpassedfailednot_runreportedBystringObligatorioenumagentuser
Parámetros de salida
takeintegeroutcomestringversionintegerrecordedbooleantakeNoticesobjectExact saved-context metadata. response_prepared means server reply preparation, never client read or application. Missing infrastructure is unavailable, not zero.
Remove component from catalog21ST_MCP_REMOVE_COMPONENT_FROM_CATALOGAcciónRemove a Featured component from the catalog while keeping it Published on its profile and direct URL.
21ST_MCP_REMOVE_COMPONENT_FROM_CATALOGAcciónRemove a Featured component from the catalog while keeping it Published on its profile and direct URL.
Parámetros de entrada
slugstringObligatorioThe component's slug.
Parámetros de salida
idnumberThe component's id.
slugstringThe component's slug.
alreadybooleanTrue when the requested state was already in effect; may be absent.
updatedbooleanTrue when an update was applied; may be absent.
visibilitystringResulting access: published | private (stays published).
unpublishedbooleanMay be absent; part of the shared component edit result shape.
reviewStatusstringResulting catalog review status; may be absent.
Resubmit component21ST_MCP_RESUBMIT_COMPONENTAcciónResubmit a Published component after requested changes. It returns to In review.
21ST_MCP_RESUBMIT_COMPONENTAcciónResubmit a Published component after requested changes. It returns to In review.
Parámetros de entrada
slugstringObligatorioThe component's slug.
Parámetros de salida
idnumberThe component's id.
slugstringThe component's slug.
alreadybooleanTrue when the requested state was already in effect; may be absent.
updatedbooleanTrue when an update was applied; may be absent.
visibilitystringResulting access: published | private.
unpublishedbooleanMay be absent; part of the shared component edit result shape.
reviewStatusstringResulting catalog review status; may be absent.
Search21ST_MCP_SEARCHAcciónSearch the 21st.dev catalog across ALL entity types - React/shadcn components, themes, and templates - returning lightweight metadata ONLY (name, description, preview image, author, url/install, id, and price for templates). Use `type` to scope to one kind, or 'all' (default) to search everything. FREE. Retrieval differs by kind: for a component result call get_component with its `id` (that id is a demo id) for the PAID code; for a theme call get_theme with its `id` (a uuid) for the free CSS; templates have no code to fetch - open their `url`. NOTE: `author`/`mine`/`liked` bypass ranking and return a plain recency-ordered list (query/sort/tag/color are ignored when any of them is set); component listings via `mine`/`author` only ever show PUBLIC components - your own private/team components are discoverable via list_team_components, not search. Pass `runtime: 'remotion'` (optionally `kind`, `aspect`) to search 21st Video blocks, Remotion components for programmatic video; without it results are UI only. Returns plain data, no picker UI - use this for your own lookups. If the USER should see a visual list of options and pick one, use `search_picker` instead (identical params, same results, but renders an inline picker on hosts that support it).
21ST_MCP_SEARCHAcciónSearch the 21st.dev catalog across ALL entity types - React/shadcn components, themes, and templates - returning lightweight metadata ONLY (name, description, preview image, author, url/install, id, and price for templates). Use `type` to scope to one kind, or 'all' (default) to search everything. FREE. Retrieval differs by kind: for a component result call get_component with its `id` (that id is a demo id) for the PAID code; for a theme call get_theme with its `id` (a uuid) for the free CSS; templates have no code to fetch - open their `url`. NOTE: `author`/`mine`/`liked` bypass ranking and return a plain recency-ordered list (query/sort/tag/color are ignored when any of them is set); component listings via `mine`/`author` only ever show PUBLIC components - your own private/team components are discoverable via list_team_components, not search. Pass `runtime: 'remotion'` (optionally `kind`, `aspect`) to search 21st Video blocks, Remotion components for programmatic video; without it results are UI only. Returns plain data, no picker UI - use this for your own lookups. If the USER should see a visual list of options and pick one, use `search_picker` instead (identical params, same results, but renders an inline picker on hosts that support it).
Parámetros de entrada
tagstringOptional tag slug filter (templates).
freebooleanTemplates only: true = free (price 0), false = paid. No effect elsewhere.
kindstringenumruntime 'remotion' only: the video block kind.
elementscenebackgroundtransitioncaptionsoverlay-fxtemplateminebooleanFilter to the signed-in caller's own items.
sortstringenumThemes: recommended|popular|newest. Templates: recommended|date|price. No effect on components (always relevance-ranked).
recommendedpopularnewestdatepricetypestringenumWhich catalog to search. Default 'all'.
componentthemetemplateallcolorstringOptional primary-color bucket filter (themes), e.g. 'blue', 'violet'.
likedbooleanFilter to items the caller has bookmarked.
limitnumberMax results (default 8).
querystringObligatorioWhat you need, e.g. 'pricing table', 'dark violet theme', 'saas template'.
aspectstringenumruntime 'remotion' only: blocks that support this aspect ratio.
16:99:161:1authorstringFilter to items by this username.
runtimestringenum'ui' (default): React/shadcn components, themes, templates. 'remotion': 21st Video blocks (Remotion components) only. A bare 'video' query stays UI unless you pass 'remotion'.
uiremotion
Parámetros de salida
resultsobject[]Matching catalog entities (empty array when nothing matched).
Search logo21ST_MCP_SEARCH_LOGOAcciónSearch brand and UI SVG logos by name (e.g. 'discord', 'nextjs', 'figma') from the open svgl.app library. FREE, no retrieval limit. Returns each match's title, category, and the SVG file url(s) - `svgUrl` (light) and, for themed logos, `darkSvgUrl`. Fetch a url to get the raw SVG markup to drop into a project. Use this when the user needs a brand/company logo or a common UI icon-mark.
21ST_MCP_SEARCH_LOGOAcciónSearch brand and UI SVG logos by name (e.g. 'discord', 'nextjs', 'figma') from the open svgl.app library. FREE, no retrieval limit. Returns each match's title, category, and the SVG file url(s) - `svgUrl` (light) and, for themed logos, `darkSvgUrl`. Fetch a url to get the raw SVG markup to drop into a project. Use this when the user needs a brand/company logo or a common UI icon-mark.
Parámetros de entrada
limitnumberMax results (default 8).
querystringObligatorioLogo/brand name, e.g. 'discord', 'react', 'vercel'.
Parámetros de salida
resultsobject[]Matching svgl.app logos (empty array when nothing matched).
Search picker21ST_MCP_SEARCH_PICKERAcciónIdentical to `search` (same params, same result shape) but renders an inline picker UI on hosts that support it, so the user can visually browse and pick a result. Use this instead of `search` when the USER should see the options and choose one. If you're searching for your own purposes and don't need to show the user a list, use `search` instead.
21ST_MCP_SEARCH_PICKERAcciónIdentical to `search` (same params, same result shape) but renders an inline picker UI on hosts that support it, so the user can visually browse and pick a result. Use this instead of `search` when the USER should see the options and choose one. If you're searching for your own purposes and don't need to show the user a list, use `search` instead.
Parámetros de entrada
tagstringOptional tag slug filter (templates).
freebooleanTemplates only: true = free (price 0), false = paid. No effect elsewhere.
kindstringenumruntime 'remotion' only: the video block kind.
elementscenebackgroundtransitioncaptionsoverlay-fxtemplateminebooleanFilter to the signed-in caller's own items.
sortstringenumThemes: recommended|popular|newest. Templates: recommended|date|price. No effect on components (always relevance-ranked).
recommendedpopularnewestdatepricetypestringenumWhich catalog to search. Default 'all'.
componentthemetemplateallcolorstringOptional primary-color bucket filter (themes), e.g. 'blue', 'violet'.
likedbooleanFilter to items the caller has bookmarked.
limitnumberMax results (default 8).
querystringObligatorioWhat you need, e.g. 'pricing table', 'dark violet theme', 'saas template'.
aspectstringenumruntime 'remotion' only: blocks that support this aspect ratio.
16:99:161:1authorstringFilter to items by this username.
runtimestringenum'ui' (default): React/shadcn components, themes, templates. 'remotion': 21st Video blocks (Remotion components) only. A bare 'video' query stays UI unless you pass 'remotion'.
uiremotion
Parámetros de salida
resultsobject[]Matching catalog entities, identical shape to `search` (empty array when nothing matched).
Send feedback21ST_MCP_SEND_FEEDBACKAcciónSend the user's own feedback about 21st. Call ONLY when the user explicitly asks to tell 21st something. Put the user's words in message. Never include source code, paths, secrets, or your own summary of their project. This sends voluntary product feedback, not a request for a reply. Free.
21ST_MCP_SEND_FEEDBACKAcciónSend the user's own feedback about 21st. Call ONLY when the user explicitly asks to tell 21st something. Put the user's words in message. Never include source code, paths, secrets, or your own summary of their project. This sends voluntary product feedback, not a request for a reply. Free.
Parámetros de entrada
kindstringenumbugideatake_problemothertakeintegerreasonstringenumnever_finishedblank_or_brokenignored_promptdesign_fitintegration_failedcopy_failedothermessagestringObligatorioprojectIdstring
Parámetros de salida
sentbooleantakeintegerfeedbackIdstringtakeNoticesobjectExact saved-context metadata. response_prepared means server reply preparation, never client read or application. Missing infrastructure is unavailable, not zero.
Submit component21ST_MCP_SUBMIT_COMPONENTAcciónSubmit a Published component for catalog review. This does not change who can access it.
21ST_MCP_SUBMIT_COMPONENTAcciónSubmit a Published component for catalog review. This does not change who can access it.
Parámetros de entrada
slugstringObligatorioThe component's slug.
Parámetros de salida
idnumberThe component's id.
slugstringThe component's slug.
alreadybooleanTrue when the requested state was already in effect; may be absent.
updatedbooleanTrue when an update was applied; may be absent.
visibilitystringResulting access: published | private.
unpublishedbooleanMay be absent; part of the shared component edit result shape.
reviewStatusstringResulting catalog review status; may be absent.
Update note21ST_MCP_UPDATE_NOTEAcciónSet the status of note ids from get_notes: in_progress, done, or wont_do. wont_do requires a one-line summary explaining why. Free, owner-only.
21ST_MCP_UPDATE_NOTEAcciónSet the status of note ids from get_notes: in_progress, done, or wont_do. wont_do requires a one-line summary explaining why. Free, owner-only.
Parámetros de entrada
idsstring[]Obligatoriotakeintegerfilesstring[]statusstringObligatorioenumin_progressdonewont_dosummarystringversionintegerprojectIdstring
Parámetros de salida
idsstring[]statusstringupdatedbooleanversionintegertakeNoticesobjectExact saved-context metadata. response_prepared means server reply preparation, never client read or application. Missing infrastructure is unavailable, not zero.
Upload profile media21ST_MCP_UPLOAD_PROFILE_MEDIAAcciónUpload an image (base64) to the caller's own 21st.dev media storage and get back a first-party url to use as an `image` block's `mediaUrl` in edit_profile. Accepts png/jpeg/gif/webp up to 5 MB as a base64 data: url (`data:image/png;base64,...`) - NOT a remote url to fetch; download the bytes yourself and pass them as base64.
21ST_MCP_UPLOAD_PROFILE_MEDIAAcciónUpload an image (base64) to the caller's own 21st.dev media storage and get back a first-party url to use as an `image` block's `mediaUrl` in edit_profile. Accepts png/jpeg/gif/webp up to 5 MB as a base64 data: url (`data:image/png;base64,...`) - NOT a remote url to fetch; download the bytes yourself and pass them as base64.
Parámetros de entrada
dataUrlstringObligatorioA base64 data: url, e.g. data:image/png;base64,iVBORw0...
Parámetros de salida
urlstringFirst-party URL of the uploaded image, usable as an image block's mediaUrl.
Video apply ops21ST_MCP_VIDEO_APPLY_OPSAcciónEdit a video through the same operations as the editor. Supply baseRev from video_get_doc. A conflict returns the fresh document and rev; re-plan, never blindly retry old ops. label describes the step in undo history. No hosted LLM is invoked. edit_video ops (each op is an object with an "op" field; seconds at the doc fps):
title {value}
brand {colors?: {primary,secondary,text,background}, fonts?: {heading,body,display,numerals,serif,mono,accent}, logos?: {light?: asset id|null, dark?: asset id|null}, motion?: calm|default|punchy}
add_scene {block, after?: scene id|"start"|"end", seconds?, props?, transition?: none|fade|slide|wipe|zoom|diagonal-wipe, transition_seconds?}
add_media_scene {asset, after?: scene id|"start"|"end", seconds?, fit?: cover|contain, transition?} a full-frame scene showing an uploaded image or clip (asset is an id from the document's media)
add_layer {block, scene, offset?, seconds?, props?, region?} or {block, at, seconds?} to pin it across scenes
text {target, field, value} target is a scene id or layer id
set_prop {target, key, value}
bind {target, key, binding: colors.primary|colors.secondary|colors.text|colors.background|fonts.heading|fonts.body|fonts.display|fonts.numerals|fonts.serif|fonts.mono|fonts.accent|null}
scene_length {scene, seconds}
fit_length {seconds} stretches or trims the holds of all scenes
layer_timing {layer, offset?, seconds?}
transition {scene, kind: none|fade|slide|wipe|zoom|diagonal-wipe, seconds?, timing?: linear|spring, direction?: right|left|top|bottom, all?: true}
swap_block {target, block}
region {layer, region: full|center|upper-third|lower-third|left-half|right-half|corner-tl|corner-br, size?: 16:9|9:16|1:1}
hide_in_size {layer, size, hidden}
move_scene {scene, to} to is the 1-based position
remove {id}
duplicate {id}
music {track: name from the music list | null, db?}
add_audio {role: voice|music, asset} put an uploaded audio file (asset id from the document's media) on the timeline
asset_slot {scene, slot, asset: asset id|null} fill a media field of a scene block (e.g. a phone screen) with an uploaded image or clip
audio {id, db?, fade_in?, fade_out?, duck?, fit_to_video?}
split_audio {id, at_frame}
export_sizes {sizes: [16:9|9:16|1:1]}
video {fade_out?, background?: hex|null}
captions {items?: [{text,startMs,endMs}], position?, per_page?, lines?, remove?}
replace_text {find, replace}
note {label} explain without changing anything
21ST_MCP_VIDEO_APPLY_OPSAcciónEdit a video through the same operations as the editor. Supply baseRev from video_get_doc. A conflict returns the fresh document and rev; re-plan, never blindly retry old ops. label describes the step in undo history. No hosted LLM is invoked. edit_video ops (each op is an object with an "op" field; seconds at the doc fps): title {value} brand {colors?: {primary,secondary,text,background}, fonts?: {heading,body,display,numerals,serif,mono,accent}, logos?: {light?: asset id|null, dark?: asset id|null}, motion?: calm|default|punchy} add_scene {block, after?: scene id|"start"|"end", seconds?, props?, transition?: none|fade|slide|wipe|zoom|diagonal-wipe, transition_seconds?} add_media_scene {asset, after?: scene id|"start"|"end", seconds?, fit?: cover|contain, transition?} a full-frame scene showing an uploaded image or clip (asset is an id from the document's media) add_layer {block, scene, offset?, seconds?, props?, region?} or {block, at, seconds?} to pin it across scenes text {target, field, value} target is a scene id or layer id set_prop {target, key, value} bind {target, key, binding: colors.primary|colors.secondary|colors.text|colors.background|fonts.heading|fonts.body|fonts.display|fonts.numerals|fonts.serif|fonts.mono|fonts.accent|null} scene_length {scene, seconds} fit_length {seconds} stretches or trims the holds of all scenes layer_timing {layer, offset?, seconds?} transition {scene, kind: none|fade|slide|wipe|zoom|diagonal-wipe, seconds?, timing?: linear|spring, direction?: right|left|top|bottom, all?: true} swap_block {target, block} region {layer, region: full|center|upper-third|lower-third|left-half|right-half|corner-tl|corner-br, size?: 16:9|9:16|1:1} hide_in_size {layer, size, hidden} move_scene {scene, to} to is the 1-based position remove {id} duplicate {id} music {track: name from the music list | null, db?} add_audio {role: voice|music, asset} put an uploaded audio file (asset id from the document's media) on the timeline asset_slot {scene, slot, asset: asset id|null} fill a media field of a scene block (e.g. a phone screen) with an uploaded image or clip audio {id, db?, fade_in?, fade_out?, duck?, fit_to_video?} split_audio {id, at_frame} export_sizes {sizes: [16:9|9:16|1:1]} video {fade_out?, background?: hex|null} captions {items?: [{text,startMs,endMs}], position?, per_page?, lines?, remove?} replace_text {find, replace} note {label} explain without changing anything
Parámetros de entrada
opsarrayObligatorioforcestring[]labelstringbaseRevintegerObligatorioviewSizestringenum16:99:161:1projectIdstringObligatoriouuid
Parámetros de salida
revintegerjobsobject[]blocksobject[]conflictbooleandocumentobjecteditorUrlstring | nullprojectIdstring
Video create project21ST_MCP_VIDEO_CREATE_PROJECTAcciónCreate an editable video. For a product or launch request, supply an authored initial blocks (kit ops) sequence with real on-screen product copy; the title does not replace block defaults. Use a template slug, single blockRef or empty canvas when requested. Returns projectId, editorUrl and rev. Verify the draft with video_get_doc, then open its fresh editorUrl in the host's in-app browser.
21ST_MCP_VIDEO_CREATE_PROJECTAcciónCreate an editable video. For a product or launch request, supply an authored initial blocks (kit ops) sequence with real on-screen product copy; the title does not replace block defaults. Use a template slug, single blockRef or empty canvas when requested. Returns projectId, editorUrl and rev. Verify the draft with video_get_doc, then open its fresh editorUrl in the host's in-app browser.
Parámetros de entrada
sizestringObligatorioenum16:99:161:1propsobjectscopeanytitlestringblocksarrayblockRefstringtemplatestring
Parámetros de salida
revintegerjobsobject[]blocksobject[]conflictbooleandocumentobjecteditorUrlstring | nullprojectIdstring
Video export21ST_MCP_VIDEO_EXPORTAcciónExport the saved video at rev through the existing renderer and plan quota. Returns jobs or blocked with the reason. Poll video_export_status until ready; cached exports are free.
21ST_MCP_VIDEO_EXPORTAcciónExport the saved video at rev through the existing renderer and plan quota. Returns jobs or blocked with the reason. Poll video_export_status until ready; cached exports are free.
Parámetros de entrada
revintegerObligatoriosizesstring[]Obligatorioqualitystringenum720p1080pmaxFramesintegerprojectIdstringObligatoriouuid
Parámetros de salida
revintegerjobsobject[]blocksobject[]conflictbooleandocumentobjecteditorUrlstring | nullprojectIdstring
Video export status21ST_MCP_VIDEO_EXPORT_STATUSAcciónGet the authorized project's exports and progress. Ready jobs include a short-lived MP4 download URL.
21ST_MCP_VIDEO_EXPORT_STATUSAcciónGet the authorized project's exports and progress. Ready jobs include a short-lived MP4 download URL.
Parámetros de entrada
projectIdstringObligatoriouuid
Parámetros de salida
revintegerjobsobject[]blocksobject[]conflictbooleandocumentobjecteditorUrlstring | nullprojectIdstring
Video finalize asset21ST_MCP_VIDEO_FINALIZE_ASSETAcciónVerify a completed PUT and add the owned asset to the project through CAS at baseRev. Returns assetId and the new rev, or a conflict; call again with the fresh rev to attach the already uploaded asset.
21ST_MCP_VIDEO_FINALIZE_ASSETAcciónVerify a completed PUT and add the owned asset to the project through CAS at baseRev. Returns assetId and the new rev, or a conflict; call again with the fresh rev to attach the already uploaded asset.
Parámetros de entrada
namestringwidthintegerheightintegerassetIdstringObligatoriouuidbaseRevintegerObligatorioprojectIdstringObligatoriouuiddurationMsnumber
Parámetros de salida
revintegerjobsobject[]blocksobject[]conflictbooleandocumentobjecteditorUrlstring | nullprojectIdstring
Video get doc21ST_MCP_VIDEO_GET_DOCAcciónRead the compact video document, rev and the user's current editor selection/frame. Read this before planning edits; hand-set fields in mine are preserved unless force explicitly names them.
21ST_MCP_VIDEO_GET_DOCAcciónRead the compact video document, rev and the user's current editor selection/frame. Read this before planning edits; hand-set fields in mine are preserved unless force explicitly names them.
Parámetros de entrada
tokenstringprojectIdstringObligatoriouuid
Parámetros de salida
revintegerjobsobject[]blocksobject[]conflictbooleandocumentobjecteditorUrlstring | nullprojectIdstring
Video list blocks21ST_MCP_VIDEO_LIST_BLOCKSAcciónList video blocks by job, visual language, energy, screenshot needs, kind and size, including defaults, props schema, timing and poster URLs. Free metadata.
21ST_MCP_VIDEO_LIST_BLOCKSAcciónList video blocks by job, visual language, energy, screenshot needs, kind and size, including defaults, props schema, timing and poster URLs. Free metadata.
Parámetros de entrada
jobstringenumtitlesproduct-uidevicescodeprocessdatalogosgallerytestimonialsctabackgroundscursorskindstringenumelementscenebackgroundtransitioncaptionsoverlay-fxtemplatesizestringenum16:99:161:1limitintegerenergystringenumcalmdefaultpunchylanguagestringenumproduct-uikinetic-posterglasseditorialisometricphoto-collagehand-drawnpixel-terminalneo-brutalaurarequiresScreenshotboolean
Parámetros de salida
revintegerjobsobject[]blocksobject[]conflictbooleandocumentobjecteditorUrlstring | nullprojectIdstring
Video propose variants21ST_MCP_VIDEO_PROPOSE_VARIANTSAcciónPropose against baseRev without changing the video. Choose exactly one: variants (2 to 4 general alternatives), or groups (up to 20 existing block scenes, exactly 3 distinct style options per scene). Scene groups use only scene-local set_prop presentation fields and preserve the same block, content, palette, fonts, logos, audio, captions and timeline. An empty ops option keeps the current style. Groups normalize touched style keys to absolute values so independent scene choices can be mixed and changed later. Returns complete groups, detailed dropped-group errors, or a conflict with the fresh document.
21ST_MCP_VIDEO_PROPOSE_VARIANTSAcciónPropose against baseRev without changing the video. Choose exactly one: variants (2 to 4 general alternatives), or groups (up to 20 existing block scenes, exactly 3 distinct style options per scene). Scene groups use only scene-local set_prop presentation fields and preserve the same block, content, palette, fonts, logos, audio, captions and timeline. An empty ops option keeps the current style. Groups normalize touched style keys to absolute values so independent scene choices can be mixed and changed later. Returns complete groups, detailed dropped-group errors, or a conflict with the fresh document.
Parámetros de entrada
labelstringObligatoriogroupsobject[]baseRevintegerObligatoriovariantsobject[]viewSizestringenum16:99:161:1projectIdstringObligatoriouuid
Parámetros de salida
revintegerjobsobject[]blocksobject[]conflictbooleandocumentobjecteditorUrlstring | nullprojectIdstring
Video search blocks21ST_MCP_VIDEO_SEARCH_BLOCKSAcciónSearch video blocks by name, tags, job, visual language and category. Returns usable refs, props schemas and posters, without source retrieval fees.
21ST_MCP_VIDEO_SEARCH_BLOCKSAcciónSearch video blocks by name, tags, job, visual language and category. Returns usable refs, props schemas and posters, without source retrieval fees.
Parámetros de entrada
jobstringenumtitlesproduct-uidevicescodeprocessdatalogosgallerytestimonialsctabackgroundscursorskindstringenumelementscenebackgroundtransitioncaptionsoverlay-fxtemplatesizestringenum16:99:161:1limitintegerquerystringObligatorioenergystringenumcalmdefaultpunchylanguagestringenumproduct-uikinetic-posterglasseditorialisometricphoto-collagehand-drawnpixel-terminalneo-brutalaurarequiresScreenshotboolean
Parámetros de salida
revintegerjobsobject[]blocksobject[]conflictbooleandocumentobjecteditorUrlstring | nullprojectIdstring
Video snapshot21ST_MCP_VIDEO_SNAPSHOTAcciónRender a real PNG of frame N at the given project rev and size. Returns an image for visual review without a hosted LLM. A small hourly preview budget bounds renderer abuse.
21ST_MCP_VIDEO_SNAPSHOTAcciónRender a real PNG of frame N at the given project rev and size. Returns an image for visual review without a hosted LLM. A small hourly preview budget bounds renderer abuse.
Parámetros de entrada
revintegerObligatoriosizestringenum16:99:161:1frameintegerObligatorioprojectIdstringObligatoriouuid
Parámetros de salida
revintegerjobsobject[]blocksobject[]conflictbooleandocumentobjecteditorUrlstring | nullprojectIdstring
Video upload asset21ST_MCP_VIDEO_UPLOAD_ASSETAcciónRequest a presigned PUT for a local logo, screenshot, video or audio. PUT the bytes to uploadUrl with the returned contentType, then call video_finalize_asset. Storage limits and ownership checks apply.
21ST_MCP_VIDEO_UPLOAD_ASSETAcciónRequest a presigned PUT for a local logo, screenshot, video or audio. PUT the bytes to uploadUrl with the returned contentType, then call video_finalize_asset. Storage limits and ownership checks apply.
Parámetros de entrada
kindstringObligatorioenumimagevideoaudiologomimestringObligatoriobytesintegerObligatorioprojectIdstringObligatoriouuid
Parámetros de salida
revintegerjobsobject[]blocksobject[]conflictbooleandocumentobjecteditorUrlstring | nullprojectIdstring
Withdraw component21ST_MCP_WITHDRAW_COMPONENTAcciónWithdraw a component that is currently In review. It stays Published.
21ST_MCP_WITHDRAW_COMPONENTAcciónWithdraw a component that is currently In review. It stays Published.
Parámetros de entrada
slugstringObligatorioThe component's slug.
Parámetros de salida
idnumberThe component's id.
slugstringThe component's slug.
alreadybooleanTrue when the requested state was already in effect; may be absent.
updatedbooleanTrue when an update was applied; may be absent.
visibilitystringResulting access: published | private.
unpublishedbooleanMay be absent; part of the shared component edit result shape.
reviewStatusstringResulting catalog review status; may be absent.