Design
Layered radial-gradient "mesh" backgrounds with conic underlays, blend modes, grain and seeded layouts — live preview, CSS and Tailwind export.
Call this tool from your code in three languages.
curl -X POST 'http://127.0.0.1:3003/en/api/tools/css-gradient-mesh-generator' \
-H 'Content-Type: application/json' \
-d '{"preset":"cosmic","color1":"#7c3aed","color2":"#ec4899","color3":"#22d3ee","color4":"#34d399","blobCount":4,"layout":"corners","seed":42,"falloff":60,"blendMode":"normal","conicUnderlay":false,"conicAngle":45,"grain":false}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST http://127.0.0.1:3003/en/api/tools/css-gradient-mesh-generator| Name | Type | Required | Description |
|---|---|---|---|
| preset | select | No | — |
| color1 | color | No | — |
| color2 | color | No | — |
| color3 | color | No | — |
| color4 | color | No | — |
| blobCount |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-css-gradient-mesh-generator": {
"name": "css-gradient-mesh-generator",
"description": "Layered radial-gradient \"mesh\" backgrounds with conic underlays, blend modes, grain and seeded layouts — live preview, CSS and Tailwind export.",
"baseUrl": "http://127.0.0.1:3003/mcp/sse?toolId=css-gradient-mesh-generator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "css-gradient-mesh-generator",
"arguments": {
"preset": "cosmic",
"color1": "#7c3aed",
"color2": "#ec4899",
"color3": "#22d3ee",
"color4": "#34d399",
"blobCount": 4,
"layout": "corners",
"seed": 42,
"falloff": 60,
"blendMode": "normal",
"conicUnderlay": false,
"conicAngle": 45,
"grain": false
}
}
}| number |
| No |
| — |
| layout | select | No | — |
| seed | number | No | — |
| falloff | number | No | — |
| blendMode | select | No | — |
| conicUnderlay | checkbox | No | — |
| conicAngle | number | No | — |
| grain | checkbox | No | — |
HTML result
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Questions or issues? Contact [email protected]