# 21st MCP

```json
{
  "name": "21st MCP",
  "slug": "21st_mcp",
  "url": "https://composio.dev/toolkits/21st_mcp",
  "markdown_url": "https://composio.dev/toolkits/21st_mcp.md",
  "logo_url": "https://logos.composio.dev/api/21st",
  "categories": [
    "developer tools & devops"
  ],
  "is_composio_managed": false,
  "updated_at": "2026-11-27T05:31:36.012Z"
}
```

![21st MCP logo](https://logos.composio.dev/api/21st)

## Description

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with 21st MCP or direct API to search components, fetch templates, manage bookmarks, and update published items through natural language.

## Summary

21st MCP is a hosted design resource service for React/shadcn components, themes, templates, and SVG logos.
It gives teams a fast way to discover, organize, and reuse polished interface assets.

## Categories

- developer tools & devops

## Toolkit Details

- Tools: 51

## Images

- Logo: https://logos.composio.dev/api/21st

## Authentication

- **Dcr Oauth**
  - Type: `custom`
  - Description: Dcr Oauth authentication for 21st MCP.
  - Setup:
    - Configure Dcr Oauth credentials for 21st MCP.
    - Use the credentials when creating an auth config in Composio.

## Suggested Prompts

- Find shadcn cards for analytics dashboards
- Save three landing page templates
- Find SVG logos for fintech apps

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `21ST_MCP_ADD_TO_LIST` | 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. |
| `21ST_MCP_BOOKMARK` | 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. |
| `21ST_MCP_CREATE_BOOKMARK_LIST` | Create bookmark list | Create a new personal named bookmark list on the signed-in account. |
| `21ST_MCP_DELETE_COMPONENT` | 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. |
| `21ST_MCP_DELETE_TEMPLATE` | Delete template | 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. |
| `21ST_MCP_DELETE_THEME` | 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. |
| `21ST_MCP_EDIT_COMPONENT` | 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. |
| `21ST_MCP_EDIT_PROFILE` | 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). |
| `21ST_MCP_EDIT_TAKE` | 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. |
| `21ST_MCP_EDIT_TEMPLATE` | 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. |
| `21ST_MCP_EDIT_THEME` | 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'). |
| `21ST_MCP_GET_BOOKMARK_LIST` | Get bookmark list | 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. |
| `21ST_MCP_GET_CHANGES` | Get changes | Read 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_COMPONENT` | Get component | 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 snippet for src/Root.tsx, the Remotion license line and an editor link. |
| `21ST_MCP_GET_GENERATION` | Get generation | 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. |
| `21ST_MCP_GET_GENERATION_JOB` | Get generation job | 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`. |
| `21ST_MCP_GET_INSPIRATION` | Get inspiration | 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. |
| `21ST_MCP_GET_NOTES` | Get notes | 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. |
| `21ST_MCP_GET_PROFILE` | Get profile | 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. |
| `21ST_MCP_GET_TAKE` | Get take | 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. |
| `21ST_MCP_GET_THEME` | Get theme | 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. |
| `21ST_MCP_GET_USAGE` | Get usage | 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. |
| `21ST_MCP_LIST_BOOKMARK_LISTS` | List bookmark lists | 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. |
| `21ST_MCP_LIST_BOOKMARKS` | List bookmarks | 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. |
| `21ST_MCP_LIST_TEAM_COMPONENTS` | List team components | 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. |
| `21ST_MCP_LIST_TEAM_LIBRARIES` | List team libraries | 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. |
| `21ST_MCP_LIST_TEAM_LISTS` | List team lists | 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. |
| `21ST_MCP_LIST_TEAMS` | List teams | 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. |
| `21ST_MCP_RECORD_INSPIRATION_FEEDBACK` | 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. |
| `21ST_MCP_RECORD_TAKE_OUTCOME` | 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. |
| `21ST_MCP_REMOVE_COMPONENT_FROM_CATALOG` | Remove component from catalog | Remove a Featured component from the catalog while keeping it Published on its profile and direct URL. |
| `21ST_MCP_RESUBMIT_COMPONENT` | Resubmit component | Resubmit a Published component after requested changes. It returns to In review. |
| `21ST_MCP_SEARCH` | Search | 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). |
| `21ST_MCP_SEARCH_LOGO` | Search logo | 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. |
| `21ST_MCP_SEARCH_PICKER` | Search picker | 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. |
| `21ST_MCP_SEND_FEEDBACK` | Send feedback | 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. |
| `21ST_MCP_SUBMIT_COMPONENT` | Submit component | Submit a Published component for catalog review. This does not change who can access it. |
| `21ST_MCP_UPDATE_NOTE` | 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. |
| `21ST_MCP_UPLOAD_PROFILE_MEDIA` | Upload profile media | 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. |
| `21ST_MCP_VIDEO_APPLY_OPS` | 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 |
| `21ST_MCP_VIDEO_CREATE_PROJECT` | Video create project | 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. |
| `21ST_MCP_VIDEO_EXPORT` | Video export | 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. |
| `21ST_MCP_VIDEO_EXPORT_STATUS` | Video export status | Get the authorized project's exports and progress. Ready jobs include a short-lived MP4 download URL. |
| `21ST_MCP_VIDEO_FINALIZE_ASSET` | 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. |
| `21ST_MCP_VIDEO_GET_DOC` | Video get doc | 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. |
| `21ST_MCP_VIDEO_LIST_BLOCKS` | Video list blocks | List 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_PROPOSE_VARIANTS` | Video propose variants | 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. |
| `21ST_MCP_VIDEO_SEARCH_BLOCKS` | Video search blocks | Search video blocks by name, tags, job, visual language and category. Returns usable refs, props schemas and posters, without source retrieval fees. |
| `21ST_MCP_VIDEO_SNAPSHOT` | Video snapshot | 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. |
| `21ST_MCP_VIDEO_UPLOAD_ASSET` | Video upload asset | 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. |
| `21ST_MCP_WITHDRAW_COMPONENT` | Withdraw component | Withdraw a component that is currently In review. It stays Published. |

## Supported Triggers

None listed.

## Installation and MCP Setup

### Path 1: SDK Installation

#### Path 1, Step 1: Install Composio

Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
```python
pip install composio composio_openai openai
```

```typescript
npm install @composio/core @composio/openai openai
```

#### Path 1, Step 2: Create a Composio session

Initialize Composio with the OpenAI Responses provider and create a session scoped to 21st MCP
```python
import json
from openai import OpenAI
from composio import Composio
from composio_openai import OpenAIResponsesProvider

