Skip to main content
Glama
tokenizin-agency

mcp-nativewind

@modelcontextprotocol/server-nativewind

MCP 服务器用于将 Tailwind 组件转换为 NativeWind 4。

安装

npm install -g @modelcontextprotocol/server-nativewind

Related MCP server: MCP Figma to React Converter

用法

作为 CLI 工具

mcp-nativewind

在 Claude 桌面版中

添加到您的claude_desktop_config.json :

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

可用工具

  1. transform-component:变换单个组件

  2. transform-directory:转换目录中的所有组件

  3. analyze-component:分析 Tailwind 使用情况

发展

  1. 克隆存储库

  2. 安装依赖项: npm install

  3. 构建项目: npm run build

  4. 运行测试: npm test

贡献

欢迎贡献代码!欢迎提交 Pull 请求。

执照

麻省理工学院

Related MCP Connectors

Related MCP Servers