MCP server for transforming Tailwind components to NativeWind 4.
npm install -g @modelcontextprotocol/server-nativewind
mcp-nativewind
Add to your claude_desktop_config.json
:
{
"mcpServers": {
"nativewind-transformer": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-nativewind"]
}
}
}
- transform-component: Transform a single component
- transform-directory: Transform all components in a directory
- analyze-component: Analyze Tailwind usage
- Clone the repository
- Install dependencies:
npm install
- Build the project:
npm run build
- Run tests:
npm test
Contributions are welcome! Please feel free to submit a Pull Request.
MIT