composio = Composio(provider=OpenAIResponsesProvider())
client = OpenAI()

session = composio.create(user_id="your-user-id", toolkits=["21st_mcp"])
tools = session.tools()
```

```typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["21st_mcp"] });
const tools = await session.tools();
```

#### Path 1, Step 3: Run 21st MCP tools with your agent

Send a request, execute the 21st MCP tool calls through the session, and print the final answer
```python
response = client.responses.create(
    model="gpt-5.6-sol",
    tools=tools,
    input=[{"role": "user", "content": "Search 21st.dev for a dark shadcn dashboard template with a sidebar and analytics cards"}],
)

while True:
    tool_calls = [o for o in response.output if o.type == "function_call"]
    if not tool_calls:
        break
    results = composio.provider.handle_tool_calls(response=response, session=session)
    response = client.responses.create(
        model="gpt-5.6-sol",
        tools=tools,
        previous_response_id=response.id,
        input=[
            {"type": "function_call_output", "call_id": call.call_id, "output": json.dumps(results[i])}
            for i, call in enumerate(tool_calls)
        ],
    )

print(response.output_text)
```

```typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "Search 21st.dev for a dark shadcn dashboard template with a sidebar and analytics cards" }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
```

### Path 2: MCP Server Setup

#### Path 2, Step 1: Install Composio

Install the Composio SDK and your agent framework
```python
pip install composio claude-agent-sdk
```

```typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
```

#### Path 2, Step 2: Create a session with MCP enabled

Create a session scoped to 21st MCP and read its MCP URL and headers
```python
from composio import Composio

composio = Composio()
session = composio.create(user_id="your-user-id", toolkits=["21st_mcp"], mcp=True)
```

```typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["21st_mcp"],
  mcp: true,
});
```

#### Path 2, Step 3: Connect your agent to the MCP server

Pass the session's MCP URL and headers to your agent and run a 21st MCP request
```python
import asyncio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions, AssistantMessage, TextBlock

