Edit Component
Edit an owned UI component. Code, framework, theme, or background changes automatically queue both screenshots again. Existing clients may continue using the edit_element alias.
TOOLedit_component
{
"mcpServers": {
"frontendforever": {
"command": "npx",
"args": [
"-y",
"frontendforever-mcp"
],
"env": {
"MCP_API_KEY": "<your_api_key>"
}
}
}
}Authorization
X-API-Keystringheaderrequired
Parameters
idrequired
stringComponent UUID
title
stringNew title
description
stringNew description
html
stringHTML code
css
stringCSS code
js
stringJavaScript code
htmlTailwind
stringTailwind HTML code
reactTailwind
stringReact/Tailwind code
category
stringCategory slug
tags
arrayArray of tag names
framework
stringFramework identifier
defaultTheme
stringlight or dark
backgroundColorLight
stringLight screenshot background
backgroundColorDark
stringDark screenshot background
isPrivate
booleanPrivate visibility
changeSummary
stringVersion-history summary
Request Preview
cURL
curl --request PATCH \
--url 'https://frontendforever.com/api/mcp/components/%3Cid%3E' \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"title": "Updated title"
}'Example responses
Component saved: Animated Gradient Button
ID: <uuid>
Screenshot status: queued