
dekdee/adobe-xd-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
어도비 XD MCP
개요
A Model Context Protocol (MCP) 서버는 Adobe XD 파일과 상호 작용할 수 있으며 디자인 정보를 추출하고 디자인에서 React 구성 요소를 생성합니다. - : artboard, 구성 요소 및 자산을 포함한 XD 파일에서 포괄적 인 정보를 추출하십시오. XD 디자인을 여러 스타일링 옵션으로 React 구성 요소로 변환하십시오. : 다양한 형식 (CSS, JSON, Tailwind)의 색상 팔레트를 추출하십시오. : styled-components, Tailwind CSS 및 CSS 모듈 지원 - : Type-safe React 구성 요소 생성 - Node.js (v16 이상) - npm 또는 원사 - Claude 데스크탑 응용 프로그램 Claude Desktop 구성에 서버를 추가하십시오. 편집: ~/Library/Application Support/Claude/claude desktop config.json 편집: %APPDATA%\Claude\claude desktop config.json : /absolute/path/to/adobe-xd-mcp를 설치 디렉토리에 실제 경로로 바꾸십시오. Claude Desktop 구성 및 재시작 후 다음 명령을 사용할 수 있습니다
개요(AI 번역)
A Model Context Protocol (MCP) 서버는 Adobe XD 파일과 상호 작용할 수 있으며 디자인 정보를 추출하고 디자인에서 React 구성 요소를 생성합니다.
특징
- Document Analysis: artboard, 구성 요소 및 자산을 포함한 XD 파일에서 포괄적 인 정보를 추출 -React Component Generation: 여러 스타일링 옵션으로 React 컴포넌트로 XD 디자인을 변환
- ** 색상 추출 **: 다양한 형식으로 색상 팔레트 추출 (CSS, JSON, Tailwind)
- Multiple Style Systems: 스타일 구성 요소, 테일윈 CSS 및 CSS 모듈 지원
- TypeScript Support: type-safe React 컴포넌트 생성
필수품
- Node.js (v16 이상)
- npm 또는 원사
- Claude 데스크탑 응용
설치
-
저장소를 복제:
-
의존성 설치:
-
서버 구축:
구성
Claude Desktop 구성에 서버를 추가하십시오.
맥 OS
편집: [T0]]
윈도우
편집: %APPDATA%\Claude\claude_desktop_config.json
다음 구성 추가:
Note: 설치 디렉토리에 실제 경로로 /absolute/path/to/adobe-xd-mcp을 대체합니다.
사용법
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Adobe XD MCP Server
A Model Context Protocol (MCP) server that enables Claude to interact with Adobe XD files, extract design information, and generate React components from your designs.
Features
- Document Analysis: Extract comprehensive information from XD files including artboards, components, and assets
- React Component Generation: Convert XD designs to React components with multiple styling options
- Color Extraction: Extract color palettes in various formats (CSS, JSON, Tailwind)
- Multiple Style Systems: Support for styled-components, Tailwind CSS, and CSS modules
- TypeScript Support: Generate type-safe React components
Prerequisites
- Node.js (v16 or higher)
- npm or yarn
- Claude Desktop application
Installation
- Clone the repository:
git clone https://github.com/yourusername/adobe-xd-mcp.git
cd adobe-xd-mcp
- Install dependencies:
npm install
- Build the server:
npm run build
Configuration
Add the server to your Claude Desktop configuration:
macOS
Edit: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows
Edit: %APPDATA%\Claude\claude_desktop_config.json
Add the following configuration:
{
"mcpServers": {
"adobe-xd": {
"command": "node",
"args": ["/absolute/path/to/adobe-xd-mcp/dist/index.js"]
}
}
}
Note: Replace /absolute/path/to/adobe-xd-mcp with the actual path to your installation directory.
Usage
After configuring and restarting Claude Desktop, you can use the following commands:
Get XD Document Information
Ask Claude to analyze your XD file:
"Get information about the XD file at /path/to/your/design.xd"
This returns:
- Document name and dimensions
- List of artboards with sizes
- Components and their element counts
Generate React Components
Convert XD designs to React components:
"Generate a React component from the LoginScreen artboard in /path/to/design.xd"
Options:
artboardName: Specific artboard to convert (optional)componentName: Custom component name (optional)outputDir: Output directory (optional, defaults to ./generated)styleSystem: Choose from “styled-components”, “tailwind”, or “css-modules”typescript: Generate TypeScript components (true/false)
Extract Colors
Extract color palettes from your designs:
"Extract colors from /path/to/design.xd and save as CSS variables"
Options:
format: Output format - “css”, “json”, or “tailwind”outputFile: Save to file instead of displaying output
Examples
Example 1: Generate a TypeScript React component with Tailwind
"Generate a React component from the Header artboard in design.xd using TypeScript and Tailwind CSS"
Example 2: Extract colors as Tailwind config
"Extract colors from design.xd in Tailwind format and save to colors.js"
Example 3: Get overview of all components
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"adobe-xd": {
"command": "node",
"args": ["/absolute/path/to/adobe-xd-mcp/dist/index.js"]
}
}
}