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