CT

carbonodev/tailwindcss-mcp-server

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

41 stars 4 forks 품질 65 트렌드 0MIT

carbonodev/tailwindcss-mcp-server는 MCP 서버 후보가 https://github.com/carbonodev/tailwindcss-mcp-server.에서 수입되었습니다

개요

carbonodev/tailwindcss-mcp-server는 MCP 서버 후보가 https://github.com/carbonodev/tailwindcss-mcp-server.에서 수입되었습니다

개요(AI 번역)

TailwindCSS 유틸리티, 문서, 변환 도구 및 템플릿 생성 기능을 제공하는 종합 모델 Context Protocol (MCP) 서버. 이 서버는 지능형 툴링 및 실시간 지원을 통해 TailwindCSS 개발에 도움이되는 AI 조수가 가능합니다.

♨ 특징

정보 도구 (4 도구)

-get_tailwind_utilities - 카테고리, 속성 또는 검색으로 TailwindCSS 유틸리티 클래스를 검색 -get_tailwind_colors - 모든 그늘과 완벽한 TailwindCSS 색상 팔레트에 액세스

  • get_tailwind_config_guide - 다른 프레임워크에 대한 구성 가이드를 가져옵니다. -search_tailwind_docs - 지능형 필터링을 사용하여 TailwindCSS 문서 검색

작업 도구 (4 도구)

-install_tailwind - 모든 프레임워크를 위한 설치 명령 및 구성 생성 -convert_css_to_tailwind - 기존 CSS를 TailwindCSS 유틸리티 클래스로 변환

  • generate_color_palette - 기본 색상의 여러 그늘을 가진 사용자 지정 색상 팔레트 만들기 -generate_component_template - TailwindCSS 클래스와 HTML 컴포넌트 템플릿 생성

지원 프레임 워크

  • React ( React App, Next.js)

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

TailwindCSS MCP Server

A comprehensive Model Context Protocol (MCP) server that provides TailwindCSS utilities, documentation, conversion tools, and template generation capabilities. This server enables AI assistants to help with TailwindCSS development through intelligent tooling and real-time assistance.

🚀 Features

Information Tools (4 tools)

  • get_tailwind_utilities - Retrieve TailwindCSS utility classes by category, property, or search
  • get_tailwind_colors - Access the complete TailwindCSS color palette with all shades
  • get_tailwind_config_guide - Get configuration guides for different frameworks
  • search_tailwind_docs - Search TailwindCSS documentation with intelligent filtering

Action Tools (4 tools)

  • install_tailwind - Generate installation commands and configurations for any framework
  • convert_css_to_tailwind - Convert traditional CSS to TailwindCSS utility classes
  • generate_color_palette - Create custom color palettes with multiple shades from base colors
  • generate_component_template - Generate HTML component templates with TailwindCSS classes

Supported Frameworks

  • React (Create React App, Next.js)
  • Vue (Vue 3, Nuxt.js)
  • Angular
  • Svelte/SvelteKit
  • Laravel
  • Vite
  • Vanilla JavaScript/HTML

📦 Installation

npm install -g tailwindcss-mcp-server

Using the package directly

npx tailwindcss-mcp-server

Local Development

git clone https://github.com/CarbonoDev/tailwindcss-mcp-server.git
cd tailwindcss-mcp-server
npm install
npm run build

⚙️ Configuration

Claude Desktop

Add to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%/Claude/claude_desktop_config.json

Option 1: Using global installation

{
  "mcpServers": {
    "tailwindcss-server": {
      "command": "tailwindcss-server"
    }
  }
}

Option 2: Using npx

{
  "mcpServers": {
    "tailwindcss-server": {
      "command": "npx",
      "args": ["-y", "tailwindcss-mcp-server"]
    }
  }
}

Option 3: Using local build

{
  "mcpServers": {
    "tailwindcss-server": {
      "command": "/path/to/tailwindcss-mcp/build/index.js"
    }
  }
}

Claude Code

Add MCP Server using npx

claude mcp add tailwindcss-mcp-server -- npx tailwindcss-mcp-server

Windsurf IDE

Add to your ./windsurf/mcp_servers.json:

{
  "mcpServers": {
    "tailwindcss-server": {
      "command": "npx",
      "args": ["-y", "tailwindcss-mcp-server"]
    }
  }
}

Cursor IDE

Add to your .cursor/mcp.json:

{
  "mcpServers": {
    "tailwindcss-server": {
      "command": "npx",
      "args": ["-y", "tailwindcss-mcp-server"]
    }
  }
}

🛠️ Tool Reference

Information Tools

get_tailwind_utilities

GitHub에서 전체 README 보기

설치

npx -y tailwindcss-mcp-server
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "tailwindcss-server": { "command": "tailwindcss-server" } } }