Volver al catálogo

21st MCP

21st_mcp

Search 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
51
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

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ón

Add (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

  • idstringObligatorio

    The item id (component demo id / theme uuid / template id). A numeric id may be passed as text.

  • typestringObligatorioenum

    What kind of item the id refers to.

    componentthemetemplate
  • listIdstringObligatorio

    The bookmark list id (uuid).

  • removeboolean

    Set true to remove the item from the list.

Parámetros de salida

  • idnumber | string

    The item id as passed by the caller (number or string).

  • typestring

    The item kind: component | theme | template.

  • inListboolean

    True after adding, false after removing.

  • listIdstring

    The bookmark list that was modified.

Bookmark21ST_MCP_BOOKMARKAcción

Add (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

  • idstringObligatorio

    The item id (component demo id / theme uuid / template id). A numeric id may be passed as text.

  • typestringObligatorioenum

    What kind of item the id refers to.

    componentthemetemplate
  • removeboolean

    Set true to remove the bookmark instead of adding it.

Parámetros de salida

  • idnumber | string

    The item id as passed by the caller (number or string).

  • typestring

    The item kind that was (un)bookmarked: component | theme | template.

  • bookmarkedboolean

    True after adding, false after removing.

Create bookmark list21ST_MCP_CREATE_BOOKMARK_LISTAcción

Create a new personal named bookmark list on the signed-in account.

Parámetros de entrada

  • namestringObligatorio

    The list name.

Parámetros de salida

  • listobject

    The newly created list.

Delete component21ST_MCP_DELETE_COMPONENTAcción

Remove 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

  • slugstringObligatorio

    The component's slug.

Parámetros de salida

  • idnumber

    The component's id.

  • slugstring

    The component's slug.

  • alreadyboolean

    True when the component was already unpublished; may be absent.

  • updatedboolean

    May be absent; part of the shared component edit result shape.

  • visibilitystring

    Resulting access, 'private' after unpublish.

  • unpublishedboolean

    True when the component was unpublished; may be absent.

  • reviewStatusstring

    Catalog review status; may be absent.

Delete template21ST_MCP_DELETE_TEMPLATEAcción

Permanently 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

  • idnumberObligatorio

    The template id.

Parámetros de salida

  • idnumber

    The deleted template's id.

  • deletedboolean

    True when the template row was hard-deleted; may be absent.

  • updatedboolean

    May be absent; part of the shared template edit result shape.

Delete theme21ST_MCP_DELETE_THEMEAcción

Remove 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

  • idstringObligatorio

    The theme id (uuid).

Parámetros de salida

  • idstring

    The theme's uuid.

  • alreadyboolean

    True when the theme was already unpublished; may be absent.

  • updatedboolean

    May be absent; part of the shared theme edit result shape.

  • unpublishedboolean

    True when the theme was unpublished; may be absent.

Edit component21ST_MCP_EDIT_COMPONENTAcción

Update 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

  • slugstringObligatorio

    The component's slug (from a search with mine:true, or the studio URL).

  • tagsstring[]

    Tag slugs - REPLACES the full tag set.

  • visibilitystringenum

    New access. Use published or private; public/unlisted are temporary compatibility aliases.

    publishedprivatepublicunlisted
  • descriptionstring

    New description.

Parámetros de salida

  • idnumber

    The component's id.

  • slugstring

    The component's slug.

  • alreadyboolean

    True when the requested state was already in effect; may be absent.

  • updatedboolean

    True when an update was applied; may be absent.

  • visibilitystring

    Resulting access: published | private.

  • unpublishedboolean

    True when the edit unpublished the component; may be absent.

  • reviewStatusstring

    Catalog review status; may be absent.

Edit profile21ST_MCP_EDIT_PROFILEAcción

Replace 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

  • clearboolean

    Revert to the classic profile (drops the saved board).

  • blocksobject[]

    Full replacement list of content blocks, top to bottom.

  • enabledboolean

    Explicitly 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).

  • enabledboolean

    Whether 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ón

Apply 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[]Obligatorio
  • takeintegerObligatorio
  • notesobject[]

    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.

  • versionintegerObligatorio
  • projectIdstringObligatorio

Parámetros de salida

  • htmlstring
  • creditsnumber
  • versioninteger
  • takeNoticesobject

    Exact 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ón

Update 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

  • idnumberObligatorio

    The template id.

  • namestring
  • pricenumber

    Price in USD (0 = free).

  • tagIdsnumber[]

    Tag ids - REPLACES the full tag set.

  • videoUrlstring

    Demo video URL.

  • paymentUrlstring

    Off-site buy links are off: only null (clear) is accepted.

  • previewUrlstring

    Thumbnail/preview image URL.

  • descriptionstring
  • websitePreviewUrlstring

    Live preview site URL.

Parámetros de salida

  • idnumber

    The template's id.

  • deletedboolean

    May be absent; part of the shared template edit result shape.

  • updatedboolean

    True when an update was applied; may be absent.

Edit theme21ST_MCP_EDIT_THEMEAcción

Update 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

  • idstringObligatorio

    The theme id (uuid).

  • namestring

    New theme name.

  • tagsstring[]

    Tag slugs - REPLACES the full tag set.

  • visibilitystringenum

    New visibility.

    publicprivate

Parámetros de salida

  • idstring

    The theme's uuid.

  • alreadyboolean

    True when the requested state was already in effect; may be absent.

  • updatedboolean

    True when an update was applied; may be absent.

  • unpublishedboolean

    True when the edit unpublished the theme; may be absent.

Get bookmark list21ST_MCP_GET_BOOKMARK_LISTAcción

List 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

  • limitnumber

    Max items (default 50).

  • listIdstringObligatorio

    The 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ón

Read 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

  • takeintegerObligatorio
  • sincestring

    A 1-based version number as text, or pulled for the latest retrieval.

  • projectIdstringObligatorio

Parámetros de salida

  • specstring
  • sinceinteger
  • versioninteger
  • takeNoticesobject

    Exact 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ón

Retrieve 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

  • idnumberObligatorio

    The `id` (a demo id) from a search/list result.

Parámetros de salida

  • foundboolean

    Present and false only when no component exists (or is accessible) for the id; absent on success and on paywall.

  • limitnumber

    The daily free limit that was hit (paywall shape; may be absent).

  • quotaobject

    What the caller has left after this retrieval; only attached for metered (public, free-tier-relevant) retrievals.

  • lockedboolean

    True on the paywall denial shape (free retrieval quota exhausted).

  • reasonstring

    Paywall denial reason, e.g. retrieval_limit_reached (paywall shape only).

  • resetAtstring | null

    When the free quota resets (paywall shape; may be absent or null).

  • componentobject

    The retrieved component bundle (success case only).

  • upgradeUrlstring

    Link to upgrade/checkout (paywall shape; may be absent).

Get generation21ST_MCP_GET_GENERATIONAcción

List 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

  • projectIdstringObligatorio

    The generation's projectId (structuredContent.projectId from a `generate` result).

Parámetros de salida

  • urlstring

    Preview URL for the generation.

  • takesobject[]

    The generation's takes (variants).

  • projectIdstring

    The generation's project id.

  • takeNoticesobject

    Exact 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ón

Poll 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

  • jobIdstringObligatorio

    The jobId returned by `iterate_generation`.

Parámetros de salida

  • urlstring

    Preview URL.

  • codestring | null

    Code bundle after completion; absent or null otherwise.

  • htmlstring | null

    Exact persisted HTML after completion; null otherwise.

  • modeanyenum
    sketchcode
  • takenumber

    The 1-based take number.

  • filesobject | null

    Exact saved Code source files after completion; absent or null otherwise.

  • jobIdstring

    Background job id.

  • readyboolean

    True only when completed code is present.

  • statusstring

    queued, running, completed, or failed.

  • errorCodestring | null

    Stable failure reason; null unless failed.

  • projectIdstring

    The generation's project id.

  • versionIdstring | null

    Persisted version id after completion; null otherwise.

  • copyPromptstring | null

    Paste-ready spec after completion; null otherwise.

  • agentPromptstring | null

    Paste-ready handoff for the exact saved revision.

  • takeNoticesobject

    Exact saved-context metadata. response_prepared means server reply preparation, never client read or application. Missing infrastructure is unavailable, not zero.

  • dependenciesobject | null
  • pollAfterSecondsnumber | null

    Suggested delay while queued/running; null when terminal.

Get inspiration21ST_MCP_GET_INSPIRATIONAcción

Search 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

  • limitnumber

    Maximum ranked results (default 8).

  • querystringObligatorio

    The UI or product need to find inspiration for.

  • contextobject

    Optional `.21st/design.json` object. Send only when the user explicitly invokes project-aware search.

  • diversityboolean

    Prefer coverage across types and authors instead of near-duplicates (default true).

Parámetros de salida

  • querystring

    The query that was ranked against.

  • resultsobject[]

    Ranked inspiration hits: the uniform search entity shape plus confidence and rationale (empty array when nothing matched).

  • feedbackIdstring

    Opaque id to pass to record_inspiration_feedback.

  • contextAppliedboolean

    Whether a sanitized Design Context was applied to ranking.

  • feedbackAvailableboolean

    Whether the authenticated exposure receipt is available for feedback.

Get notes21ST_MCP_GET_NOTESAcción

Read 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

  • takeinteger
  • statusstringenum
    sentopenall
  • versioninteger
  • projectIdstring

Parámetros de salida

  • specstring
  • takeinteger
  • notesobject[]
  • versioninteger
  • projectIdstring
  • takeNoticesobject

    Exact 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ón

Read 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).

  • enabledboolean

    Whether the bento board is shown on the public profile.

  • warningsstring[]

    Validation warnings (typically empty on read).

