Every tool only reads. None of them changes anything in your account or your project: your agent installs a block by running the shadcn CLI itself, with the command the server gives.
The server also tells your agent how to work: search first, read the block, then install it, and fill the props with your real content only.
search_blocks
Finds blocks from a description of the section you need, such as « hero with form » or « product reviews ».
- Takes: a
query, and optionally acategory, a storefrontsubgroup, agroup, apage, anaccess(freeorpro) and alimit. - Returns: the best matches, each with its id (also its install item), category, group, when it fits, whether it is free or Pro, its page on this site and its live preview.
get_block
Reads everything your agent needs to use one block.
- Takes: the block’s
id. - Returns: its category, group, pages and access; when it fits; the other blocks of its group, each with when it fits; its live preview, and its film when it has one; every prop with its kind, description, allowed values and whether it is required; and its install item, its id.
get_install_command
Gives the exact command to install a block or a component.
- Takes: an
item, aframework(vueorreact) and optionally apackageManager. - Returns: the shadcn command, the
components.jsonsnippet with the key header, the.envline, and whether the item needs no key, a free key or a Pro key.
get_demo
Shows the shape of a block’s props with example data.
- Takes: a block
id. - Returns: the block’s demo props. They are an example of the shape: your agent replaces every word, picture and figure with your own content.
check_props
Checks the props your agent wrote for a block before it writes the code.
- Takes: a block
idand thepropsit intends to pass. - Returns: whether they match the block’s schema, and each error with its path: a misspelt prop, a missing required one, a wrong type or a value that does not exist. It also lists any text left from the demo, which must be replaced with your content.
list_categories
- Takes: nothing.
- Returns: the categories with their labels and how many blocks each holds, storefront’s sub-groups, and the kinds of pages blocks target.
list_themes
- Takes: nothing.
- Returns: every theme with its id, name and description, and the CSS files to import for it.
compose_page
Outlines a whole page from its kind.
- Takes: a
kind:landing,saas-marketing,store-home,product,dashboard,blogoraccount. - Returns: the sections of the page in order, each with the block that fits, its group, why, whether it is optional, and alternatives.
Prompts
The server also offers three prompts. Clients that support them show them as commands; in Claude Code they appear as
/mcp__trame__build_page, /mcp__trame__add_section and /mcp__trame__pick_theme.
- build_page: plans a whole page from your brief, picks a block per section, fills them with your content, checks the props and installs the blocks.
- add_section: finds the right block for one section and adds it.
- pick_theme: proposes two or three themes for your product and applies the one you choose.
Your content only
Blocks never make up content. The server tells your agent the same rule: no invented reviews, quotes, ratings, logos, figures, prices or dates. A prop without real content stays empty, and the block hides it. If your agent lacks something, it should ask you.