This server connects Claude to the Korea Responsive Design System, letting you search through 65+ official government UI components and drop ready-to-use HTML snippets directly into your project. You get nine tools covering component search by category (Form, Navigation, Layout), design token lookups for colors and spacing with CSS variables, and a validator that checks your code against KRDS guidelines and flags accessibility issues. It pulls from the krds-uiux npm package and includes helpers for resource paths to stylesheets, fonts, and images. Reach for this when building Korean government digital services or any project that needs to comply with KRDS standards without constantly context-switching to documentation.
한국 정부 디지털 서비스를 위한 디자인 시스템인 **KRDS (Korea Responsive Design System)**를 AI 어시스턴트와 통합하여 사용할 수 있는 MCP (Model Context Protocol) 서버입니다.
Smithery에서 원클릭으로 설치:
npx @smithery/cli install krds-uiux-mcp-server
또는 Smithery에서 직접 설치
# 프로젝트 클론
git clone https://github.com/your-repo/krds-uiux-mcp-server
cd krds-uiux-mcp-server
# 의존성 설치
npm install
# 빌드
npm run build
MCP 클라이언트 설정 파일에 다음을 추가하세요:
claude_desktop_config.json){
"mcpServers": {
"krds-uiux": {
"command": "node",
"args": ["C:/Users/박호진/OneDrive/Desktop/UIUX MCP/build/index.js"]
}
}
}
.cursor/mcp.json 또는 설정에서){
"mcpServers": {
"krds-uiux": {
"command": "node",
"args": ["C:/Users/박호진/OneDrive/Desktop/UIUX MCP/build/index.js"]
}
}
}
search_krds_componentsKRDS 컴포넌트를 검색합니다.
매개변수:
query (선택): 검색 키워드 (예: "button", "input")category (선택): 카테고리 (예: "Form", "Navigation")예시:
"버튼 컴포넌트를 찾아줘"
"Form 카테고리의 모든 컴포넌트를 보여줘"
get_component_code특정 컴포넌트의 전체 HTML 코드를 가져옵니다.
매개변수:
componentName (필수): 컴포넌트 이름 (예: "button", "text_input")예시:
"button 컴포넌트의 코드를 보여줘"
"modal 컴포넌트 코드가 필요해"
list_component_categories모든 컴포넌트 카테고리 목록을 가져옵니다.
예시:
"KRDS에 어떤 카테고리가 있어?"
list_all_components모든 컴포넌트 이름 목록을 가져옵니다.
예시:
"사용 가능한 모든 컴포넌트를 보여줘"
search_design_tokens디자인 토큰을 검색합니다.
매개변수:
type (선택): 토큰 타입 (예: "color", "spacing")query (선택): 검색 키워드 (예: "primary", "blue")예시:
"primary 색상 토큰을 찾아줘"
"spacing 토큰을 보여줘"
get_color_palette전체 색상 팔레트를 가져옵니다.
예시:
"KRDS 색상 팔레트를 보여줘"
get_token_stats디자인 토큰 통계를 가져옵니다.
예시:
"토큰 통계를 보여줘"
validate_krds_compliance코드를 검증하고 개선 제안을 제공합니다.
매개변수:
code (필수): 검증할 HTML/CSS 코드예시:
"이 HTML 코드가 KRDS 가이드라인을 따르는지 확인해줘"
get_krds_resources리소스 파일 정보를 가져옵니다.
매개변수:
resourceType (필수): "css", "scss", "fonts", "images", "js" 중 하나예시:
"KRDS CSS 파일 경로를 알려줘"
"폰트 리소스 정보를 보여줘"
AI 어시스턴트에게 다음과 같이 요청할 수 있습니다:
컴포넌트 찾기
코드 검증
디자인 토큰
리소스 정보
krds-uiux-mcp-server/
├── src/
│ ├── index.ts # MCP 서버 진입점
│ ├── tools/
│ │ ├── component-search.ts # 컴포넌트 검색 도구
│ │ ├── token-provider.ts # 디자인 토큰 제공 도구
│ │ └── code-validator.ts # 코드 검증 도구
│ ├── services/
│ │ ├── krds-loader.ts # KRDS 패키지 로더
│ │ └── analyzer.ts # 코드 분석기
│ └── types/
│ └── krds.ts # 타입 정의
├── build/ # 빌드 결과물
├── node_modules/
│ └── krds-uiux/ # KRDS 패키지
├── package.json
├── tsconfig.json
└── README.md
npm run build
npm run dev
# MCP Inspector로 테스트
npx @modelcontextprotocol/inspector node build/index.js
KRDS (Korea Responsive Design System)는 대한민국 디지털 정부를 위한 공식 디자인 시스템입니다.
krds-uiux이슈와 풀 리퀘스트는 언제나 환영합니다!
ISC
저장소 준비
git add .
git commit -m "Add smithery.yaml configuration"
git push
Smithery에 등록
npm run build
빌드된 build/index.js 파일을 MCP 클라이언트 설정에서 직접 참조할 수 있습니다.
miapre/html-to-figma-design-system
ie3jp/illustrator-mcp-server
coding-solo/godot-mcp
ivanmurzak/unity-mcp
yctimlin/mcp_excalidraw
figma/mcp-server-guide