Get Component by UUID
Get a single UI component by its UUID, including full code blocks and author details. Existing clients may continue using the get_element alias.
TOOLget_component
{
"mcpServers": {
"frontendforever": {
"command": "npx",
"args": [
"-y",
"frontendforever-mcp"
],
"env": {
"MCP_API_KEY": "<your_api_key>"
}
}
}
}Authorization
X-API-Keystringheaderrequired
Parameters
idrequired
stringThe UUID of the component
Request Preview
cURL
curl --request GET \
--url 'https://frontendforever.com/api/mcp/components/%3Cid%3E' \
--header 'X-API-Key: <api-key>'Example responses
Animated Gradient Button
ID: <uuid> · author: johndoe · slug: animated-gradient-button
category: buttons · framework: css · theme: dark
Tags: animated, gradient
Description
A concise description of the component.
--- HTML ---
<button class="gradient-button">Continue</button>
--- CSS ---
.gradient-button { /* component styles */ }