Skip to main content
Glama

MCP Tailwind Gemini Server

by Tai-DT

convert_to_tailwind

Transform CSS/SCSS or HTML styles into Tailwind CSS classes using the MCP Tailwind Gemini Server. Optimize and preserve custom properties as needed.

Instructions

Convert CSS/SCSS to Tailwind classes

Input Schema

NameRequiredDescriptionDefault
codeYesCSS, SCSS, or HTML with styles to convert
formatYesInput format
optimizeNoOptimize the converted classes
preserveCustomNoPreserve custom properties that cannot be converted

Input Schema (JSON Schema)

{ "properties": { "code": { "description": "CSS, SCSS, or HTML with styles to convert", "type": "string" }, "format": { "description": "Input format", "enum": [ "css", "scss", "html" ], "type": "string" }, "optimize": { "default": true, "description": "Optimize the converted classes", "type": "boolean" }, "preserveCustom": { "default": false, "description": "Preserve custom properties that cannot be converted", "type": "boolean" } }, "required": [ "code", "format" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Tai-DT/mcp-tailwind-gemini'

If you have feedback or need assistance with the MCP directory API, please join our Discord server