Get take21ST_MCP_GET_TAKEAcción

Fetch 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

  • takenumber

    1-based take number to fetch (see `get_generation` or the 'Take N' preview label). Defaults to 1.

  • latestboolean

    Suggest 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.

  • tokensboolean

    Include declared CSS custom properties; values are not computed browser styles.

  • versioninteger

    Exact 1-based saved version. Omit for the latest saved version.

  • elementsboolean

    Include the saved address map. Browser geometry is explicitly unavailable.

  • projectIdstring

    The generation's projectId (structuredContent.projectId from a `generate` result).

Parámetros de salida

  • urlstring

    Preview URL for the generation.

  • codestring | null
  • htmlstring | null

    The take's self-contained HTML draft; null until a draft has rendered.

  • modestring
  • takenumber

    The 1-based take number.

  • filesobject | null
  • labelstring
  • readyboolean

    Whether the take's draft has rendered.

  • reasonstring | null
  • tokensobject
  • versioninteger
  • elementsobject[]
  • geometrystring
  • selectedstring[]
  • projectIdstring

    The generation's project id.

  • takeStateobject

    State from the persisted attempt and real producer lease. Historical model/accounting values remain null when unknown.

  • copyPromptstring | null

    Paste-ready rebuild spec; null until a draft has rendered.

  • selectionsobject
  • agentPromptstring
  • takeNoticesobject

    Exact saved-context metadata. response_prepared means server reply preparation, never client read or application. Missing infrastructure is unavailable, not zero.

  • needsBrowserboolean
  • tokenCoveragestring
  • generationBlockobject

    Shared typed access block. Only fields relevant to its kind are present.

