mcp-nativewind

local-only server

The server can only run on the client’s local machine because it depends on local resources.

@modelcontextprotocol/server-nativewind

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

安装

npm install -g @modelcontextprotocol/server-nativewind

用法

作为 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 请求。

执照

麻省理工学院

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

将 Tailwind 组件转换为 NativeWind 4。

  1. Installation
    1. Usage
      1. As a CLI tool
      2. In Claude for Desktop
    2. Available Tools
      1. Development
        1. Contributing
          1. License
            ID: 0w2dg13oyt