TA

tokenizin-agency/mcp-nativewind

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

10 stars 2 forks 质量 55 趋势 8MIT

MCP server for transforming Tailwind components to NativeWind 4.

概览

MCP server for transforming Tailwind components to NativeWind 4. 1. transform-component: Transform a single component 2. transform-directory: Transform all components in a directory 3. analyze-component: Analyze Tailwind usage 1. Clone the repository 2. Install dependencies: npm install 3. Build the project: npm run build 4. Run tests: npm test Contributions are welcome! Please feel free to submit a Pull Request.

README

@modelcontextprotocol/server-nativewind

MCP server for transforming Tailwind components to NativeWind 4.

Installation

npm install -g @modelcontextprotocol/server-nativewind

Usage

As a CLI tool

mcp-nativewind

In Claude for Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "nativewind-transformer": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-nativewind"]
    }
  }
}

Available Tools

  1. transform-component: Transform a single component
  2. transform-directory: Transform all components in a directory
  3. analyze-component: Analyze Tailwind usage

Development

  1. Clone the repository
  2. Install dependencies: npm install
  3. Build the project: npm run build
  4. Run tests: npm test

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT

在 GitHub 查看完整 README

安装

npx -y @modelcontextprotocol/server-nativewind
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "nativewind-transformer": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-nativewind"] } } }