Get theme21ST_MCP_GET_THEMEAcción

Retrieve 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

  • idstringObligatorio

    The theme `id` (uuid) from a search result.

Parámetros de salida

  • foundboolean

    Present and false only when no theme exists for the id; absent on success.

  • themeobject

    The retrieved theme bundle (success case only).

Get usage21ST_MCP_GET_USAGEAcción

Check 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

  • tierstring

    free | paid.

  • upgradeUrlstring | null

    Upgrade link; null for paid callers.

  • freeSearchesPerDaynumber | null

    Always null today (search is unmetered).

  • aiGenerationEnabledboolean

    Whether 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 | null

    Daily free component-code retrieval allowance; null for paid callers.

  • freeSearchesRemainingnumber | null

    Always null today (search is unmetered).

  • freeRetrievalsRemainingnumber | null

    Free retrievals left today; null for paid callers.

List bookmark lists21ST_MCP_LIST_BOOKMARK_LISTSAcción

List 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ón

List 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

  • typestringenum

    Which bookmarks to list. Default 'all'.

    componentthemetemplateall
  • limitnumber

    Max 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ón

List 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

  • limitnumber

    Max results (default 50).

  • teamIdstringObligatorio

    The team id (uuid) from list_teams.

  • libraryIdstring

    Optional: 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ón

