MCP 서버 (마이그레이션)
HeroUI v2에서 v3로의 마이그레이션 가이드를 AI 어시스턴트에서 바로 접근할 수 있게 도와주는 MCP 서버 소개예요.
출처: HeroUI
본문
HeroUI Migration MCP Server는 AI 어시스턴트에게 HeroUI v2에서 v3로의 마이그레이션 문서에 직접 접근할 수 있게 해줘요.
Migration MCP 서버는 Streamable HTTP transport(URL 기반)를 사용하며 https://migration-mcp.heroui.com에 배포되어 있어요. 소스 코드는 GitHub에서 볼 수 있어요.
참고: Migration MCP는 마이그레이션 전용이에요. 마이그레이션을 마친 후에는 v3 컴포넌트 개발을 위해 HeroUI React MCP Server로 전환하세요.
빠른 설정 (Quick Setup)
Cursor
Cursor Settings → Tools → MCP Servers나 프로젝트의 .cursor/mcp.json에 추가하세요.
{
"mcpServers": {
"heroui-migration": {
"url": "https://migration-mcp.heroui.com"
}
}
}
자세한 내용은 Cursor 문서를 참고하세요.
Claude Code
프로젝트의 .mcp.json 파일에 추가하세요.
{
"mcpServers": {
"heroui-migration": {
"type": "http",
"url": "https://migration-mcp.heroui.com"
}
}
}
설정을 추가한 후 Claude Code를 재시작하고 /mcp를 실행하면 목록에서 HeroUI Migration MCP 서버를 볼 수 있어요. Connected가 보이면 바로 사용할 수 있어요.
더 자세한 내용은 Claude Code MCP 문서를 참고하세요.
Windsurf
프로젝트의 .windsurf/mcp.json 설정 파일에 Migration MCP 서버를 추가하세요.
{
"mcpServers": {
"heroui-migration": {
"url": "https://migration-mcp.heroui.com"
}
}
}
설정을 추가한 후 Windsurf를 재시작하면 MCP 서버가 활성화돼요.
더 자세한 내용은 Windsurf MCP 문서를 참고하세요.
Zed
settings.json 설정 파일에 Migration MCP 서버를 추가하세요. Command Palette(zed: open settings)로 설정을 열거나 Cmd-,(Mac) / Ctrl-,(Linux)를 사용하세요.
{
"context_servers": {
"heroui-migration": {
"url": "https://migration-mcp.heroui.com"
}
}
}
더 자세한 내용은 Zed MCP 문서를 참고하세요.
VS Code
GitHub Copilot과 함께 VS Code에서 MCP를 설정하려면 프로젝트의 .vscode/mcp.json 설정 파일에 Migration MCP 서버를 추가하세요.
{
"servers": {
"heroui-migration": {
"type": "http",
"url": "https://migration-mcp.heroui.com"
}
}
}
설정을 추가한 후 .vscode/mcp.json을 열고 heroui-migration 서버 옆의 Start를 클릭하세요.
더 자세한 내용은 VS Code MCP 문서를 참고하세요.
Codex
~/.codex/config.toml(또는 프로젝트 범위 .codex/config.toml)에 Migration MCP 서버를 추가하세요.
[mcp_servers.heroui-migration]
url = "https://migration-mcp.heroui.com"
설정을 추가한 후 Codex를 재시작하고 TUI에서 /mcp를 실행해 서버가 활성화되었는지 확인하세요.
더 자세한 내용은 Codex MCP 문서를 참고하세요.
OpenCode
프로젝트의 opencode.json 설정 파일에 Migration MCP 서버를 추가하세요.
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"heroui-migration": {
"type": "remote",
"url": "https://migration-mcp.heroui.com"
}
}
}
설정을 추가한 후 OpenCode를 재시작하면 MCP 서버가 활성화돼요.
더 자세한 내용은 OpenCode MCP 문서를 참고하세요.
사용법 (Usage)
설정이 끝나면 AI 어시스턴트에게 다음과 같은 질문을 해보세요.
- "Help me migrate Button from HeroUI v2 to v3"
- "Get the full migration workflow for my project"
- "What are the Checkbox migration changes?"
- "Show me the migration guide for Card and Modal"
- "Get the styling migration guide"
- "What hooks do I need to migrate?"
사용 가능한 도구 (Available Tools)
Migration MCP 서버는 AI 어시스턴트에게 다음 도구를 제공해요.
| 도구 | 설명 |
|---|---|
get_migration_workflow |
종합 마이그레이션 가이드를 가져와요. 전체 vs 점진적 접근을 위해 migrationType: "full"(기본) 또는 "incremental"을 사용해요 |
list_component_migration_guides |
사용 가능한 모든 39개 컴포넌트 마이그레이션 가이드를 나열해요 |
get_component_migration_guides |
특정 컴포넌트의 마이그레이션 가이드를 가져와요. components: ["button", "card"](kebab-case)를 전달하세요 |
get_styling_migration_guide |
스타일링 마이그레이션 가이드를 가져와요 (유틸리티 클래스, 색상 토큰, CSS 변수) |
get_hooks_migration_guide |
훅 마이그레이션 가이드를 가져와요 (useDisclosure → useOverlayState 등) |
사용 가능한 프롬프트 (Available Prompts)
Migration MCP 서버는 에이전트 채팅에서 슬래시 명령으로 사용할 수 있는 안내 프롬프트를 제공해요.
| 프롬프트 | 설명 |
|---|---|
analyze-and-plan |
프로젝트를 분석해 모든 HeroUI v2 컴포넌트를 식별하고 마이그레이션 계획을 만들어요. 마이그레이션의 첫 단계로 사용하세요. 선택 사항: migrationType: "full"(기본) 또는 "incremental" |
implement-migration |
사용자 승인을 위한 체크포인트와 함께 컴포넌트 마이그레이션을 단계별로 구현해요. 컴포넌트를 마이그레이션하고 의존성을 전환한 다음 훅과 스타일링을 안내해요. 선택 사항: migrationType: "full"(기본) 또는 "incremental" |
워크플로: 먼저 analyze-and-plan을 실행해 마이그레이션 계획을 만들고, 그 다음 implement-migration으로 단계별로 실행하세요.
링크 (Links)
- GitHub Repository
- Discord Community
- Model Context Protocol - MCP에 대해 알아보기