
richardkmichael/mcp-tailwindplus
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
richardkmichael / mcp-tailwindplus - кандидат на сервер MCP, импортированный из https://github.com/richardkmichael/mcp-tailwindplus.
Обзор
richardkmichael / mcp-tailwindplus - кандидат на сервер MCP, импортированный из https://github.com/richardkmichael/mcp-tailwindplus.
Обзор (машинный перевод)
Сервер MCP (Model Context Protocol) для компонентов пользовательского интерфейса TailwindPlus.
Быстрый старт
- Получить компоненты TailwindPlus JSON файл с помощью TailwindPlus Downloader.
2.Установить uv для uvx.
- Добавить код Клода:
[[Т2]]
- Храните настройки TailwindPlus в памяти Клода. Это учит Клода правильно использовать фильтры инструментов и ресурсов.
Общий конфигуратор (команда)
Добавить с объемом проекта и установить env MCP_TAILWINDPLUS_DATA=/path/to/tailwindplus-components.json:
[[Т4]]
Это позволит .mcp.json быть связанным с хранилищем, и при необходимости могут использоваться различные файлы компонентов.
Другие клиенты
Чтобы настроить его в другом клиенте MCP:
Чтобы бегать напрямую:
##Клод Десктоп
Claude Desktop требует HTTPS для серверов MCP на основе HTTP и не разрешает Локальный хостинг URL. Используйте ngrok для разоблачения сервера:
Затем добавьте URL-адрес ngrok ([T6]) в качестве настройки
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
TailwindPlus MCP Server
An MCP (Model Context Protocol) server for TailwindPlus UI components.
Quick Start
-
Obtain a TailwindPlus components JSON file using the TailwindPlus Downloader.
-
Install
uvforuvx. -
Add to Claude Code:
claude mcp add tailwindplus uvx -- git+https://[email protected]/richardkmichael/mcp-tailwindplus@latest --tailwindplus-data /path/to/tailwindplus-components.json
- 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
Установка
uvx git+https://github.com/richardkmichael/mcp-tailwindplus@latest --tailwindplus-data /path/to/tailwindplus-components.jsonКонфигурация
{
"mcpServers": {
"tailwindplus": {
"command": "uvx",
"args": [
"git+https://github.com/richardkmichael/mcp-tailwindplus@latest",
"--tailwindplus-data",
"/path/to/tailwindplus-components.json"
]
}
}
}