List 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

  • teamIdstringObligatorio

    The 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ón

List 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

  • teamIdstringObligatorio

    The 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ón

List 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ón

Record 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

  • outcomestringObligatorioenum
    acceptedrejected
  • resultIdstring
  • feedbackIdstringObligatorio
  • resultTypestringenum
    componentthemetemplate

Parámetros de salida

  • outcomestring

    accepted | rejected.

  • recordedboolean

    Always true on success.

  • weightedboolean

    Whether this admitted vote targets a public catalog result eligible for aggregate weighting.

  • feedbackIdstring

    The feedback id that was recorded.

Record take outcome21ST_MCP_RECORD_TAKE_OUTCOMEAcción

Record 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

  • takeintegerObligatorio
  • buildstringenum
    passedfailednot_run
  • reasonstringenum
    build_faileddid_not_fit_stackqualitychanged_mindother
  • outcomestringObligatorioenum
    landedadaptedabandoned
  • versioninteger
  • projectIdstringObligatorio
  • typecheckstringenum
    passedfailednot_run
  • reportedBystringObligatorioenum
    agentuser

Parámetros de salida

  • takeinteger
  • outcomestring
  • versioninteger
  • recordedboolean
  • takeNoticesobject

    Exact 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ón

Remove a Featured component from the catalog while keeping it Published on its profile and direct URL.

Parámetros de entrada

  • slugstringObligatorio

    The component's slug.

Parámetros de salida

  • idnumber

    The component's id.

  • slugstring

    The component's slug.

  • alreadyboolean

    True when the requested state was already in effect; may be absent.

  • updatedboolean

    True when an update was applied; may be absent.

  • visibilitystring

    Resulting access: published | private (stays published).

  • unpublishedboolean

    May be absent; part of the shared component edit result shape.

  • reviewStatusstring

    Resulting catalog review status; may be absent.

Resubmit component21ST_MCP_RESUBMIT_COMPONENTAcción

Resubmit a Published component after requested changes. It returns to In review.

Parámetros de entrada

  • slugstringObligatorio

    The component's slug.

Parámetros de salida

  • idnumber

    The component's id.

  • slugstring

    The component's slug.

  • alreadyboolean

    True when the requested state was already in effect; may be absent.

  • updatedboolean

    True when an update was applied; may be absent.

  • visibilitystring

    Resulting access: published | private.

  • unpublishedboolean

    May be absent; part of the shared component edit result shape.

  • reviewStatusstring

    Resulting catalog review status; may be absent.

Search21ST_MCP_SEARCHAcción

Search 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

  • tagstring

    Optional tag slug filter (templates).

  • freeboolean

    Templates only: true = free (price 0), false = paid. No effect elsewhere.

  • kindstringenum

    runtime 'remotion' only: the video block kind.

    elementscenebackgroundtransitioncaptionsoverlay-fxtemplate
  • mineboolean

    Filter to the signed-in caller's own items.

  • sortstringenum

    Themes: recommended|popular|newest. Templates: recommended|date|price. No effect on components (always relevance-ranked).

    recommendedpopularnewestdateprice
  • typestringenum

    Which catalog to search. Default 'all'.

    componentthemetemplateall
  • colorstring

    Optional primary-color bucket filter (themes), e.g. 'blue', 'violet'.

  • likedboolean

    Filter to items the caller has bookmarked.

  • limitnumber

    Max results (default 8).

  • querystringObligatorio

    What you need, e.g. 'pricing table', 'dark violet theme', 'saas template'.

  • aspectstringenum

    runtime 'remotion' only: blocks that support this aspect ratio.

    16:99:161:1
  • authorstring

    Filter 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ón

Search 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

  • limitnumber

    Max results (default 8).

  • querystringObligatorio

    Logo/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ón

