get_component_by_path
Retrieve a specific UI component from the Magic UI design system by providing its file path, enabling MCP clients to locate and use components in their applications.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
path | Yes | Path to the component file |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"path": {
"description": "Path to the component file",
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
}