Get component details
get_componentGet registry metadata for a known Ply UI component: dependencies, category, file list, and install command; set includeSource=true for free source. Search when the name is uncertain.
Instructions
Get registry metadata for one known component (deps, category, file list). Use search_components when the name is uncertain. Free source only when includeSource=true. Pro source is never streamed via MCP. Does not install; returns installCommand (npx ply-ui-cli add ).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "get_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Registry component name (e.g. button, card) | |
| includeSource | No | If true, include free-tier source file contents. Pro source is never returned via MCP in V1. |