Identical 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

  • tagstring

    Optional tag slug filter (templates).

  • freeboolean

    Templates only: true = free (price 0), false = paid. No effect elsewhere.

  • kindstringenum

    runtime 'remotion' only: the video block kind.

    elementscenebackgroundtransitioncaptionsoverlay-fxtemplate
  • mineboolean

    Filter to the signed-in caller's own items.

  • sortstringenum

    Themes: recommended|popular|newest. Templates: recommended|date|price. No effect on components (always relevance-ranked).

    recommendedpopularnewestdateprice
  • typestringenum

    Which catalog to search. Default 'all'.

    componentthemetemplateall
  • colorstring

    Optional primary-color bucket filter (themes), e.g. 'blue', 'violet'.

  • likedboolean

    Filter to items the caller has bookmarked.

  • limitnumber

    Max results (default 8).

  • querystringObligatorio

    What you need, e.g. 'pricing table', 'dark violet theme', 'saas template'.

  • aspectstringenum

    runtime 'remotion' only: blocks that support this aspect ratio.

    16:99:161:1
  • authorstring

    Filter 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ón

Send 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

  • kindstringenum
    bugideatake_problemother
  • takeinteger
  • reasonstringenum
    never_finishedblank_or_brokenignored_promptdesign_fitintegration_failedcopy_failedother
  • messagestringObligatorio
  • projectIdstring

Parámetros de salida

  • sentboolean
  • takeinteger
  • feedbackIdstring
  • takeNoticesobject

    Exact 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ón

Submit a Published component for catalog review. This does not change who can access it.

Parámetros de entrada

  • slugstringObligatorio

    The component's slug.

Parámetros de salida

  • idnumber

    The component's id.

  • slugstring

    The component's slug.

  • alreadyboolean

    True when the requested state was already in effect; may be absent.

  • updatedboolean

    True when an update was applied; may be absent.

  • visibilitystring

    Resulting access: published | private.

  • unpublishedboolean

    May be absent; part of the shared component edit result shape.

  • reviewStatusstring

    Resulting catalog review status; may be absent.

Update note21ST_MCP_UPDATE_NOTEAcción

Set 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[]Obligatorio
  • takeinteger
  • filesstring[]
  • statusstringObligatorioenum
    in_progressdonewont_do
  • summarystring
  • versioninteger
  • projectIdstring

Parámetros de salida

  • idsstring[]
  • statusstring
  • updatedboolean
  • versioninteger
  • takeNoticesobject

    Exact 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ón

Upload 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

  • dataUrlstringObligatorio

    A base64 data: url, e.g. data:image/png;base64,iVBORw0...

Parámetros de salida

  • urlstring

    First-party URL of the uploaded image, usable as an image block's mediaUrl.

Video apply ops21ST_MCP_VIDEO_APPLY_OPSAcción

Edit 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

  • opsarrayObligatorio
  • forcestring[]
  • labelstring
  • baseRevintegerObligatorio
  • viewSizestringenum
    16:99:161:1
  • projectIdstringObligatoriouuid

Parámetros de salida

  • revinteger
  • jobsobject[]
  • blocksobject[]
  • conflictboolean
  • documentobject
  • editorUrlstring | null
  • projectIdstring
Video create project21ST_MCP_VIDEO_CREATE_PROJECTAcción

Create 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

  • sizestringObligatorioenum
    16:99:161:1
  • propsobject
  • scopeany
  • titlestring
  • blocksarray
  • blockRefstring
  • templatestring

Parámetros de salida

  • revinteger
  • jobsobject[]
  • blocksobject[]
  • conflictboolean
  • documentobject
  • editorUrlstring | null
  • projectIdstring
Video export21ST_MCP_VIDEO_EXPORTAcción

Export 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

  • revintegerObligatorio
  • sizesstring[]Obligatorio
  • qualitystringenum
    720p1080p
  • maxFramesinteger
  • projectIdstringObligatoriouuid

Parámetros de salida

  • revinteger
  • jobsobject[]
  • blocksobject[]
  • conflictboolean
  • documentobject
  • editorUrlstring | null
  • projectIdstring
Video export status21ST_MCP_VIDEO_EXPORT_STATUSAcción

Get 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

  • revinteger
  • jobsobject[]
  • blocksobject[]
  • conflictboolean
  • documentobject
  • editorUrlstring | null
  • projectIdstring
Video finalize asset21ST_MCP_VIDEO_FINALIZE_ASSETAcción

Verify 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

  • namestring
  • widthinteger
  • heightinteger
  • assetIdstringObligatoriouuid
  • baseRevintegerObligatorio
  • projectIdstringObligatoriouuid
  • durationMsnumber