options = ClaudeAgentOptions(
    mcp_servers={
        "composio": {
            "type": "http",
            "url": session.mcp.url,
            "headers": session.mcp.headers,
        }
    },
    system_prompt="You are a helpful assistant with access to 21st MCP tools.",
    tools=[],
    allowed_tools=["mcp__composio__*"],
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query("Search 21st.dev for a dark shadcn dashboard template with a sidebar and analytics cards")
        async for message in client.receive_response():
            if isinstance(message, AssistantMessage):
                for block in message.content:
                    if isinstance(block, TextBlock):
                        print(block.text)

asyncio.run(main())
```

```typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "Search 21st.dev for a dark shadcn dashboard template with a sidebar and analytics cards",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
```

## Why Use Composio?

### 1. AI Native 21st MCP Integration

- Supports both 21st MCP and direct API based integrations
- Structured, LLM-friendly schemas for reliable tool execution
- Rich coverage for searching, fetching, organizing, and editing 21st MCP resources

### 2. Managed Auth

- Built-in OAuth handling with automatic token refresh and rotation
- Central place to manage, scope, and revoke 21st MCP access
- Per user and per environment credentials instead of hard-coded keys

### 3. Agent Optimized Design

- Tools are tuned using real error and success rates to improve reliability over time
- Comprehensive execution logs so you always know what ran, when, and on whose behalf

### 4. Enterprise Grade Security

- Fine-grained RBAC so you control which agents and users can access 21st MCP
- Scoped, least privilege access to 21st MCP resources
- Full audit trail of agent actions to support review and compliance

## Use 21st MCP with any AI Agent Framework

Choose a framework you want to connect 21st MCP with:

- [ChatGPT](https://composio.dev/toolkits/21st_mcp/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/21st_mcp/framework/claude-cowork)

## Related Toolkits

- [Supabase](https://composio.dev/toolkits/supabase) - Supabase is an open-source backend platform offering scalable Postgres databases, authentication, storage, and real-time APIs. It lets developers build modern apps without managing infrastructure.
- [Codeinterpreter](https://composio.dev/toolkits/codeinterpreter) - Codeinterpreter is a Python-based coding environment with built-in data analysis and visualization. It lets you instantly run scripts, plot results, and prototype solutions inside supported platforms.
- [GitHub](https://composio.dev/toolkits/github) - GitHub is a code hosting platform for version control and collaborative software development. It streamlines project management, code review, and team workflows in one place.
- [1password](https://composio.dev/toolkits/_1password) - 1Password is a password manager and digital vault for storing logins, secrets, notes, and secure documents. It helps individuals and teams protect credentials, share access safely, and reduce password risk.
- [Ably](https://composio.dev/toolkits/ably) - Ably is a real-time messaging platform for live chat and data sync in modern apps. It offers global scale and rock-solid reliability for seamless, instant experiences.
- [Abuselpdb](https://composio.dev/toolkits/abuselpdb) - Abuselpdb is a central database for reporting and checking IPs linked to malicious online activity. Use it to quickly identify and report suspicious or abusive IP addresses.
- [Agent37](https://composio.dev/toolkits/agent37) - Agent37 is a control API for managed agent sandboxes, templates, networking, and execution. It gives teams built-in scheduling, observability, budgets, and workspace administration.
- [Aikido Security](https://composio.dev/toolkits/aikido) - Aikido Security is a security platform for workspace, code, cloud, and application protection. It helps teams find vulnerabilities, manage compliance, and reduce security risk.
- [Alchemy](https://composio.dev/toolkits/alchemy) - Alchemy is a blockchain development platform offering APIs and tools for Ethereum apps. It simplifies building and scaling Web3 projects with robust infrastructure.
- [Algolia](https://composio.dev/toolkits/algolia) - Algolia is a hosted search API that powers lightning-fast, relevant search experiences for web and mobile apps. It helps developers deliver instant, typo-tolerant, and scalable search without complex infrastructure.
- [Anakin](https://composio.dev/toolkits/anakin_io) - Anakin is a web automation platform offering scraping, crawling, search, and browser automation. Use it to extract structured data, automate site tasks, and monitor web changes reliably.
- [Anchor browser](https://composio.dev/toolkits/anchor_browser) - Anchor browser is a developer platform for AI-powered web automation. It transforms complex browser actions into easy API endpoints for streamlined web interaction.
- [Anchor Browser MCP](https://composio.dev/toolkits/anchor_browser_mcp) - Anchor Browser MCP is a hosted browser automation service for running cloud browser sessions and web tasks. It provides secure, reusable browser identities and managed authentication for reliable agent workflows.
- [AnyAPI](https://composio.dev/toolkits/anyapi) - AnyAPI is a marketplace of utility APIs for validation, currency conversion, holidays, documents, and web data. It brings common application workflows together through one practical API platform.
- [Apiflash](https://composio.dev/toolkits/apiflash) - Apiflash is a website screenshot API for programmatically capturing web pages. It delivers high-quality screenshots on demand for automation, monitoring, or reporting.
- [Apiverve](https://composio.dev/toolkits/apiverve) - Apiverve delivers a suite of powerful APIs that simplify integration for developers. It's designed for reliability and scalability so you can build faster, smarter applications without the integration headache.
- [APIVerve MCP](https://composio.dev/toolkits/apiverve_mcp) - APIVerve MCP is a hosted utility API server for lookups, validation, conversion, and data enrichment. It gives developers one MCP connection to access APIVerve's utility APIs.
- [Appcircle](https://composio.dev/toolkits/appcircle) - Appcircle is an enterprise-grade mobile CI/CD platform for building, testing, and publishing mobile apps. It streamlines mobile DevOps so teams ship faster and with more confidence.
- [Appdrag](https://composio.dev/toolkits/appdrag) - Appdrag is a cloud platform for building websites, APIs, and databases with drag-and-drop tools and code editing. It accelerates development and iteration by combining hosting, database management, and low-code features in one place.
- [Appveyor](https://composio.dev/toolkits/appveyor) - AppVeyor is a cloud-based continuous integration service for building, testing, and deploying applications. It helps developers automate and streamline their software delivery pipelines.

## Frequently Asked Questions

### Do I need my own developer credentials to use 21st MCP with Composio?

Yes, 21st MCP requires you to configure your own Dcr Oauth credentials. Once set up, Composio handles secure credential storage and management for you.

### Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. [Learn more](https://docs.composio.dev/tool-router/overview).

### Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. [Learn more](https://trust.composio.dev).

### What if the API changes?

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
