RM

richardkmichael/mcp-tailwindplus

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

43 stars 4 forks 品質 83 トレンド 20MIT

richardkmichael/mcp-tailwindplusは[https://github.com/richardkmichael/mcp-tailwindplus.からインポートされたMCPサーバー候補です

概要

richardkmichael/mcp-tailwindplusは[https://github.com/richardkmichael/mcp-tailwindplus.からインポートされたMCPサーバー候補です

概要(AI 翻訳)

TailwindPlus UI コンポーネントの MCP (Model Context Protocol) サーバー。

クイックスタート

1。 TailwindPlusダウンローダーを使用してTailwindPlusコンポーネントJSONファイルを取得します。

  1. [uvxの[uv]]をインストールします。

  2. クロード コードに追加:

[claude mcp add tailwindplus uvx -- git+https://[email protected]/richardkmichael/mcp-tailwindplus@latest --tailwindplus-data /path/to/tailwindplus-components.json]

4。 ClaudeのメモリにTailwindPlusの設定を保存します。 ツールとリソースフィルタを適切に使用するためにClaudeを教えます。

共有コンフィグ(チーム)

プロジェクトスコープを追加し、 env [MCP_TAILWINDPLUS_DATA=/path/to/tailwindplus-components.json を設定:

[claude mcp add -s project tailwindplus uvx -- git+https://[email protected]/richardkmichael/mcp-tailwindplus@latest]

これは、リポジトリにコミットする[.mcp.jsonを許可しますが、必要に応じて異なるコンポーネントファイルは使用することができます。

他の顧客

別のMCPクライアントで設定するには:

または、直接実行するには:

クロードデスクトップ

Claude デスクトップは HTTP ベースの MCP サーバーで HTTPS を必要とし、許可されていません localhostのURL。 ngrok を使用してサーバーを公開します。

次にngrok URL(https:// .ngrok-free.app/mcp)をカスタムとして追加します

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

TailwindPlus MCP Server

An MCP (Model Context Protocol) server for TailwindPlus UI components.

Quick Start

  1. Obtain a TailwindPlus components JSON file using the TailwindPlus Downloader.

  2. Install uv for uvx.

  3. Add to Claude Code:

claude mcp add tailwindplus uvx -- git+https://[email protected]/richardkmichael/mcp-tailwindplus@latest --tailwindplus-data /path/to/tailwindplus-components.json

  1. Optionally, set your project’s TailwindPlus settings by adding them to the command, for example --framework react --tailwind-version 4 --mode system. The server tells Claude to use them, and offers them first when completing resource URIs. See Project Settings.

Shared config (team)

Add with project scope and the project’s settings, and set env MCP_TAILWINDPLUS_DATA=/path/to/tailwindplus-components.json:

claude mcp add -s project tailwindplus uvx -- git+https://[email protected]/richardkmichael/mcp-tailwindplus@latest --framework react --tailwind-version 4 --mode system

This will allow .mcp.json to be commited to the repository, and but different component files can be used if necessary.

Other clients

To configure it in another MCP client:

{
  "mcpServers": {
    "tailwindplus": {
      "command": "uvx",
      "args": [
        "git+https://github.com/richardkmichael/mcp-tailwindplus@latest",
        "--tailwindplus-data",
        "/path/to/tailwindplus-components.json"
      ]
    }
  }
}

Or, to run directly:

uvx git+https://github.com/richardkmichael/mcp-tailwindplus@latest --tailwindplus-data /path/to/tailwindplus-components.json

Claude Desktop

Claude Desktop requires HTTPS for HTTP-based MCP servers and does not permit localhost URLs. Use ngrok to expose the server:

# Terminal 1: start the MCP server over HTTP, accepting requests the tunnel forwards
mcp-tailwindplus --transport http --allowed-host "*.ngrok-free.app"

# Terminal 2: tunnel via ngrok (terminates TLS at its edge)
ngrok http 8000

Then add the ngrok URL (https://.ngrok-free.app/mcp) as a custom connector in Claude Desktop (Settings > Connectors > Add custom connector).

ngrok handles TLS termination, so the MCP server itself runs plain HTTP. Over HTTP, the server rejects requests naming a host other than its bind address, localhost, or a host given with --allowed-host, so a web page cannot reach it through DNS rebinding.

The tunnel makes the server, and so your licensed TailwindPlus components, reachable by anyone who has the URL, without authentication. Stop the tunnel when you are done.

Claude Desktop also supports MCP Apps, which renders component previews visually in the conversation (rather than returning raw HTML). This activates automatically when using the get_component_preview_by_full_name tool.

Tips

GitHub で README 全文を見る

インストール

uvx git+https://github.com/richardkmichael/mcp-tailwindplus@latest --tailwindplus-data /path/to/tailwindplus-components.json
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "tailwindplus": { "command": "uvx", "args": [ "git+https://github.com/richardkmichael/mcp-tailwindplus@latest", "--tailwindplus-data", "/path/to/tailwindplus-components.json" ] } } }