Parámetros de salida

  • revinteger
  • jobsobject[]
  • blocksobject[]
  • conflictboolean
  • documentobject
  • editorUrlstring | null
  • projectIdstring
Video get doc21ST_MCP_VIDEO_GET_DOCAcción

Read 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

  • tokenstring
  • projectIdstringObligatoriouuid

Parámetros de salida

  • revinteger
  • jobsobject[]
  • blocksobject[]
  • conflictboolean
  • documentobject
  • editorUrlstring | null
  • projectIdstring
Video list blocks21ST_MCP_VIDEO_LIST_BLOCKSAcción

List 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

  • jobstringenum
    titlesproduct-uidevicescodeprocessdatalogosgallerytestimonialsctabackgroundscursors
  • kindstringenum
    elementscenebackgroundtransitioncaptionsoverlay-fxtemplate
  • sizestringenum
    16:99:161:1
  • limitinteger
  • energystringenum
    calmdefaultpunchy
  • languagestringenum
    product-uikinetic-posterglasseditorialisometricphoto-collagehand-drawnpixel-terminalneo-brutalaura
  • requiresScreenshotboolean

Parámetros de salida

  • revinteger
  • jobsobject[]
  • blocksobject[]
  • conflictboolean
  • documentobject
  • editorUrlstring | null
  • projectIdstring
Video propose variants21ST_MCP_VIDEO_PROPOSE_VARIANTSAcción

Propose 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

  • labelstringObligatorio
  • groupsobject[]
  • baseRevintegerObligatorio
  • variantsobject[]
  • viewSizestringenum
    16:99:161:1
  • projectIdstringObligatoriouuid

Parámetros de salida

  • revinteger
  • jobsobject[]
  • blocksobject[]
  • conflictboolean
  • documentobject
  • editorUrlstring | null
  • projectIdstring
Video search blocks21ST_MCP_VIDEO_SEARCH_BLOCKSAcción

Search 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

  • jobstringenum
    titlesproduct-uidevicescodeprocessdatalogosgallerytestimonialsctabackgroundscursors
  • kindstringenum
    elementscenebackgroundtransitioncaptionsoverlay-fxtemplate
  • sizestringenum
    16:99:161:1
  • limitinteger
  • querystringObligatorio
  • energystringenum
    calmdefaultpunchy
  • languagestringenum
    product-uikinetic-posterglasseditorialisometricphoto-collagehand-drawnpixel-terminalneo-brutalaura
  • requiresScreenshotboolean

Parámetros de salida

  • revinteger
  • jobsobject[]
  • blocksobject[]
  • conflictboolean
  • documentobject
  • editorUrlstring | null
  • projectIdstring
Video snapshot21ST_MCP_VIDEO_SNAPSHOTAcción

Render 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

  • revintegerObligatorio
  • sizestringenum
    16:99:161:1
  • frameintegerObligatorio
  • projectIdstringObligatoriouuid

Parámetros de salida

  • revinteger
  • jobsobject[]
  • blocksobject[]
  • conflictboolean
  • documentobject
  • editorUrlstring | null
  • projectIdstring
Video upload asset21ST_MCP_VIDEO_UPLOAD_ASSETAcción

Request 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

  • kindstringObligatorioenum
    imagevideoaudiologo
  • mimestringObligatorio
  • bytesintegerObligatorio
  • projectIdstringObligatoriouuid

Parámetros de salida

  • revinteger
  • jobsobject[]
  • blocksobject[]
  • conflictboolean
  • documentobject
  • editorUrlstring | null
  • projectIdstring
Withdraw component21ST_MCP_WITHDRAW_COMPONENTAcción

Withdraw a component that is currently In review. It stays Published.

Parámetros de entrada

  • slugstringObligatorio

    The component's slug.

Parámetros de salida

  • idnumber

    The component's id.

  • slugstring

    The component's slug.

  • alreadyboolean

    True when the requested state was already in effect; may be absent.

  • updatedboolean

    True when an update was applied; may be absent.

  • visibilitystring

    Resulting access: published | private.

  • unpublishedboolean

    May be absent; part of the shared component edit result shape.

  • reviewStatusstring

    Resulting catalog review status; may be absent.