mcp-nativewind
If you are the rightful owner of mcp-nativewind and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
MCP server for transforming Tailwind components to NativeWind 4.
The @modelcontextprotocol/server-nativewind is a Model Context Protocol (MCP) server designed to facilitate the transformation of Tailwind CSS components into NativeWind 4 components. This server is particularly useful for developers looking to integrate Tailwind's utility-first CSS framework with NativeWind, a library that brings Tailwind's styling capabilities to React Native. The server can be used as a command-line interface (CLI) tool or integrated into other platforms like Claude for Desktop. It provides tools for transforming individual components, entire directories, and analyzing Tailwind usage within components. The server is open-source and contributions are encouraged.
Features
- CLI Tool: Provides a command-line interface for easy transformation of components.
- Integration: Can be integrated into platforms like Claude for Desktop.
- Component Transformation: Transforms individual Tailwind components to NativeWind.
- Directory Transformation: Transforms all components within a specified directory.
- Tailwind Analysis: Analyzes Tailwind usage within components.
Tools
transform-component
Convert a single component
transform-directory
Convert all components in the directory
analyze-component
Analyze the usage of Tailwind