Skip to main content
Glama
BACH-AI-Tools

21st.dev Magic AI Agent

21st_magic_component_inspiration

Find and retrieve UI component code snippets from 21st.dev's library for integration into your projects, providing inspiration without generating new code.

Instructions

"Use this tool when the user wants to see component, get inspiration, or /21st fetch data and previews from 21st.dev. This tool returns the JSON data of matching components without generating new code. This tool ONLY returns the text snippet for that UI component. After calling this tool, you must edit or add files to integrate the snippet into the codebase."

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYesFull users message
searchQueryYesSearch query for 21st.dev (library for searching UI components) to find a UI component that matches the user's message. Must be a two-four words max or phrase

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/BACH-AI-Tools/bach-magic-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server