Developer Tools

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.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Add to list

    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.

  • Bookmark

    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.

  • Delete component

    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.

  • Delete theme

    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.

  • Edit component

    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.

  • Edit profile

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

  • Edit take

    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.

  • Edit template

    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.

  • Edit theme

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

  • Record inspiration feedback

    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.

  • Record take outcome

    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.

  • Remove component from catalog

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

  • Resubmit component

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

  • Submit component

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

  • Update note

    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.

  • Video apply ops

    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

  • Video finalize asset

    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.

  • Withdraw component

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