mcp

v1.5.1
@axis-ds/mcp Checked 2 days ago Published 1 month ago

AXIS Design System - MCP Server for AI-assisted component discovery

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

axis.search_components

AXIS 디자인 시스템에서 컴포넌트를 검색합니다.

ParameterTypeDescription
query *string검색어 (컴포넌트 이름, 설명 등)
categorystring컴포넌트 카테고리 필터 (ui = Core UI 전체, agentic = Agentic UI)

axis.get_component

AXIS 디자인 시스템 컴포넌트의 상세 정보를 조회합니다.

ParameterTypeDescription
name *string컴포넌트 이름 (예: button, agentic-run-progress)

axis.list_components

AXIS 디자인 시스템 레지스트리의 컴포넌트 목록(Core UI · Agentic UI)을 조회합니다.

ParameterTypeDescription
categorystring컴포넌트 카테고리 필터 (ui = Core UI 전체, agentic = Agentic UI)

axis.list_tokens

AXIS 디자인 시스템의 디자인 토큰 목록(라이트 · 다크 값, CSS 변수)을 조회합니다. 값은 @axis-ds/tokens 빌드 산출물에서 생성합니다.

ParameterTypeDescription
categorystring토큰 카테고리 필터 (density = 컨트롤 높이 · 글자 크기 등 밀도 토큰, component = 컴포넌트 토큰)

axis.get_token

AXIS 디자인 시스템 토큰의 상세 정보(라이트 · 다크 값, CSS 변수)를 조회합니다. 없는 경로는 isError 로 답합니다.

ParameterTypeDescription
path *string토큰 경로 (예: colors.primary, spacing.4, control.h.md) 또는 CSS 변수 이름 (예: --axis-control-h-md)

axis.install_component

AXIS 레지스트리 컴포넌트를 프로젝트에 설치합니다(cli `axis add` 와 같은 결과). 내용이 다른 기존 파일은 건너뛰고, 의존성은 설치 명령만 안내합니다.

ParameterTypeDescription
targetDir *string프로젝트 루트(이미 있는 디렉터리). axis.config.json 이 있으면 그 배치, 없으면 components/ui · components/agentic
namestring설치할 컴포넌트 이름 (예: button, agentic-run-progress)
namesarray설치할 컴포넌트 이름 여러 개 (name 과 함께 주면 합침)
overwriteboolean내용이 다른 기존 파일을 덮어씀 (기본 false: 건너뛰고 알림)

axis.prompt.detect

세션 컨텍스트에서 재사용 가능한 프롬프트 후보를 탐지합니다.

ParameterTypeDescription
context *string세션 컨텍스트 텍스트
maxCandidatesnumber최대 후보 수 (기본: 5)
minScorenumber최소 점수 기준 (기본: 70)

axis.prompt.analyze

텍스트의 재사용 가능성을 분석하고 구조를 파악합니다.

ParameterTypeDescription
text *string분석할 텍스트

axis.prompt.refine

프로젝트 종속성을 제거하고 범용 프롬프트로 정제합니다.

ParameterTypeDescription
text *string정제할 텍스트
categorystring프롬프트 카테고리
namestring프롬프트 이름 (kebab-case)

axis.prompt.validate

정제된 프롬프트의 품질을 검증합니다.

ParameterTypeDescription
promptText *string검증할 프롬프트 텍스트 (프론트매터 포함)
checkDuplicateboolean중복 검사 활성화 (기본: true)

axis.prompt.save

검증된 프롬프트를 파일로 저장하고 인덱스를 갱신합니다.

ParameterTypeDescription
category *string카테고리
name *string프롬프트 이름 (kebab-case)
promptText *string저장할 프롬프트 텍스트 (프론트매터 포함)
forceboolean강제 저장 (중복 무시, 기본: false)

axis.list_templates

AXIS 디자인 시스템의 템플릿 목록을 조회합니다.

ParameterTypeDescription
categorystring템플릿 카테고리 필터

axis.get_template

AXIS 디자인 시스템 템플릿의 상세 정보를 조회합니다.

ParameterTypeDescription
name *string템플릿 이름 (slug)

axis.apply_template

AXIS 디자인 시스템 템플릿을 프로젝트에 적용합니다.

ParameterTypeDescription
name *string템플릿 이름 (slug)
targetDir *string적용 대상 디렉토리 경로
dryRunboolean미리보기 모드 (파일 미생성, 기본: false)

axis.diff_template

로컬 프로젝트와 원격 템플릿의 파일 차이를 비교합니다.

ParameterTypeDescription
name *string템플릿 이름 (slug)
targetDirstring비교 대상 디렉토리 (기본: 현재 디렉토리)

axis.check_project

프로젝트의 AXIS 디자인 시스템 설정 상태를 검증합니다. 적용한 템플릿의 규칙 검사 포함(읽기 전용, 스크립트 실행 안 함).

ParameterTypeDescription
targetDirstring검증 대상 디렉토리 (기본: 현재 디렉토리)

axis.list_brands

대상 프로젝트에 설치된 @axis-ds/tokens 의 브랜드 목록(이름 · 설명 · 테마 · import 경로)을 조회합니다.

ParameterTypeDescription
targetDirstring대상 프로젝트 디렉토리 (기본: 현재 디렉토리)

axis.get_brand

브랜드 하나의 import 경로 · 브랜드 켜기 예시(<html data-brand> · ThemeProvider setBrand) · 주요 토큰 · 보정 내역을 조회합니다.

ParameterTypeDescription
name *string브랜드 이름 (예: ontology)
targetDirstring대상 프로젝트 디렉토리 (기본: 현재 디렉토리)