Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Add to list
21ST_MCP_ADD_TO_LISTAdd (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
21ST_MCP_BOOKMARKAdd (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.
Create bookmark list
21ST_MCP_CREATE_BOOKMARK_LISTCreate a new personal named bookmark list on the signed-in account.
Delete component
21ST_MCP_DELETE_COMPONENTRemove 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 template
21ST_MCP_DELETE_TEMPLATEPermanently 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.
Delete theme
21ST_MCP_DELETE_THEMERemove 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
21ST_MCP_EDIT_COMPONENTUpdate 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
21ST_MCP_EDIT_PROFILEReplace 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
21ST_MCP_EDIT_TAKEApply 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
21ST_MCP_EDIT_TEMPLATEUpdate 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
21ST_MCP_EDIT_THEMEUpdate 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').
Get bookmark list
21ST_MCP_GET_BOOKMARK_LISTList 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.
Get changes
21ST_MCP_GET_CHANGESRead saved edits, notes and a change plan since a 1-based version, or since:'pulled' for the last actual retrieval. Free, owner-only.
Get component
21ST_MCP_GET_COMPONENTRetrieve 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.
Get generation
21ST_MCP_GET_GENERATIONList 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.
Get generation job
21ST_MCP_GET_GENERATION_JOBPoll 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`.
Get inspiration
21ST_MCP_GET_INSPIRATIONSearch 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.
Get notes
21ST_MCP_GET_NOTESRead 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.
Get profile
21ST_MCP_GET_PROFILERead 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.
Get take
21ST_MCP_GET_TAKEFetch 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.